6 void DoTrigSimu(Int_t nevents=5,
char *fname=
"minb200-10k.event.root")
8 char *fname=
"st_physics_4095050_raw_0010002.event.root";
12 gSystem->Load(
"St_base");
13 gSystem->Load(
"StChain");
14 gSystem->Load(
"libglobal_Tables");
15 gSystem->Load(
"libsim_Tables");
16 gSystem->Load(
"libgen_Tables");
17 gSystem->Load(
"St_Tables");
18 gSystem->Load(
"StDbLib");
19 gSystem->Load(
"StDbBroker");
20 gSystem->Load(
"St_db_Maker");
21 gSystem->Load(
"StUtilities");
22 gSystem->Load(
"StIOMaker");
23 gSystem->Load(
"StMagF");
24 gSystem->Load(
"StarClassLibrary");
25 gSystem->Load(
"StAnalysisUtilities");
26 gSystem->Load(
"StEvent");
27 gSystem->Load(
"StTpcDb");
28 gSystem->Load(
"StEventMaker");
29 gSystem->Load(
"StMcEvent");
30 gSystem->Load(
"StMcEventMaker");
31 gSystem->Load(
"libgeometry_Tables");
32 gSystem->Load(
"StEmcUtil");
35 gSystem->Load(
"StEEmcDbMaker");
36 gSystem->Load(
"StEEmcUtil");
37 gSystem->Load(
"StEEmcSimulatorMaker");
48 ioMaker->SetFile(fname);
51 ioMaker->SetBranch(
"*",0,
"0");
52 ioMaker->SetBranch(
"geantBranch",0,
"r");
53 ioMaker->SetBranch(
"eventBranch",0,
"r");
66 Int_t initStat = chain->Init();
67 if (initStat) chain->Fatal(initStat,
"during Init()");
73 if (iev<=nevents && istat!=2)
76 cout <<
"---------------------- Processing Event : " << iev <<
" ----------------------" << endl;
77 istat = chain->
Make(iev);
78 if (istat == 2) { cout <<
"Last Event Processed. Status = " << istat << endl; }
79 if (istat == 3) { cout <<
"Error Event Processed. Status = " << istat << endl; }
93 printf(
"\n\n============== and of fill for EEMC FEE tree=========\n\n");
virtual void SetIOMode(Option_t *iomode="w")
number of transactions
virtual void Clear(Option_t *option="")
User defined functions.
Filling of all StMcEvent classes from g2t tables Transform all the data in the g2t tables into the co...
virtual void ls(Option_t *option="") const