7 void RunJetFinder2009(
int nevents = 1e6,
8 const char* mudstfile =
"/star/data60/reco/production2009_200Gev_Single/ReversedFullField/P10ic/2009/143/10143008/st_physics_10143008_raw_6020001.MuDst.root",
9 const char* jetfile =
"st_physics_10143008_raw_6020001.jets.root",
10 const char* skimfile =
"st_physics_10143008_raw_6020001.skim.root",
13 cout <<
"Read MuDst file:\t" << mudstfile << endl;
14 cout <<
"Write jet file:\t" << jetfile << endl;
15 cout <<
"Write skim file:\t" << skimfile << endl;
17 gROOT->Macro(
"loadMuDst.C");
18 gROOT->Macro(
"LoadLogger.C");
20 gSystem->Load(
"StTpcDb");
21 gSystem->Load(
"StDetectorDbMaker");
22 gSystem->Load(
"StDbUtilities");
23 gSystem->Load(
"StMcEvent");
24 gSystem->Load(
"StMcEventMaker");
25 gSystem->Load(
"StDaqLib");
26 gSystem->Load(
"StEmcRawMaker");
27 gSystem->Load(
"StEmcADCtoEMaker");
28 gSystem->Load(
"StEpcMaker");
29 gSystem->Load(
"StEmcSimulatorMaker");
30 gSystem->Load(
"StDbBroker");
31 gSystem->Load(
"St_db_Maker");
32 gSystem->Load(
"StEEmcUtil");
33 gSystem->Load(
"StEEmcDbMaker");
34 gSystem->Load(
"StSpinDbMaker");
35 gSystem->Load(
"StEmcTriggerMaker");
36 gSystem->Load(
"StTriggerUtilities");
37 gSystem->Load(
"StMCAsymMaker");
38 gSystem->Load(
"StRandomSelector");
39 gSystem->Load(
"libfastjet.so");
40 gSystem->Load(
"StJetFinder");
41 gSystem->Load(
"StJetSkimEvent");
42 gSystem->Load(
"StJets");
43 gSystem->Load(
"StJetEvent");
44 gSystem->Load(
"StJetMaker");
45 gSystem->Load(
"StTriggerFilterMaker");
59 filterMaker->addTrigger(230410);
60 filterMaker->addTrigger(230411);
61 filterMaker->addTrigger(230420);
66 filterMaker->addTrigger(240530);
68 filterMaker->addTrigger(240620);
70 filterMaker->addTrigger(240630);
71 filterMaker->addTrigger(240631);
73 filterMaker->addTrigger(240650);
74 filterMaker->addTrigger(240651);
75 filterMaker->addTrigger(240652);
77 filterMaker->addTrigger(240410);
78 filterMaker->addTrigger(240411);
80 filterMaker->addTrigger(240641);
83 filterMaker->addTrigger(240010);
84 filterMaker->addTrigger(240110);
85 filterMaker->addTrigger(240120);
86 filterMaker->addTrigger(240220);
88 filterMaker->addTrigger(240011);
89 filterMaker->addTrigger(240111);
90 filterMaker->addTrigger(240121);
91 filterMaker->addTrigger(240221);
93 filterMaker->addTrigger(240012);
94 filterMaker->addTrigger(240112);
95 filterMaker->addTrigger(240122);
96 filterMaker->addTrigger(240222);
98 filterMaker->addTrigger(240013);
99 filterMaker->addTrigger(240113);
100 filterMaker->addTrigger(240123);
101 filterMaker->addTrigger(240223);
103 filterMaker->addTrigger(240014);
104 filterMaker->addTrigger(240114);
105 filterMaker->addTrigger(240124);
106 filterMaker->addTrigger(240224);
108 filterMaker->addTrigger(240015);
109 filterMaker->addTrigger(240115);
110 filterMaker->addTrigger(240125);
111 filterMaker->addTrigger(240225);
113 filterMaker->addTrigger(240020);
114 filterMaker->addTrigger(240025);
130 simuTrig->setMC(
false);
135 simuTrig->bemc->setConfig(StBemcTriggerSimu::kOffline);
141 simL2Mk->setSetupPath(
"/star/u/pibero/public/StarTrigSimuSetup/");
142 simL2Mk->setOutPath(
"./");
143 simuTrig->useL2(simL2Mk);
151 bool doTowerSwapFix =
true;
153 bet4pMaker->setUseTPC(
true);
154 bet4pMaker->setUseBEMC(
true);
155 bet4pMaker->setUseEndcap(
true);
156 bet4pMaker->setUse2003Cuts(
false);
157 bet4pMaker->setUse2005Cuts(
false);
158 bet4pMaker->setUse2006Cuts(
true);
170 anapars->setFlagMin(0);
171 anapars->setCutPtMin(0.2);
172 anapars->setAbsEtaMax(2.5);
173 anapars->setJetPtMin(5.0);
174 anapars->setJetEtaMax(100.0);
175 anapars->setJetEtaMin(0);
176 anapars->setJetNmin(0);
190 jetMaker->addAnalyzer(anapars,cpars,bet4pMaker,
"ConeJets12");
192 anapars->setNhits(5);
193 jetMaker->addAnalyzer(anapars,cpars,bet4pMaker,
"ConeJets5");
195 anapars->setNhits(1000000);
196 jetMaker->addAnalyzer(anapars,cpars,bet4pMaker,
"ConeJetsEMC");
199 chain->EventLoop(nevents);
void setAddMidpoints(bool v)
Add seeds at midpoints?
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.
void setSeedEtMin(double v)
minimum et threshold to be considered a seed
void setAssocEtMin(double v)
minimum et threshold to be considered for addition to the seed
void setRequireStableMidpoints(bool v)
Require stable midpoints?
void setPerformMinimization(bool v)
Let jet wander to minimum?