]>
Commit | Line | Data |
---|---|---|
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 | ||
10 | ||
11 | AliAnalysisEtMonteCarlo * ConfigEtMonteCarlo(Bool_t EMCAL = true, Bool_t DETAIL = false){ | |
12 | //Bool_t EMCAL = true; | |
13 | if(EMCAL){ | |
14 | if(DETAIL){ | |
15 | AliAnalysisEmEtMonteCarlo *totEtMC = new AliAnalysisEmEtMonteCarlo(); | |
16 | //Look at the 2010 Pb+Pb data... | |
17 | totEtMC->SetDataSet(20100); | |
18 | totEtMC->Init(); | |
19 | return totEtMC; | |
20 | } | |
21 | else{ | |
22 | AliAnalysisEtMonteCarloEmcal *totEtMC = new AliAnalysisEtMonteCarloEmcal(); | |
23 | //Look at the 2010 Pb+Pb data... | |
24 | totEtMC->SetDataSet(20100); | |
25 | totEtMC->CalcTrackMatchVsMult(); | |
26 | totEtMC->CalcForKaonCorrection(); | |
27 | totEtMC->Init(); | |
28 | return totEtMC; | |
29 | } | |
30 | } | |
31 | else{ | |
32 | AliAnalysisEtMonteCarloPhos *totEtMC = new AliAnalysisEtMonteCarloPhos(); | |
33 | //Look at the 2010 Pb+Pb data... | |
34 | totEtMC->SetDataSet(20100); | |
35 | totEtMC->CalcTrackMatchVsMult(); | |
36 | totEtMC->CalcForKaonCorrection(); | |
37 | totEtMC->Init(); | |
38 | return totEtMC; | |
39 | } | |
40 | } |