8 void RunJetFinder2009pro_ue(
int nevents = 1E3,
9 const char* mudstfile =
"/star/institutions/uky/gdwebb/UE_histos/st_physics_10103041_raw_8030001.MuDst.root",
10 const char* jetfile =
"jets_copy.root",
11 const char* skimfile =
"skim_copy.root",
12 const char* uefile =
"ueTree_copy.root",
17 cout <<
"nevents = " << nevents << endl;
18 cout <<
"mudstfile = " << mudstfile << endl;
19 cout <<
"jetfile = " << jetfile << endl;
20 cout <<
"skimfile = " << skimfile << endl;
21 cout <<
"uefile = " << uefile << endl;
23 gROOT->Macro(
"loadMuDst.C");
24 gROOT->Macro(
"LoadLogger.C");
26 gSystem->Load(
"StDetectorDbMaker");
27 gSystem->Load(
"StTpcDb");
28 gSystem->Load(
"StDbUtilities");
29 gSystem->Load(
"StMcEvent");
30 gSystem->Load(
"StMcEventMaker");
31 gSystem->Load(
"StDaqLib");
32 gSystem->Load(
"StEmcRawMaker");
33 gSystem->Load(
"StEmcADCtoEMaker");
34 gSystem->Load(
"StEpcMaker");
35 gSystem->Load(
"StEmcSimulatorMaker");
36 gSystem->Load(
"StDbBroker");
37 gSystem->Load(
"St_db_Maker");
38 gSystem->Load(
"StEEmcUtil");
39 gSystem->Load(
"StEEmcDbMaker");
40 gSystem->Load(
"StSpinDbMaker");
41 gSystem->Load(
"StEmcTriggerMaker");
42 gSystem->Load(
"StTriggerUtilities");
43 gSystem->Load(
"StMCAsymMaker");
44 gSystem->Load(
"StRandomSelector");
46 gSystem->Load(
"libfastjet.so");
47 gSystem->Load(
"libsiscone.so");
48 gSystem->Load(
"libsiscone_spherical.so");
49 gSystem->Load(
"libfastjetplugins.so");
57 gSystem->Load(
"StJetFinder");
58 gSystem->Load(
"StJetSkimEvent");
59 gSystem->Load(
"StJets");
60 gSystem->Load(
"StJetEvent");
61 gSystem->Load(
"StUeEvent");
62 gSystem->Load(
"StJetMaker");
63 gSystem->Load(
"StTriggerFilterMaker");
77 filterMaker->addTrigger(230410);
78 filterMaker->addTrigger(230411);
79 filterMaker->addTrigger(230420);
80 filterMaker->addTrigger(230531);
98 simuTrig->setMC(
false);
102 simuTrig->bemc->setConfig(StBemcTriggerSimu::kOffline);
108 simL2Mk->setSetupPath(
"/star/u/pibero/public/StarTrigSimuSetup/");
109 simL2Mk->setOutPath(
"./");
110 simuTrig->useL2(simL2Mk);
118 jetmaker->setJetFile(jetfile);
121 uemaker->setUeFile(uefile);
125 anapars12->useTpc =
true;
126 anapars12->useBemc =
true;
127 anapars12->useEemc =
false;
168 anapars12_toward = anapars12;
169 anapars12_toward->setTrackRegion(
new StjTrackRegion(60.0,-60.0,1.0));
170 anapars12_toward->setTowerRegion(
new StjTowerRegion(60.0,-60.0,1.0));
172 anapars12_away = anapars12;
173 anapars12_away->setTrackRegion(
new StjTrackRegion(120.0,-120.0,1.0));
174 anapars12_away->setTowerRegion(
new StjTowerRegion(120.0,-120.0,1.0));
176 anapars12_transPlus = anapars12;
177 anapars12_transPlus->setTrackRegion(
new StjTrackRegion(120.0,60.0,1.0));
178 anapars12_transPlus->setTowerRegion(
new StjTowerRegion(120.0,60.0,1.0));
180 anapars12_transMinus = anapars12;
181 anapars12_transMinus->setTrackRegion(
new StjTrackRegion(-60.0,-120.0,1.0));
182 anapars12_transMinus->setTowerRegion(
new StjTowerRegion(-60.0,-120.0,1.0));
187 JetAreaPars->setGhostArea(0.04);
191 AntiKtR060Pars->setRparam(0.6);
194 AntiKtR060Pars->setPtMin(5.0);
195 AntiKtR060Pars->setJetArea(JetAreaPars);
200 AntiKtR040Pars->setRparam(0.4);
203 AntiKtR040Pars->setPtMin(5.0);
204 AntiKtR040Pars->setJetArea(JetAreaPars);
209 AntiKtR050Pars->setRparam(0.5);
212 AntiKtR050Pars->setPtMin(5.0);
213 AntiKtR050Pars->setJetArea(JetAreaPars);
215 jetmaker->addBranch(
"AntiKtR060NHits12",anapars12,AntiKtR060Pars);
216 jetmaker->addBranch(
"AntiKtR040NHits12",anapars12,AntiKtR040Pars);
217 jetmaker->addBranch(
"AntiKtR050NHits12",anapars12,AntiKtR050Pars);
219 uemaker->addBranch(
"toward",anapars12_toward,
"AntiKtR060NHits12");
220 uemaker->addBranch(
"away",anapars12_away,
"AntiKtR060NHits12");
221 uemaker->addBranch(
"transP",anapars12_transPlus,
"AntiKtR060NHits12");
222 uemaker->addBranch(
"transM",anapars12_transMinus,
"AntiKtR060NHits12");
227 chain->EventLoop(nevents);
static const int Best
automatic selection of the best (based on N)
void useOnlineDB()
Choose DB to access trigger definitions and thresholds.
static const int E_scheme
static const int antikt_algorithm
void saveAllStEvent(Bool_t a)
Set to kTRUE if all hits are to be saved on StEvent.