9 void RunFmsTrigOverSimu(
int nevents = 1000,
const char* mudstfile =
"test.MuDst.root",
const char* geantfile =
"test.geant.root")
12 gROOT->Macro(
"loadMuDst.C");
13 gROOT->Macro(
"LoadLogger.C");
14 gSystem->Load(
"StDbBroker");
15 gSystem->Load(
"St_db_Maker");
16 gSystem->Load(
"StFmsDbMaker");
17 gSystem->Load(
"StMcEvent");
18 gSystem->Load(
"StMcEventMaker");
19 gSystem->Load(
"StEEmcUtil");
20 gSystem->Load(
"StFmsSimulatorMaker");
21 gSystem->Load(
"StFmsTriggerMaker");
31 stardb->SetDateTime(20110417,193427);
38 ioMaker->SetFile(geantfile);
40 ioMaker->SetBranch(
"*",0,
"0");
41 ioMaker->SetBranch(
"geantBranch",0,
"r");
45 mcEventMaker->doPrintEventInfo =
false;
53 fmstrig->useStEvent();
59 for (
int iEvent = 1; iEvent <= nevents; ++iEvent) {
61 int status = chain->
Make(iEvent);
62 if (status ==
kStSkip)
continue;
66 if (fmstrig->FmsDijet()) {
67 printf(
"Run=%d Event=%d - Got FMS dijet trigger\n",chain->
GetRunNumber(),chain->GetEventNumber());
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...
Bool_t doPrintMemoryInfo
lots of screen output
virtual Int_t GetRunNumber() const
Returns the current RunNumber.