]>
Commit | Line | Data |
---|---|---|
c31562f7 | 1 | //These functions are needed for the plugin to work. Values have to be set by hand. |
2 | Bool_t GetIsEMCAL(){ | |
3 | return kTRUE; | |
4 | } | |
5 | ||
6 | Bool_t GetIsMC(){ | |
7 | return kTRUE; | |
8 | } | |
9 | ||
964c8159 | 10 | |
8128f09a | 11 | AliAnalysisEtMonteCarlo * 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); | |
d45a33b8 | 25 | totEtMC->CalcTrackMatchVsMult(); |
26 | totEtMC->CalcForKaonCorrection(); | |
8128f09a | 27 | totEtMC->Init(); |
28 | return totEtMC; | |
29 | } | |
964c8159 | 30 | } |
31 | else{ | |
32 | AliAnalysisEtMonteCarloPhos *totEtMC = new AliAnalysisEtMonteCarloPhos(); | |
6a84f3df | 33 | //Look at the 2010 Pb+Pb data... |
34 | totEtMC->SetDataSet(20100); | |
d45a33b8 | 35 | totEtMC->CalcTrackMatchVsMult(); |
36 | totEtMC->CalcForKaonCorrection(); | |
964c8159 | 37 | totEtMC->Init(); |
38 | return totEtMC; | |
39 | } | |
40 | } |