]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/totEt/macros/hadEt/ConfigHadEtMonteCarlopp900GeV.C
Added switch to turn off many histograms needed for cross checks but not always needed
[u/mrichter/AliRoot.git] / PWGLF / totEt / macros / hadEt / ConfigHadEtMonteCarlopp900GeV.C
1
2 AliAnalysisHadEtMonteCarlo * ConfigHadEtMonteCarlo(){
3   //cout<<"Hello I am configuring you"<<endl;
4   cout<<"You are analyzing 900 GeV p+p simulations using the 2010 track cuts and 2009 V0 scaling"<<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   //Turns off O(100) histograms that we do not normally use
10   hadEtMC->RunLightweight(kTRUE);
11
12   //Whether or not to look at Et(sim)-Et(reco) for full acceptance
13   hadEtMC->InvestigateFull(kTRUE);
14
15   //Whether or not to look at Et(sim)-Et(reco) for EMCAL acceptance
16   hadEtMC->InvestigateEMCAL(kFALSE);
17
18   //Whether or not to look at Et(sim)-Et(reco) for PHOS acceptance
19   hadEtMC->InvestigatePHOS(kFALSE);
20
21   //Whether or not to look at Et(sim)-Et(reco) for Pi/K/p in full acceptance (full acceptance must be turned on)
22   hadEtMC->InvestigatePiKP(kTRUE);
23
24   //Look at ITS+TPC tracks
25   hadEtMC->RequireITSHits(kTRUE);
26
27   //Look at the 2010 p+p data...
28   hadEtMC->SetDataSet(2009);
29   hadEtMC->SetV0ScaleDataSet(2009);
30
31   //Turn baryon enhancement on and off
32   hadEtMC->EnhanceBaryons(kTRUE);
33
34   hadEtMC->Init();
35   return hadEtMC;
36 }