4 void RunJetSimuSkimFinder(
const int nevents = 2000,
5 const char* mudstfile =
"/star/data47/reco/pp200/pythia6_410/15_25gev/cdf_a/y2006c/gheisha_on/p07ic/rcf1307_01_2000evts.MuDst.root",
6 const char* geantfile =
"/star/data47/reco/pp200/pythia6_410/15_25gev/cdf_a/y2006c/gheisha_on/p07ic/rcf1307_01_2000evts.geant.root",
7 const char* jetfile =
"Jets_pt15_25_01.root",
8 const char* skimfile =
"Skim_pt15_25_01.root")
11 gROOT->Macro(
"loadMuDst.C");
12 gROOT->Macro(
"LoadLogger.C");
14 gSystem->Load(
"StTpcDb");
15 gSystem->Load(
"StDetectorDbMaker");
16 gSystem->Load(
"StDbUtilities");
17 gSystem->Load(
"StMcEvent");
18 gSystem->Load(
"StMcEventMaker");
19 gSystem->Load(
"StDaqLib");
20 gSystem->Load(
"StEmcRawMaker");
21 gSystem->Load(
"StEmcADCtoEMaker");
22 gSystem->Load(
"StPreEclMaker");
23 gSystem->Load(
"StEpcMaker");
24 gSystem->Load(
"StEmcSimulatorMaker");
25 gSystem->Load(
"StEmcUtil");
26 gSystem->Load(
"StDbBroker");
27 gSystem->Load(
"St_db_Maker");
28 gSystem->Load(
"StEEmcUtil");
29 gSystem->Load(
"StEEmcDbMaker");
30 gSystem->Load(
"StSpinDbMaker");
31 gSystem->Load(
"StEmcTriggerMaker");
32 gSystem->Load(
"StTriggerUtilities");
33 gSystem->Load(
"StMCAsymMaker");
34 gSystem->Load(
"StRandomSelector");
35 gSystem->Load(
"StJetFinder");
36 gSystem->Load(
"StJetSkimEvent");
37 gSystem->Load(
"StJets");
38 gSystem->Load(
"StJetEvent");
39 gSystem->Load(
"StJetMaker");
40 gSystem->Load(
"StEEmcSimulatorMaker");
42 cout <<
"Loading shared libraries done" << endl;
49 ioMaker->SetFile(geantfile);
51 ioMaker->SetBranch(
"*",0,
"0");
52 ioMaker->SetBranch(
"geantBranch",0,
"r");
55 mcEventMaker->doPrintEventInfo =
false;
64 dbMk->SetDateTime(20060516,110349);
65 dbMk->SetFlavor(
"sim",
"eemcPMTcal");
66 dbMk->SetFlavor(
"sim",
"eemcPIXcal");
67 dbMk->SetFlavor(
"sim",
"eemcPMTped");
68 dbMk->SetFlavor(
"sim",
"eemcPMTstat");
69 dbMk->SetFlavor(
"sim",
"eemcPMTname");
70 dbMk->SetFlavor(
"sim",
"eemcADCconf");
94 simuTrig->setMC(
true);
97 simuTrig->bemc->setConfig(StBemcTriggerSimu::kOffline);
102 simL2Mk->setSetupPath(
"/afs/rhic.bnl.gov/star/users/kocolosk/public/StarTrigSimuSetup/");
103 simL2Mk->setOutPath(
"./");
104 simuTrig->useL2(simL2Mk);
116 skimEventMaker->addSimuTrigger(137222);
122 bool doTowerSwapFix =
true;
141 anapars->setFlagMin(0);
142 anapars->setNhits(12);
143 anapars->setCutPtMin(0.2);
144 anapars->setAbsEtaMax(2);
145 anapars->setJetPtMin(3.5);
146 anapars->setJetEtaMax(100);
147 anapars->setJetEtaMin(0);
148 anapars->setJetNmin(0);
162 emcJetMaker->addAnalyzer(anapars,cpars4,bet4pMaker,
"ConeJets12");
163 emcJetMaker->addAnalyzer(anapars,cpars4,bet4pMakerFrac000,
"ConeJets12_000");
164 emcJetMaker->addAnalyzer(anapars,cpars4,bet4pMakerFrac020,
"ConeJets12_020");
165 emcJetMaker->addAnalyzer(anapars,cpars4,bet4pMakerFrac050,
"ConeJets12_050");
166 emcJetMaker->addAnalyzer(anapars,cpars4,bet4pMakerFrac070,
"ConeJets12_070");
167 emcJetMaker->addAnalyzer(anapars,cpars4,bet4pMakerFrac100,
"ConeJets12_100");
168 emcJetMaker->addAnalyzer(anapars,cpars4,bet4pMakerFrac130,
"ConeJets12_130");
170 anapars->setNhits(5);
171 emcJetMaker->addAnalyzer(anapars,cpars4,bet4pMaker,
"ConeJets5");
173 anapars->setNhits(1000000);
174 emcJetMaker->addAnalyzer(anapars,cpars4,bet4pMaker,
"ConeJetsEMC");
178 pythiapars->setFlagMin(0);
179 pythiapars->setNhits(0);
180 pythiapars->setCutPtMin(0.0001);
181 pythiapars->setAbsEtaMax(5.0);
182 pythiapars->setJetPtMin(3.0);
183 pythiapars->setJetEtaMax(5.0);
184 pythiapars->setJetEtaMin(0);
185 pythiapars->setJetNmin(0);
188 pythia_cpars4->
setGridSpacing(105,-3,3,120,-TMath::Pi(),TMath::Pi());
198 emcJetMaker->addAnalyzer(pythiapars,pythia_cpars4,pythiaFourPMaker,
"PythiaConeJets");
201 chain->EventLoop(nevents);
void setConeRadius(double v)
Set cone radius:
void setSamplingFraction(Float_t f)
Changes the sampling fraction from the default in the fast simulator.
void setAddMidpoints(bool v)
Add seeds at midpoints?
virtual void SetIOMode(Option_t *iomode="w")
number of transactions
void setSplitFraction(double v)
split jets if E_shared/E_neighbor>splitFraction
static void setLevel(unsigned int level)
sets the debug level
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.
Filling of all StMcEvent classes from g2t tables Transform all the data in the g2t tables into the co...
void setSeedEtMin(double v)
minimum et threshold to be considered a seed
Bool_t doPrintMemoryInfo
lots of screen output
void setAssocEtMin(double v)
minimum et threshold to be considered for addition to the seed
void setRequireStableMidpoints(bool v)
Require stable midpoints?
void setCalibSpread(StDetectorId det, float spread)
smear simulator calibration coefficients using Gaussian with this RMS.
void setPerformMinimization(bool v)
Let jet wander to minimum?