7 void RunJetFinder2009sim(
int nevents = 1e6,
8 const char* mudstfile =
"/star/data47/reco/pp200/pythia6_410/15_25gev/cdf_a/y2006c/gheisha_on/p07ic/rcf1307_01_2000evts.MuDst.root",
9 const char* geantfile =
"/star/data47/reco/pp200/pythia6_410/15_25gev/cdf_a/y2006c/gheisha_on/p07ic/rcf1307_01_2000evts.geant.root",
10 const char* jetfile =
"rcf1307_01_2000evts.jets.root",
11 const char* skimfile =
"rcf1307_01_2000evts.skim.root",
14 cout <<
"Read MuDst file:\t" << mudstfile << endl;
15 cout <<
"Read geant file:\t" << geantfile << endl;
16 cout <<
"Write jet file:\t" << jetfile << endl;
17 cout <<
"Write skim file:\t" << skimfile << endl;
19 gROOT->Macro(
"loadMuDst.C");
20 gROOT->Macro(
"LoadLogger.C");
22 gSystem->Load(
"StDetectorDbMaker");
23 gSystem->Load(
"StTpcDb");
24 gSystem->Load(
"StDbUtilities");
25 gSystem->Load(
"StMcEvent");
26 gSystem->Load(
"StMcEventMaker");
27 gSystem->Load(
"StDaqLib");
28 gSystem->Load(
"StEmcRawMaker");
29 gSystem->Load(
"StEmcADCtoEMaker");
30 gSystem->Load(
"StPreEclMaker");
31 gSystem->Load(
"StEmcSimulatorMaker");
32 gSystem->Load(
"StDbBroker");
33 gSystem->Load(
"St_db_Maker");
34 gSystem->Load(
"StEEmcUtil");
35 gSystem->Load(
"StEEmcDbMaker");
36 gSystem->Load(
"StSpinDbMaker");
37 gSystem->Load(
"StEmcTriggerMaker");
38 gSystem->Load(
"StTriggerUtilities");
39 gSystem->Load(
"StMCAsymMaker");
40 gSystem->Load(
"StRandomSelector");
41 gSystem->Load(
"libfastjet.so");
42 gSystem->Load(
"libCDFConesPlugin.so");
43 gSystem->Load(
"libEECambridgePlugin.so");
44 gSystem->Load(
"libJadePlugin.so");
45 gSystem->Load(
"libNestedDefsPlugin.so");
46 gSystem->Load(
"libSISConePlugin.so");
47 gSystem->Load(
"StJetFinder");
48 gSystem->Load(
"StJetSkimEvent");
49 gSystem->Load(
"StJets");
50 gSystem->Load(
"StJetEvent");
51 gSystem->Load(
"StJetMaker");
52 gSystem->Load(
"StEEmcSimulatorMaker");
59 ioMaker->SetFile(geantfile);
61 ioMaker->SetBranch(
"*",0,
"0");
62 ioMaker->SetBranch(
"geantBranch",0,
"r");
66 mcEventMaker->doPrintEventInfo =
false;
77 starDb->SetDateTime(20090628,53220);
108 simL2Mk->setSetupPath(
"/star/institutions/mit/corliss/L2setup/");
109 simL2Mk->setOutPath(
"./");
113 simuTrig->setMC(
true);
117 simuTrig->bemc->setConfig(StBemcTriggerSimu::kOffline);
118 if (useL2) simuTrig->useL2(simL2Mk);
125 skimEventMaker->addSimuTrigger(240530);
126 skimEventMaker->addSimuTrigger(240652);
127 skimEventMaker->addSimuTrigger(240411);
131 skimEventMaker->addSimuTrigger(127611);
132 skimEventMaker->addSimuTrigger(137611);
133 skimEventMaker->addSimuTrigger(5);
134 skimEventMaker->addSimuTrigger(127821);
135 skimEventMaker->addSimuTrigger(137821);
136 skimEventMaker->addSimuTrigger(137822);
137 skimEventMaker->addSimuTrigger(127212);
138 skimEventMaker->addSimuTrigger(137213);
139 skimEventMaker->addSimuTrigger(127501);
140 skimEventMaker->addSimuTrigger(137501);
141 skimEventMaker->addSimuTrigger(127622);
142 skimEventMaker->addSimuTrigger(137622);
143 skimEventMaker->addSimuTrigger(127221);
144 skimEventMaker->addSimuTrigger(137221);
145 skimEventMaker->addSimuTrigger(137222);
150 jetmaker->setJetFile(jetfile);
156 anapars12_100->useTpc =
true;
157 anapars12_100->useBemc =
true;
158 anapars12_100->useEemc =
true;
159 anapars12_100->randomSelectorProb = 1.00;
197 anapars12_093->useTpc =
true;
198 anapars12_093->useBemc =
true;
199 anapars12_093->useEemc =
true;
200 anapars12_093->randomSelectorProb = 0.93;
238 anapars5->useTpc =
true;
239 anapars5->useBemc =
true;
240 anapars5->useEemc =
true;
241 anapars5->randomSelectorProb = 0.93;
278 anaparsEMC->useTpc =
true;
279 anaparsEMC->useBemc =
true;
280 anaparsEMC->useEemc =
true;
304 anaparsParticle->useMonteCarlo =
true;
317 anaparsParton->useMonteCarlo =
true;
328 conepars->
setGridSpacing(105,-3.0,3.0,120,-TMath::Pi(),TMath::Pi());
341 jetmaker->addBranch(
"ConeJets12_100",anapars12_100,conepars);
342 jetmaker->addBranch(
"ConeJets12_093",anapars12_093,conepars);
343 jetmaker->addBranch(
"ConeJets5",anapars5,conepars);
344 jetmaker->addBranch(
"ConeJetsEMC",anaparsEMC,conepars);
345 jetmaker->addBranch(
"ParticleConeJets",anaparsParticle,conepars);
346 jetmaker->addBranch(
"PartonConeJets",anaparsParton,conepars);
351 chain->EventLoop(nevents);
void setConeRadius(double v)
Set cone radius:
void setSamplingFraction(Float_t f)
Changes the sampling fraction from the default in the fast simulator.
void setAddMidpoints(bool v)
Add seeds at midpoints?
void setDoZeroSuppression(StDetectorId det, bool flag)
virtual void SetIOMode(Option_t *iomode="w")
number of transactions
void setAddPed(Bool_t a=true)
Add pedestal offsets from DB.
void setCheckStatus(StDetectorId det, bool flag)
void setSplitFraction(double v)
split jets if E_shared/E_neighbor>splitFraction
void setGridSpacing(int nEta, double etaMin, double etaMax, int nPhi, double phiMin, double phiMax)
Set the grid spacing:
void setDoSplitMerge(bool v)
Do Split/Merge step?
void setDebug(bool v)
Toggle debug streams on/off.
Filling of all StMcEvent classes from g2t tables Transform all the data in the g2t tables into the co...
void setSeedEtMin(double v)
minimum et threshold to be considered a seed
Bool_t doPrintMemoryInfo
lots of screen output
void setAssocEtMin(double v)
minimum et threshold to be considered for addition to the seed
void useOnlineDB()
Choose DB to access trigger definitions and thresholds.
void setSmearPed(Bool_t s=true)
Smear the pedestal with sigma from DB.
void setRequireStableMidpoints(bool v)
Require stable midpoints?
void setMakeFullDetector(StDetectorId det, bool flag)
simulate pedestal noise where no MC hits are found. Default is true for BTOW, false otherwise...
void saveAllStEvent(Bool_t a)
Set to kTRUE if all hits are to be saved on StEvent.
void setCalibSpread(StDetectorId det, float spread)
smear simulator calibration coefficients using Gaussian with this RMS.
void setPerformMinimization(bool v)
Let jet wander to minimum?