7 void RunJetFinderOnPythia(
int nevents = 1000,
8 const char* pythiafile =
"/star/u/pibero/iucf/embedding/P10ic/Jet_pp200_2009/pythia/pt11_15_10146091_1.pythia.root",
9 const char* jetfile =
"jets.root")
12 gROOT->Macro(
"loadMuDst.C");
13 gROOT->Macro(
"LoadLogger.C");
15 gSystem->Load(
"StDetectorDbMaker");
16 gSystem->Load(
"StTpcDb");
17 gSystem->Load(
"StDbUtilities");
18 gSystem->Load(
"StMcEvent");
19 gSystem->Load(
"StMcEventMaker");
20 gSystem->Load(
"StDaqLib");
21 gSystem->Load(
"StEmcRawMaker");
22 gSystem->Load(
"StEmcADCtoEMaker");
23 gSystem->Load(
"StEpcMaker");
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(
"libCDFConesPlugin.so");
36 gSystem->Load(
"libEECambridgePlugin.so");
37 gSystem->Load(
"libJadePlugin.so");
38 gSystem->Load(
"libNestedDefsPlugin.so");
39 gSystem->Load(
"libSISConePlugin.so");
40 gSystem->Load(
"StJetFinder");
41 gSystem->Load(
"StJetSkimEvent");
42 gSystem->Load(
"StJets");
43 gSystem->Load(
"StJetEvent");
44 gSystem->Load(
"StJetMaker");
45 gSystem->Load(
"StTriggerFilterMaker");
47 cout <<
"Loading shared libraries done" << endl;
54 starDb->SetDateTime(20090628,53220);
61 pythia->SetFile(pythiafile);
68 jetmaker->setJetFile(jetfile);
74 anaparsParticle->useMonteCarlo =
true;
87 anaparsParton->useMonteCarlo =
true;
98 for (
float coneRadius = 0.4; coneRadius < 0.8; coneRadius += 0.1) {
101 conepars->
setGridSpacing(105,-3.0,3.0,120,-TMath::Pi(),TMath::Pi());
112 int iConeRadius = coneRadius*100;
113 jetmaker->addBranch(Form(
"ParticleConeJetsR%03d",iConeRadius),anaparsParticle,conepars);
114 jetmaker->addBranch(Form(
"PartonConeJetsR%03d",iConeRadius),anaparsParton,conepars);
121 chain->EventLoop(nevents);
void setConeRadius(double v)
Set cone radius:
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?