20 void RunFastJet(
int nevents = 1e6,
21 const char* mudstfile =
"root://xrdstar.rcf.bnl.gov:1095//home/starlib/home/starreco/reco/production2009_200Gev_Single/ReversedFullField/P10ic/2009/143/10143008/st_physics_10143008_raw_6020001.MuDst.root",
22 const char* jetfile =
"jets.root",
23 const char* skimfile =
"skim.root",
26 cout <<
"Read MuDst file:\t" << mudstfile << endl;
27 cout <<
"Write jet file:\t" << jetfile << endl;
28 cout <<
"Write skim file:\t" << skimfile << endl;
30 gROOT->Macro(
"loadMuDst.C");
31 gROOT->Macro(
"LoadLogger.C");
33 gSystem->Load(
"StDetectorDbMaker");
34 gSystem->Load(
"StTpcDb");
35 gSystem->Load(
"StDbUtilities");
36 gSystem->Load(
"StMcEvent");
37 gSystem->Load(
"StMcEventMaker");
38 gSystem->Load(
"StDaqLib");
39 gSystem->Load(
"StEmcRawMaker");
40 gSystem->Load(
"StEmcADCtoEMaker");
41 gSystem->Load(
"StEpcMaker");
42 gSystem->Load(
"StEmcSimulatorMaker");
43 gSystem->Load(
"StDbBroker");
44 gSystem->Load(
"St_db_Maker");
45 gSystem->Load(
"StEEmcUtil");
46 gSystem->Load(
"StEEmcDbMaker");
47 gSystem->Load(
"StSpinDbMaker");
48 gSystem->Load(
"StEmcTriggerMaker");
49 gSystem->Load(
"StTriggerUtilities");
50 gSystem->Load(
"StMCAsymMaker");
51 gSystem->Load(
"StRandomSelector");
52 gSystem->Load(
"libfastjet.so");
53 gSystem->Load(
"libCDFConesPlugin.so");
54 gSystem->Load(
"libEECambridgePlugin.so");
55 gSystem->Load(
"libJadePlugin.so");
56 gSystem->Load(
"libNestedDefsPlugin.so");
57 gSystem->Load(
"libSISConePlugin.so");
58 gSystem->Load(
"StJetFinder");
59 gSystem->Load(
"StJetSkimEvent");
60 gSystem->Load(
"StJets");
61 gSystem->Load(
"StJetEvent");
62 gSystem->Load(
"StJetMaker");
63 gSystem->Load(
"StTriggerFilterMaker");
78 filterMaker->addTrigger(230410);
79 filterMaker->addTrigger(230411);
80 filterMaker->addTrigger(230420);
81 filterMaker->addTrigger(230531);
86 filterMaker->addTrigger(240650);
87 filterMaker->addTrigger(240651);
88 filterMaker->addTrigger(240652);
90 filterMaker->addTrigger(240410);
91 filterMaker->addTrigger(240411);
93 filterMaker->addTrigger(240620);
95 filterMaker->addTrigger(240630);
96 filterMaker->addTrigger(240631);
98 filterMaker->addTrigger(240530);
100 filterMaker->addTrigger(240013);
101 filterMaker->addTrigger(240113);
102 filterMaker->addTrigger(240123);
103 filterMaker->addTrigger(240223);
105 filterMaker->addTrigger(240014);
106 filterMaker->addTrigger(240114);
107 filterMaker->addTrigger(240124);
108 filterMaker->addTrigger(240224);
126 simuTrig->setMC(
false);
131 simuTrig->bemc->setConfig(StBemcTriggerSimu::kOffline);
137 simL2Mk->setSetupPath(
"/star/u/pibero/public/StarTrigSimuSetup/");
138 simL2Mk->setOutPath(
"./");
139 simuTrig->useL2(simL2Mk);
147 jetmaker->setJetFile(jetfile);
151 anapars12->useTpc =
true;
152 anapars12->useBemc =
true;
153 anapars12->useEemc =
true;
188 anapars5->useTpc =
true;
189 anapars5->useBemc =
true;
190 anapars5->useEemc =
true;
224 anaparsEMC->useTpc =
true;
225 anaparsEMC->useBemc =
true;
226 anaparsEMC->useEemc =
true;
247 const double CONE_RADIUS = 0.6;
251 AntiKtPars->setRparam(CONE_RADIUS);
254 AntiKtPars->setPtMin(5.0);
256 jetmaker->addBranch(
"ConeJets12",anapars12,AntiKtPars);
257 jetmaker->addBranch(
"ConeJets5",anapars5,AntiKtPars);
258 jetmaker->addBranch(
"ConeJetsEMC",anaparsEMC,AntiKtPars);
261 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.