3 const char* file =
"/star/data30/reco/ppProductionLong/FullField/P06ie/2006/140/7140051/st_physics_7140051_raw_2020002.MuDst.root",
4 const char* outFile =
"blah.jet.root",
5 const char* skimFile =
"blah.jetSkim.root"
9 gROOT->Macro(
"LoadJetLibraries.C");
24 simuTrig->setMC(
false);
27 simuTrig->bemc->setConfig(StBemcTriggerSimu::kOffline);
30 simL2Mk->setSetupPath(
"./StRoot/StJetMaker/StarTrigSimuSetup/");
32 sprintf(outPath,
"./out/");
33 simL2Mk->setOutPath(outPath);
34 simuTrig->useL2(simL2Mk);
36 bool doTowerSwapFix =
true;
38 bet4pMaker->setUse2003Cuts(
false);
39 bet4pMaker->setUseEndcap(
true);
40 bet4pMaker->setUse2006Cuts(
true);
47 anapars->setFlagMin(0);
49 anapars->setCutPtMin(0.2);
50 anapars->setAbsEtaMax(2.0);
51 anapars->setJetPtMin(3.5);
52 anapars->setJetEtaMax(100.0);
53 anapars->setJetEtaMin(0);
54 anapars->setJetNmin(0);
57 double pi = atan(1.0)*4.0;
68 emcJetMaker->addAnalyzer(anapars, cpars, bet4pMaker,
"ConeJets5");
70 anapars->setNhits(12);
71 emcJetMaker->addAnalyzer(anapars, cpars, bet4pMaker,
"ConeJets12");
73 anapars->setNhits(10000000);
74 emcJetMaker->addAnalyzer(anapars, cpars, bet4pMaker,
"ConeJetsEMC");
78 for (Int_t iev = 0; iev < nevents; ++iev) {
81 cout <<
"****************************************** " << endl;
82 cout <<
"Working on eventNumber " << iev << endl;
83 cout <<
"****************************************** " << endl;
86 int iret = chain->
Make(iev);
88 cout <<
"Bad return code!" << endl;
99 TString path(gROOT->GetMacroPath());
100 path = TString(gSystem->Getenv(
"STAR")) +
"/StRoot/StJetMaker/macros:" + path;
101 path =
"./StRoot/StJetMaker/macros:" + path;
102 path =
"./StJetMaker/macros:" + path;
103 path =
"./macros:" + path;
104 path =
"../macros:" + path;
106 gROOT->SetMacroPath(path);
void setConeRadius(double v)
Set cone radius:
void setAddMidpoints(bool v)
Add seeds at midpoints?
virtual void Clear(Option_t *option="")
User defined functions.
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?