BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
embed.C
Go to the documentation of this file.
1
#include <
Rtypes.h
>
2
3
R__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
13
void
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_t
int Int_t
Rtypes.h
R__ADD_INCLUDE_PATH
#define R__ADD_INCLUDE_PATH(PATH)
BmnLambdaEmbedding
Definition
BmnLambdaEmbedding.h:138
BmnLambdaEmbedding::Embedding
void Embedding()
Definition
BmnLambdaEmbedding.cxx:197
BmnLambdaEmbedding::SetStorePath
void SetStorePath(TString store_path)
Definition
BmnLambdaEmbedding.h:149
TString
embed
void embed(Int_t nEvents, TString storePath="", TString data="", TString reco="", TString out="")
Definition
embed.C:13
install
macro
embedding
embed.C
Generated on
for BmnRoot by
1.17.0