7 void RunJetFinder2009pro(
int nevents = 1e7,
8 const char* mudstfile =
"/star/data65/reco/production2009_200Gev_Single/FullField/P11id/2009/150/10150053/st_physics_10150053_raw_4030003.MuDst.root",
9 const char* jetfile =
"jets.root",
10 const char* skimfile =
"skim.root",
13 cout <<
"mudstfile = " << mudstfile << endl;
14 cout <<
"jetfile = " << jetfile << endl;
15 cout <<
"skimfile = " << skimfile << endl;
17 gROOT->Macro(
"loadMuDst.C");
18 gROOT->Macro(
"LoadLogger.C");
20 gSystem->Load(
"StDetectorDbMaker");
21 gSystem->Load(
"StTpcDb");
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(
"libCDFConesPlugin.so");
41 gSystem->Load(
"libEECambridgePlugin.so");
42 gSystem->Load(
"libJadePlugin.so");
43 gSystem->Load(
"libNestedDefsPlugin.so");
44 gSystem->Load(
"libSISConePlugin.so");
45 gSystem->Load(
"StJetFinder");
46 gSystem->Load(
"StJetSkimEvent");
47 gSystem->Load(
"StJets");
48 gSystem->Load(
"StJetEvent");
49 gSystem->Load(
"StJetMaker");
50 gSystem->Load(
"StTriggerFilterMaker");
64 filterMaker->addTrigger(230410);
65 filterMaker->addTrigger(230411);
66 filterMaker->addTrigger(230420);
67 filterMaker->addTrigger(230531);
72 filterMaker->addTrigger(240650);
73 filterMaker->addTrigger(240651);
74 filterMaker->addTrigger(240652);
76 filterMaker->addTrigger(240410);
77 filterMaker->addTrigger(240411);
79 filterMaker->addTrigger(240620);
81 filterMaker->addTrigger(240630);
82 filterMaker->addTrigger(240631);
84 filterMaker->addTrigger(240530);
86 filterMaker->addTrigger(240013);
87 filterMaker->addTrigger(240113);
88 filterMaker->addTrigger(240123);
89 filterMaker->addTrigger(240223);
91 filterMaker->addTrigger(240014);
92 filterMaker->addTrigger(240114);
93 filterMaker->addTrigger(240124);
94 filterMaker->addTrigger(240224);
97 filterMaker->addTrigger(320600);
98 filterMaker->addTrigger(320601);
99 filterMaker->addTrigger(320602);
100 filterMaker->addTrigger(320603);
101 filterMaker->addTrigger(320800);
102 filterMaker->addTrigger(320801);
103 filterMaker->addTrigger(320850);
104 filterMaker->addTrigger(320851);
107 filterMaker->addTrigger(330600);
108 filterMaker->addTrigger(330601);
109 filterMaker->addTrigger(330603);
110 filterMaker->addTrigger(330612);
111 filterMaker->addTrigger(330800);
112 filterMaker->addTrigger(330801);
113 filterMaker->addTrigger(330850);
114 filterMaker->addTrigger(330851);
132 simuTrig->setMC(
false);
137 simuTrig->bemc->setConfig(StBemcTriggerSimu::kOffline);
143 simL2Mk->setSetupPath(
"/star/u/pibero/public/StarTrigSimuSetup/");
144 simL2Mk->setOutPath(
"./");
145 simuTrig->useL2(simL2Mk);
153 jetmaker->setJetFile(jetfile);
157 anapars12->useTpc =
true;
158 anapars12->useBemc =
true;
159 anapars12->useEemc =
true;
195 anapars5->useTpc =
true;
196 anapars5->useBemc =
true;
197 anapars5->useEemc =
true;
233 anaparsEMC->useTpc =
true;
234 anaparsEMC->useBemc =
true;
235 anaparsEMC->useEemc =
true;
257 conepars->
setGridSpacing(105,-3.0,3.0,120,-TMath::Pi(),TMath::Pi());
269 const double coneRadius = 0.7;
272 CdfMidpointR070Pars->setRparam(coneRadius);
275 CdfMidpointR070Pars->setPtMin(5.0);
277 const double overlapThreshold = 0.75;
278 const double seedThreshold = 0.5;
279 const double coneAreaFraction = 1.0;
282 CdfMidpointR070Pars->setPlugin(cdf);
287 AntiKtR060Pars->setRparam(0.6);
290 AntiKtR060Pars->setPtMin(5.0);
295 AntiKtR050Pars->setRparam(0.5);
298 AntiKtR050Pars->setPtMin(5.0);
300 jetmaker->addBranch(
"CdfMidpointR070NHits12",anapars12,CdfMidpointR070Pars);
301 jetmaker->addBranch(
"CdfMidpointR070NHits5",anapars5,CdfMidpointR070Pars);
302 jetmaker->addBranch(
"CdfMidpointR070EMC",anaparsEMC,CdfMidpointR070Pars);
303 jetmaker->addBranch(
"AntiKtR060NHits12",anapars12,AntiKtR060Pars);
304 jetmaker->addBranch(
"AntiKtR060NHits5",anapars5,AntiKtR060Pars);
305 jetmaker->addBranch(
"AntiKtR060EMC",anaparsEMC,AntiKtR060Pars);
306 jetmaker->addBranch(
"AntiKtR050NHits12",anapars12,AntiKtR050Pars);
307 jetmaker->addBranch(
"AntiKtR050NHits5",anapars5,AntiKtR050Pars);
308 jetmaker->addBranch(
"AntiKtR050EMC",anaparsEMC,AntiKtR050Pars);
312 chain->EventLoop(nevents);
void setConeRadius(double v)
Set cone radius:
void setAddMidpoints(bool v)
Add seeds at midpoints?
static const int plugin_algorithm
any plugin algorithm supplied by the user
void setSplitFraction(double v)
split jets if E_shared/E_neighbor>splitFraction
static const int Best
automatic selection of the best (based on N)
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 useOnlineDB()
Choose DB to access trigger definitions and thresholds.
static const int plugin_strategy
the plugin has been used...
static const int E_scheme
void setRequireStableMidpoints(bool v)
Require stable midpoints?
static const int antikt_algorithm
void saveAllStEvent(Bool_t a)
Set to kTRUE if all hits are to be saved on StEvent.
void setPerformMinimization(bool v)
Let jet wander to minimum?