1 void RunJetFinder2012pro_fcs(
int nevents = 100,
2 const char* indir =
"./",
3 const char* MuDst =
"_e45.MuDst.root",
4 const char* Jetfile =
"test.jets.root",
5 const char* Uefile =
"test.ueoc.root",
6 const char* Skimfile =
"test.skim.root",
7 const char* geneventfile =
"pi+_e45.vz0.run0.genevent.root")
11 cout<<
"MuDst file is "<<MuDst<<endl;
12 cout<<
"JetTree file is "<<Jetfile<<endl;
13 cout<<
"SkimTree file is "<<Skimfile<<endl;
14 cout<<
"Ue file is "<<Uefile<< endl;
15 cout<<
"GeantEvent file is " <<geneventfile<< endl;
18 gROOT->Macro(
"loadMuDst.C");
19 gROOT->Macro(
"LoadLogger.C");
21 gSystem->Load(
"StDetectorDbMaker");
22 gSystem->Load(
"StTpcDb");
23 gSystem->Load(
"StDbUtilities");
24 gSystem->Load(
"StMcEvent");
25 gSystem->Load(
"StMcEventMaker");
26 gSystem->Load(
"StDaqLib");
27 gSystem->Load(
"StEmcRawMaker");
28 gSystem->Load(
"StEmcADCtoEMaker");
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(
"libsiscone.so");
41 gSystem->Load(
"libsiscone_spherical.so");
42 gSystem->Load(
"libfastjetplugins.so");
44 gSystem->Load(
"StJetFinder");
45 gSystem->Load(
"StJetSkimEvent");
46 gSystem->Load(
"StJets");
47 gSystem->Load(
"StJetEvent");
48 gSystem->Load(
"StUeEvent");
49 gSystem->Load(
"StJetMaker");
51 gSystem->Load(
"libMinuit.so");
53 gSystem->Load(
"StFcsUtil");
54 gSystem->Load(
"StFcsDbMaker");
56 gSystem->Load(
"libVMC.so");
57 gSystem->Load(
"St_g2t.so" );
58 gSystem->Load(
"St_geant_Maker.so" );
60 gSystem->Load(
"StarGeneratorUtil.so" );
61 gSystem->Load(
"StarGeneratorEvent.so" );
62 gSystem->Load(
"StarGeneratorBase.so" );
64 gSystem->Load(
"libMathMore.so" );
65 gSystem->Load(
"libStarGenEventReader.so" );
82 eventreader->SetInputFile(geneventfile,
"genevents",
"primaryEvent");
140 jetmaker->setJetFile(Jetfile);
141 jetmaker->setJetFileUe(Uefile);
146 anapars12->useTpc =
true;
147 anapars12->useBemc =
false;
148 anapars12->useEemc =
false;
149 anapars12->useFms =
false;
150 anapars12->useFcsECal =
true;
151 anapars12->useFcsHCal =
true;
152 anapars12->randomSelectorProb = 1.00;
202 anaparsParticle->useMonteCarlo =
true;
219 AntiKtR050Pars->setRparam(0.5);
222 AntiKtR050Pars->setPtMin(.1);
223 AntiKtR050Pars->setJetArea(JetAreaPars);
228 AntiKtR040Pars->setRparam(0.4);
231 AntiKtR040Pars->setPtMin(.1);
232 AntiKtR040Pars->setJetArea(JetAreaPars);
234 jetmaker->addBranch(
"AntiKtR050NHits12",anapars12,AntiKtR050Pars);
235 jetmaker->addBranch(
"AntiKtR040NHits12",anapars12,AntiKtR040Pars);
236 jetmaker->addBranch(
"AntiKtR050Particle",anaparsParticle,AntiKtR050Pars);
237 jetmaker->addBranch(
"AntiKtR040Particle",anaparsParticle,AntiKtR040Pars);
240 jetmaker->addUeBranch(
"OffAxisConesR050", off050);
241 jetmaker->addUeBranch(
"OffAxisConesR060", off060);
245 chain->EventLoop(nevents);
static const int Best
automatic selection of the best (based on N)
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.