20 void bfcSpin(
int nevents = 2000,
21 const char* chainopt =
"tpcrs fss y2009a IAna tpcI fcf ftpc Tree logger ITTF Sti VFPPV bbcSim tofsim tags emcY2 EEfs evout -dstout IdTruth geantout big fzin MiniMcMk clearmem eemcDb beamLine sdt20090628.053220",
22 const char* fzfile =
"/star/u/mattheww/vmstuff/filterprep/TriggerFilter/testC8__27721041.fzd")
24 gROOT->LoadMacro(
"bfc.C");
25 bfc(-1,chainopt,fzfile);
45 eefs->UseFullTower(
true);
51 chain->AddAfter(
"eefs",chain->GetMaker(
"tpcChain"));
55 gSystem->Load(
"StJetSkimEvent");
56 gSystem->Load(
"StBfcTriggerFilterMaker");
59 TString pyfile = gSystem->BaseName(fzfile);
60 pyfile.ReplaceAll(
".fzd",
".pythia.root");
61 pythia->SetPythiaFile(pyfile);
62 chain->AddAfter(
"geant",pythia);
65 gSystem->Load(
"StTriggerUtilities");
72 trgsim->bemc->setConfig(StBemcTriggerSimu::kOffline);
76 gSystem->Load(
"StMCAsymMaker");
85 trgfilt->changeJPThresh(-1);
86 chain->AddAfter(
"eefs",trgfilt);
88 chain->AddAfter(
"eefs",trgsim);
95 chain->AddAfter(
"eefs",slowSim);
98 int istat = chain->Init();
100 cout <<
"Chain initialization failed" << endl;
101 chain->Fatal(istat,
"during Init()");
105 cout <<
"Order of makers in BFC:" << endl;
106 StMaker::lsMakers(chain);
107 chain->EventLoop(nevents);
void setDoZeroSuppression(StDetectorId det, bool flag)
void setAddPed(Bool_t a=true)
Add pedestal offsets from DB.
void setCheckStatus(StDetectorId det, bool flag)
virtual void setSource(const char *source)
Options are: "MuDst", "StEvent".
void setSmearPed(Bool_t s=true)
Smear the pedestal with sigma from DB.
void setMakeFullDetector(StDetectorId det, bool flag)
simulate pedestal noise where no MC hits are found. Default is true for BTOW, false otherwise...
void setSource(const Char_t *name)
Set the source of ADC. Can be "MuDst" (default) or "StEvent".