2 void RunTrackMate(Int_t nevents=999,
5 const char *eventFile1=
"/star/data07/calib/fisyak/ITTF/Tests/tpt.NoEst/productionHigh_FullField/st_physics_5050060_raw_1010010.event.root",
6 const char *eventFile2=
"/star/data07/calib/fisyak/ITTF/Tests/ittf.noSvt/productionHigh_FullField/st_physics_5050060_raw_1010010.event.root",
7 const char* fileIndex=
"TEST",
8 const char* outDir=
".")
11 gROOT->LoadMacro(
"bfc.C");
12 TString Chain(
"in,StEvent,nodefault");
13 bfc(-2,Chain.Data(),0,0,0);
14 gSystem->Load(
"StTrackMateMaker");
15 cout <<
"Job will run on File: " << eventFile1 << endl;
16 cout <<
"Corresponding ITTF File: " << eventFile2 << endl;
30 goodStuff->SetFileIndex(fileIndex);
31 goodStuff->SetOutDir(outDir);
36 Int_t initStat = chain->Init();
37 if (initStat) chain->Fatal(initStat,
"during Init()");
38 if (nevents > 0) chain->EventLoop(1,nevents);