1 void RunJetFinder2(
int nevents = 100,
2 const char* mudstfile =
"/star/data54/reco/ppProductionTrans/FullField/P06ie/2006/117/7117002/st_physics_7117002_raw_1040035.MuDst.root",
3 const char* jetfile =
"blah.jet.root",
4 const char* skimfile =
"blah.skim.root")
6 cout <<
"Read MuDst file:\t" << mudstfile << endl;
7 cout <<
"Write jet file:\t" << jetfile << endl;
8 cout <<
"Write skim file:\t" << skimfile << endl;
10 gROOT->Macro(
"loadMuDst.C");
11 gROOT->Macro(
"LoadLogger.C");
13 gSystem->Load(
"StTpcDb");
14 gSystem->Load(
"StDetectorDbMaker");
15 gSystem->Load(
"StDbUtilities");
16 gSystem->Load(
"StMcEvent");
17 gSystem->Load(
"StMcEventMaker");
18 gSystem->Load(
"StDaqLib");
19 gSystem->Load(
"StEmcRawMaker");
20 gSystem->Load(
"StEmcADCtoEMaker");
21 gSystem->Load(
"StEpcMaker");
22 gSystem->Load(
"StEmcSimulatorMaker");
23 gSystem->Load(
"StDbBroker");
24 gSystem->Load(
"St_db_Maker");
25 gSystem->Load(
"StEEmcUtil");
26 gSystem->Load(
"StEEmcDbMaker");
27 gSystem->Load(
"StSpinDbMaker");
28 gSystem->Load(
"StEmcTriggerMaker");
29 gSystem->Load(
"StTriggerUtilities");
30 gSystem->Load(
"StMCAsymMaker");
31 gSystem->Load(
"libfastjet.so");
32 gSystem->Load(
"StJetFinder");
33 gSystem->Load(
"StJetSkimEvent");
34 gSystem->Load(
"StJets");
35 gSystem->Load(
"StJetEvent");
36 gSystem->Load(
"StJetMaker");
63 simuTrig->setMC(
false);
66 simuTrig->bemc->setConfig(StBemcTriggerSimu::kOffline);
69 simL2Mk->setSetupPath(
"/afs/rhic.bnl.gov/star/users/kocolosk/public/StarTrigSimuSetup/");
70 simL2Mk->setOutPath(
"./");
71 simuTrig->useL2(simL2Mk);
78 bool doTowerSwapFix =
true;
80 bet4pMaker->setUseTPC(
true);
81 bet4pMaker->setUseBEMC(
true);
82 bet4pMaker->setUseEndcap(
true);
83 bet4pMaker->setUse2003Cuts(
false);
84 bet4pMaker->setUse2005Cuts(
false);
85 bet4pMaker->setUse2006Cuts(
true);
98 anapars->setFlagMin(0);
99 anapars->setCutPtMin(0.2);
100 anapars->setAbsEtaMax(1.6);
101 anapars->setJetPtMin(5.0);
102 anapars->setJetEtaMax(100.0);
103 anapars->setJetEtaMin(0);
104 anapars->setJetNmin(0);
118 jetMaker->addAnalyzer(anapars,cpars,bet4pMaker,
"ConeJets12");
120 anapars->setNhits(5);
121 jetMaker->addAnalyzer(anapars,cpars,bet4pMaker,
"ConeJets5");
123 anapars->setNhits(1000000);
124 jetMaker->addAnalyzer(anapars,cpars,bet4pMaker,
"ConeJetsEMC");
127 chain->EventLoop(nevents);
void setAddMidpoints(bool v)
Add seeds at midpoints?
void setSplitFraction(double v)
split jets if E_shared/E_neighbor>splitFraction
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 setRequireStableMidpoints(bool v)
Require stable midpoints?
void setPerformMinimization(bool v)
Let jet wander to minimum?