]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/totEt/macros/ConfigEtMonteCarlo.C
analysis w.r.t. TPC EP: tuning
[u/mrichter/AliRoot.git] / PWGLF / totEt / macros / ConfigEtMonteCarlo.C
CommitLineData
c31562f7 1//These functions are needed for the plugin to work. Values have to be set by hand.
2Bool_t GetIsEMCAL(){
3 return kTRUE;
4}
5
6Bool_t GetIsMC(){
7 return kTRUE;
8}
9
964c8159 10
8128f09a 11AliAnalysisEtMonteCarlo * ConfigEtMonteCarlo(Bool_t EMCAL = true, Bool_t DETAIL = false){
12 //Bool_t EMCAL = true;
964c8159 13 if(EMCAL){
8128f09a 14 if(DETAIL){
15 AliAnalysisEmEtMonteCarlo *totEtMC = new AliAnalysisEmEtMonteCarlo();
6a84f3df 16 //Look at the 2010 Pb+Pb data...
17 totEtMC->SetDataSet(20100);
8128f09a 18 totEtMC->Init();
19 return totEtMC;
20 }
21 else{
22 AliAnalysisEtMonteCarloEmcal *totEtMC = new AliAnalysisEtMonteCarloEmcal();
6a84f3df 23 //Look at the 2010 Pb+Pb data...
24 totEtMC->SetDataSet(20100);
8128f09a 25 totEtMC->Init();
26 return totEtMC;
27 }
964c8159 28 }
29 else{
30 AliAnalysisEtMonteCarloPhos *totEtMC = new AliAnalysisEtMonteCarloPhos();
6a84f3df 31 //Look at the 2010 Pb+Pb data...
32 totEtMC->SetDataSet(20100);
964c8159 33 totEtMC->Init();
34 return totEtMC;
35 }
36}