9 void StEventReadTest(
const Char_t *file=
"/star/data16/reco/dAuMinBias/ReversedFullField/P03ia/2003/019/st_physics_4019019_raw_0040020.event.root")
12 gSystem->Load(
"libTable");
13 gSystem->Load(
"libPhysics");
14 gSystem->Load(
"St_base");
15 gSystem->Load(
"StChain");
16 gSystem->Load(
"St_Tables");
17 gSystem->Load(
"StUtilities");
18 gSystem->Load(
"StTreeMaker");
19 gSystem->Load(
"StIOMaker");
20 gSystem->Load(
"StarClassLibrary");
21 gSystem->Load(
"StTriggerDataMaker");
22 gSystem->Load(
"StBichsel");
23 gSystem->Load(
"StEvent");
24 gSystem->Load(
"StEventUtilities");
25 gSystem->Load(
"StEmcUtil");
26 gSystem->Load(
"StPreEclMaker");
27 gSystem->Load(
"StStrangeMuDstMaker");
28 gSystem->Load(
"StMuDSTMaker");
29 cout <<
" loading of shared libraries done" << endl;
35 setFiles->AddFile(file);
49 ioMaker->SetBranch(
"*",0,
"0");
50 ioMaker->SetBranch(
"eventBranch",0,
"r");
51 ioMaker->SetBranch(
"emcBranch",0,
"r");
52 ioMaker->SetBranch(
"runcoBranch",0,
"r");
61 while (iret==0 && iev++ <10) {
62 cout <<
"StExample -- Working on eventNumber " << iev++ << endl;
64 iret = chain->
Make(iev);
68 cout <<
" End of Analysis " << endl;
virtual void SetIOMode(Option_t *iomode="w")
number of transactions
virtual void Clear(Option_t *option="")
User defined functions.