]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/totEt/macros/ConfigEtMonteCarlo.C
updating tender supply implementation
[u/mrichter/AliRoot.git] / PWGLF / totEt / macros / ConfigEtMonteCarlo.C
CommitLineData
964c8159 1
8128f09a 2AliAnalysisEtMonteCarlo * ConfigEtMonteCarlo(Bool_t EMCAL = true, Bool_t DETAIL = false){
3 //Bool_t EMCAL = true;
964c8159 4 if(EMCAL){
8128f09a 5 if(DETAIL){
6 AliAnalysisEmEtMonteCarlo *totEtMC = new AliAnalysisEmEtMonteCarlo();
6a84f3df 7 //Look at the 2010 Pb+Pb data...
8 totEtMC->SetDataSet(20100);
8128f09a 9 totEtMC->Init();
10 return totEtMC;
11 }
12 else{
13 AliAnalysisEtMonteCarloEmcal *totEtMC = new AliAnalysisEtMonteCarloEmcal();
6a84f3df 14 //Look at the 2010 Pb+Pb data...
15 totEtMC->SetDataSet(20100);
8128f09a 16 totEtMC->Init();
17 return totEtMC;
18 }
964c8159 19 }
20 else{
21 AliAnalysisEtMonteCarloPhos *totEtMC = new AliAnalysisEtMonteCarloPhos();
6a84f3df 22 //Look at the 2010 Pb+Pb data...
23 totEtMC->SetDataSet(20100);
964c8159 24 totEtMC->Init();
25 return totEtMC;
26 }
27}