20 void bfcSpin2005(
int nevents = 100,
21 const char* chainopt =
"trs fss y2005h Idst IAna l0 tpcI fcf ftpc Tree logger ITTF Sti VFPPV NoSvtIt NoSsdIt bbcSim tofsim tags emcY2 EEfs evout IdTruth geantout big fzin MiniMcMk eemcDb beamLine clearmem sdt20050727",
22 const char* fzfile =
"rcf10100_1_100evts.fzd")
24 gROOT->LoadMacro(
"bfc.C");
25 bfc(-1,chainopt,fzfile);
39 eefs->UseFullTower(
true);
45 chain->AddAfter(
"eefs",chain->GetMaker(
"tpcChain"));
49 gSystem->Load(
"StJetSkimEvent");
50 gSystem->Load(
"StBfcTriggerFilterMaker");
53 TString pyfile = gSystem->BaseName(fzfile);
54 pyfile.ReplaceAll(
".fzd",
".pythia.root");
55 pythia->SetPythiaFile(pyfile);
56 chain->AddAfter(
"geant",pythia);
59 gSystem->Load(
"StEmcTriggerMaker");
63 trgfilt->addTrigger(96201);
64 trgfilt->addTrigger(96211);
65 trgfilt->addTrigger(96221);
66 trgfilt->addTrigger(96233);
67 chain->AddAfter(
"eefs",trgfilt);
68 chain->AddAfter(
"eefs",emctrig);
71 int istat = chain->Init();
73 cout <<
"Chain initialization failed" << endl;
74 chain->Fatal(istat,
"during Init()");
78 cout <<
"Order of makers in BFC:" << endl;
79 StMaker::lsMakers(chain);
80 chain->EventLoop(nevents);