1 void RunJetFinder2012pro(
int nevents = 1000000,
2 const char* indir =
"~/2013-08-trgsimu/MuDst/",
3 const char* MuDst =
"st_physics_13109014_raw_1020001.MuDst.root",
4 const char* Jetfile =
"st_physics_13109014_raw_1020001.jets.root",
5 const char* Uefile =
"st_physics_13109014_raw_1020001.ueoc.root",
6 const char* Skimfile =
"st_physics_13109014_raw_1020001.skim.root"
9 cout<<
"MuDst file is "<<MuDst<<endl;
10 cout<<
"JetTree file is "<<Jetfile<<endl;
11 cout<<
"SkimTree file is "<<Skimfile<<endl;
13 gROOT->Macro(
"loadMuDst.C");
14 gROOT->Macro(
"LoadLogger.C");
16 gSystem->Load(
"StDetectorDbMaker");
17 gSystem->Load(
"StTpcDb");
18 gSystem->Load(
"StDbUtilities");
19 gSystem->Load(
"StMcEvent");
20 gSystem->Load(
"StMcEventMaker");
21 gSystem->Load(
"StDaqLib");
22 gSystem->Load(
"StEmcRawMaker");
23 gSystem->Load(
"StEmcADCtoEMaker");
24 gSystem->Load(
"StEmcSimulatorMaker");
25 gSystem->Load(
"StDbBroker");
26 gSystem->Load(
"St_db_Maker");
27 gSystem->Load(
"StEEmcUtil");
28 gSystem->Load(
"StEEmcDbMaker");
29 gSystem->Load(
"StSpinDbMaker");
30 gSystem->Load(
"StEmcTriggerMaker");
31 gSystem->Load(
"StTriggerUtilities");
32 gSystem->Load(
"StMCAsymMaker");
33 gSystem->Load(
"StRandomSelector");
34 gSystem->Load(
"libfastjet.so");
35 gSystem->Load(
"libsiscone.so");
36 gSystem->Load(
"libsiscone_spherical.so");
37 gSystem->Load(
"libfastjetplugins.so");
39 gSystem->Load(
"StJetFinder");
40 gSystem->Load(
"StJetSkimEvent");
41 gSystem->Load(
"StJets");
42 gSystem->Load(
"StJetEvent");
43 gSystem->Load(
"StUeEvent");
44 gSystem->Load(
"StJetMaker");
45 gSystem->Load(
"StTriggerFilterMaker");
48 gSystem->Load(
"libMinuit.so");
49 gSystem->Load(
"StFmsUtil");
50 gSystem->Load(
"StFmsDbMaker");
51 gSystem->Load(
"StFmsHitMaker");
52 gSystem->Load(
"StFmsPointMaker");
53 gSystem->Load(
"StFmsQAHistoMaker");
63 filterMaker->addTrigger(380401);
65 filterMaker->addTrigger(380402);
67 filterMaker->addTrigger(380403);
69 filterMaker->addTrigger(380404);
86 simuTrig->setMC(
false);
91 simuTrig->bemc->setConfig(StBemcTriggerSimu::kOnline);
94 jetmaker->setJetFile(Jetfile);
95 jetmaker->setJetFileUe(Uefile);
100 anapars12->useTpc =
true;
101 anapars12->useBemc =
true;
102 anapars12->useEemc =
true;
103 anapars12->useFms =
false;
144 AntiKtR060Pars->setRparam(0.6);
147 AntiKtR060Pars->setPtMin(5.0);
148 AntiKtR060Pars->setJetArea(JetAreaPars);
153 AntiKtR050Pars->setRparam(0.5);
156 AntiKtR050Pars->setPtMin(5.0);
157 AntiKtR050Pars->setJetArea(JetAreaPars);
159 jetmaker->addBranch(
"AntiKtR060NHits12",anapars12,AntiKtR060Pars);
160 jetmaker->addBranch(
"AntiKtR050NHits12",anapars12,AntiKtR050Pars);
163 jetmaker->addUeBranch(
"OffAxisConesR050", off050);
164 jetmaker->addUeBranch(
"OffAxisConesR060", off060);
167 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.