9 void RunFmsTrigOverData(
int nevents = 1000,
const char* mudstfile =
"/star/data27/reco/pp500_production_2011/ReversedFullField/P11id/2011/056/12056013/st_physics_12056013_raw_5020002.MuDst.root")
12 gROOT->Macro(
"loadMuDst.C");
13 gROOT->Macro(
"LoadLogger.C");
14 gSystem->Load(
"StDbBroker");
15 gSystem->Load(
"St_db_Maker");
16 gSystem->Load(
"StEEmcUtil");
17 gSystem->Load(
"StFmsTriggerMaker");
36 for (
int iEvent = 1; iEvent <= nevents; ++iEvent) {
38 int status = chain->
Make(iEvent);
39 if (status ==
kStSkip)
continue;
43 if (fmstrig->FmsDijet()) {
44 printf(
"Run=%d Event=%d - Got FMS dijet trigger\n",chain->
GetRunNumber(),chain->GetEventNumber());
virtual void Clear(Option_t *option="")
User defined functions.
virtual Int_t GetRunNumber() const
Returns the current RunNumber.