100 void StMcEventReadMacro(Int_t nevents=1,
101 const char *MainFile=
"/star/rcf/test/new/trs_sl302.ittf/year_2005/cucu200_minbias/rcf1216_05_200evts.geant.root") {
102 gROOT->LoadMacro(
"bfc.C");
103 bfc(-1,
"in,McEvent,nodefault",MainFile);
108 IOMk->SetBranch(
"*",0,
"0");
109 IOMk->SetBranch(
"geantBranch",0,
"r");
110 IOMk->SetBranch(
"dstBranch",0,
"r");
113 mcEventReader->doPrintEventInfo =
true;
115 mcEventReader->doUseTpc =
true;
116 mcEventReader->doUseSvt =
true;
117 mcEventReader->doUseSsd =
true;
118 mcEventReader->doUseFtpc =
true;
119 mcEventReader->doUseRich =
true;
120 mcEventReader->doUseBemc =
true;
121 mcEventReader->doUseBsmd =
true;
122 mcEventReader->doUseIst =
true;
123 mcEventReader->doUseFst =
true;
124 mcEventReader->doUseFgt =
true;
125 mcEventReader->doUseIgt =
true;
128 Int_t initStat = chain->Init();
129 if (initStat) chain->Fatal(initStat,
"during Init()");
130 chain->EventLoop(1,nevents);
virtual void SetIOMode(Option_t *iomode="w")
number of transactions
Filling of all StMcEvent classes from g2t tables Transform all the data in the g2t tables into the co...
Bool_t doPrintMemoryInfo
lots of screen output