]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/totEt/macros/ConfigHadEtMonteCarlo.C
Minor tweaks to get calo jobs running on the grid
[u/mrichter/AliRoot.git] / PWG4 / totEt / macros / ConfigHadEtMonteCarlo.C
1
2 AliAnalysisHadEtMonteCarlo * ConfigHadEtMonteCarlo(){
3   //cout<<"Hello I am configuring you"<<endl;
4   cout<<"You are analyzing HIJING Pb+Pb simulations"<<endl;
5   AliAnalysisHadEtMonteCarlo *hadEtMC = new AliAnalysisHadEtMonteCarlo();
6   //Whether or not to investigate the effects of efficiency, momentum resolution, PID, etc.
7   hadEtMC->InvestigateSmearing(kFALSE);
8
9   //Whether or not to look at Et(sim)-Et(reco) for full acceptance
10   hadEtMC->InvestigateFull(kTRUE);
11
12   //Whether or not to look at Et(sim)-Et(reco) for EMCAL acceptance
13   hadEtMC->InvestigateEMCAL(kFALSE);
14
15   //Whether or not to look at Et(sim)-Et(reco) for PHOS acceptance
16   hadEtMC->InvestigatePHOS(kFALSE);
17
18   //Whether or not to look at Et(sim)-Et(reco) for Pi/K/p in full acceptance (full acceptance must be turned on)
19   hadEtMC->InvestigatePiKP(kFALSE);
20
21   //Look at ITS+TPC tracks
22   hadEtMC->RequireITSHits(kTRUE);
23
24   //Look at the 2010 p+p data...
25   hadEtMC->SetDataSet(20100);
26
27   //Turn baryon enhancement on and off
28   hadEtMC->EnhanceBaryons(kTRUE);
29
30   hadEtMC->Init();
31   return hadEtMC;
32 }