BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
embed.C
Go to the documentation of this file.
1#include <Rtypes.h>
2
3R__ADD_INCLUDE_PATH($VMCWORKDIR)
4#include "macro/run/bmnloadlibs.C"
5
6/* Arguments to be passed:
7 * @storePath is a directory filled with data produced by $VMCWORKDIR/macro/embedding/passLambdasToSimulations.C
8 * @data is a raw data file (see BM@N wiki how to get)
9 * @reco is a file with a revision of dst-files (after reco).
10 * @out is a resulting file with embedded info. The name must contain "digi" as a part
11 */
12
13void embed(Int_t nEvents, TString storePath = "", TString data = "", TString reco = "", TString out = "")
14{
15
16 BmnLambdaEmbedding* emb = new BmnLambdaEmbedding(data, "", reco, out, nEvents);
17 emb->SetStorePath(storePath);
18
19 emb->Embedding();
20
21 delete emb;
22}
int Int_t
#define R__ADD_INCLUDE_PATH(PATH)
void SetStorePath(TString store_path)
void embed(Int_t nEvents, TString storePath="", TString data="", TString reco="", TString out="")
Definition embed.C:13