]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGCF/Correlations/DPhi/FourierDecomposition/AliMCTruthCent.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGCF / Correlations / DPhi / FourierDecomposition / AliMCTruthCent.h
CommitLineData
ceeaa699 1#ifndef ALIMCTRUTHCENT_H
2#define ALIMCTRUTHCENT_H
3
4class TList;
5class TH1;
6class TH2;
7
8class AliESDEvent;
9class AliMCEvent;
10class AliVParticle;
11
12#include "AliAnalysisTaskSE.h"
13
14class AliMCTruthCent : public AliAnalysisTaskSE {
15 public:
16 AliMCTruthCent();
17 AliMCTruthCent(const char *name);
18 virtual ~AliMCTruthCent();
19
20 void SetV0ARange(Double_t mL, Double_t mH) { fV0ALo = mL; fV0AHi = mH; }
21 void SetV0CRange(Double_t mL, Double_t mH) { fV0CLo = mL; fV0CHi = mH; }
22 void SetV0MRange(Double_t mL, Double_t mH) { fV0MLo = mL; fV0MHi = mH; }
23 void SetFillHistos() { fFillHistos=kTRUE; DefineOutput(1, TList::Class()); }
24 void UserCreateOutputObjects();
25 void UserExec(Option_t *option);
26
27 protected:
28 AliVParticle *GetTrack(Int_t i);
29
30 TList * fOutputList; //! Output list
31 Bool_t fFillHistos; //! flag to fill the QA histos
32 TH1D * fHMultV0A; //!
33 TH1D * fHMultV0C; //!
34 TH1D * fHMultV0M; //!
35 TH2D * fHMultV0AvsV0C; //!
36 TH1D * fHCentV0A; //!
37 TH1D * fHCentV0C; //!
38 TH1D * fHCentV0M; //!
39 TH2D * fHCentV0AvsV0C; //!
40 Double_t fV0ALo; //! for linear centrality approximation
41 Double_t fV0AHi; //!
42 Double_t fV0CLo; //!
43 Double_t fV0CHi; //!
44 Double_t fV0MLo; //!
45 Double_t fV0MHi; //!
46
47 private:
48 AliMCTruthCent(const AliMCTruthCent&); // not implemented
49 AliMCTruthCent &operator=(const AliMCTruthCent&); // not implemented
50
51 ClassDef(AliMCTruthCent, 1); // Task to select tracks in MC events
52};
53#endif