BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
pass.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 * nEvents is a desirable number of exp. events to be processed when embedding ...
8 * @lambdas is a file obtained with the $VMCWORKDIR/macro/embedding/selectLambdas.C macro
9 * @givenEntryInStore means a store from @lambdas to be processed, -1 means all set of data to be used
10 * @outPath is a directory to be used as a storage for MC-info with lambdas passed through the detector
11 * @reco is a file with a revision of dst-files (after reco). It is used to get events with primary vertices
12 * satisfied some conditions and subsequently to be used for embedding
13 * A set of dst-files can be got from the NICA cluster at
14 * /eos/nica/bmn/users/batyuk/bmnDst_InnTracker+tof400+csc+tof700+dch/linksToData/
15 */
16
17void pass(Int_t nEvents, TString lambdas = "", Int_t givenEntryInStore = -1, TString outPath = "", TString reco = "")
18{
19
20 BmnLambdaEmbedding* emb = new BmnLambdaEmbedding("", "", reco, "", nEvents, lambdas);
21 emb->SetStoreToProcess(givenEntryInStore);
22 emb->SetStorePath(outPath);
23
24 emb->Embedding();
25
26 delete emb;
27}
int Int_t
#define R__ADD_INCLUDE_PATH(PATH)
void SetStoreToProcess(Int_t storeNumber)
void SetStorePath(TString store_path)
void pass(Int_t nEvents, TString lambdas="", Int_t givenEntryInStore=-1, TString outPath="", TString reco="")
Definition pass.C:17