]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/totEt/macros/hadEt/ConfigHadEtMonteCarlopPb5TeV.C
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGLF / totEt / macros / hadEt / ConfigHadEtMonteCarlopPb5TeV.C
CommitLineData
6e32ac3d 1
2AliAnalysisHadEtMonteCarlo * ConfigHadEtMonteCarlo(){
3 //cout<<"Hello I am configuring you"<<endl;
4 cout<<"You are analyzing 5 TeV p+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(kTRUE);
8
9 //Turns off O(100) histograms that we do not normally use
10 hadEtMC->RunLightweight(kFALSE);
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(2013);
29 hadEtMC->SetV0ScaleDataSet(2013);
30
31 //Turn baryon enhancement on and off
32 hadEtMC->EnhanceBaryons(kTRUE);
33
34 //Do trigger checks
35 hadEtMC->DoTriggerChecks();
36
37 hadEtMC->Init();
38 return hadEtMC;
39}