7 void StEztMaker(
const Int_t nevents=100,
8 const Char_t *path=
"/star/data44/reco/ppMinBias/ReversedFullField/P04ij/2004/112/",
9 const Char_t *file=
"st_physics_5112018_raw_1020002.event.root",
10 const Char_t* outDir=
"./",
11 const Char_t* outFile=
"dummy",
12 const Char_t* appendix=
"test.microDst")
16 const char *fileListQQ[]={0,0};
20 fileListQQ[0] = gSystem->ConcatFileName(path,file);
22 StEztMaker(nevents,fileListQQ,outDir,outFile);
26 void StEztMaker(
const Int_t nevents,
const Char_t **fileList,
const Char_t* dirName,
const Char_t* fileName)
28 gROOT->Macro(
"$STAR/StRoot/StMuDSTMaker/COMMON/macros/loadSharedLibraries.C");
35 for (
int ifil=0; fileList[ifil]; ifil++)
36 setFiles->AddFile(fileList[ifil]);
51 ioMaker->SetBranch(
"*",0,
"0");
52 ioMaker->SetBranch(
"eventBranch",0,
"r");
53 ioMaker->SetBranch(
"emcBranch",0,
"r");
54 ioMaker->SetBranch(
"runcoBranch",0,
"r");
76 for (Int_t iev=0;iev<nevents; iev++) {
77 cout <<
"StEztMaker -- Working on eventNumber " << iev << endl;
79 int iret = chain->
Make(iev);
81 cout <<
"Bad return code!" << endl;
87 cout <<
" End of Analysis " << endl;
virtual void SetIOMode(Option_t *iomode="w")
number of transactions
void setProbabilityPidFile(const char *file=NULL)
Set the file from where the PID probability tables should be read.
virtual void Clear(Option_t *option="")
User defined functions.
static void setLevel(unsigned int level)
sets the debug level
void SetStatus(const char *arrType, int status)