4 char* file=
"R6020035.lis",
7 inDir=
"/star/data05/scratch/eemcdb/muDst/2005/034/";
8 file=
"st_physics_6034014_raw_1020001.MuDst.root";
9 gROOT->LoadMacro(
"$STAR/StRoot/StMuDSTMaker/COMMON/macros/loadSharedLibraries.C");
10 loadSharedLibraries();
11 cout <<
" loading done " << endl;
16 printf(
"adding muDst from '%s' ....\n",file);
18 muMk =
new StMuDstMaker(0,0,inDir,file,
"MuDst.root",nFiles);
20 int nEntries=tree->GetEntries();
21 printf(
"total eve in chain =%d\n",nEntries);
22 printf(
"in=%s%s=\n",inDir,file);
32 printf(
"All Ezt-branches set\n");
38 if(eventCounter>=nEve)
break;
48 printf(
"\n\n ====================%d processing ==============\n", eventCounter);
54 int tMinB=muMk->
muDst()->
event()->triggerIdCollection().nominal().isTrigger(66007);
55 int tEHT10=muMk->
muDst()->
event()->triggerIdCollection().nominal().isTrigger(66210);
56 printf(
"trig: minB=%d EHT10=%d\n",tMinB,tEHT10);
59 printf(
"sorting done, nEve=%d of %d\n",nEve, nEntries);
TTree * tree()
Returns pointer to the current TTree, the top level io structure that holds the event, track, v0, etc. information in branches of that tree.
StMuDstMaker(const char *name="MuDst")
Default constructor.
static EztEmcRawData * eztESmd()
returns pointer to eztESmd +pre/post
static EztTrigBlob * eztTrig()
returns pointer to eztTrig
static EztEventHeader * eztHeader()
returns pointer to eztHeader
static EztEmcRawData * eztETow()
returns pointer to ETOW
static StMuEvent * event()
returns pointer to current StMuEvent (class holding the event wise information, e.g. event number, run number)
TChain * chain()
In read mode, returns pointer to the chain of .MuDst.root files that where selected.
void SetStatus(const char *arrType, int status)