]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/STRANGENESS/LambdaK0PbPb/AliAnalysisTaskCTauPbPbaod.h
AliAnalysisTask for Lambda and K0s analysis for RAA
[u/mrichter/AliRoot.git] / PWGLF / STRANGENESS / LambdaK0PbPb / AliAnalysisTaskCTauPbPbaod.h
1 #ifndef AliAnalysisTaskCTauPbPbaod_h
2 #define AliAnalysisTaskCTauPbPbaod_h
3
4 #include "AliAnalysisTaskSE.h"
5
6 class TH1F;
7 class TH2F;
8 class TH3F;
9 class TList;
10
11 class AliAODEvent;
12 class AliAODv0;
13
14 //
15 //  This is a little task for checking the c*tau of the strange particles 
16 //
17
18 class AliAnalysisTaskCTauPbPbaod : public AliAnalysisTaskSE {
19
20 public:
21
22   AliAnalysisTaskCTauPbPbaod(const char *name = "AliAnalysisTaskCTauPbPbaod");
23   virtual ~AliAnalysisTaskCTauPbPbaod() {}
24
25   void SetCentrality(Double_t min, Double_t max) {fCMin=min;fCMax=max;} 
26   void SetMC(Bool_t isMC=kTRUE) {fIsMC=isMC;} 
27   void SetCosPA(Double_t cospa) {fCPA=cospa;} 
28   void SetDtrDCA(Double_t cospa){fDCA=cospa;} 
29   
30   virtual void   UserCreateOutputObjects();
31   virtual void   UserExec(Option_t *option);
32   virtual void   Terminate(Option_t *);  
33
34
35 private: 
36
37   AliAnalysisTaskCTauPbPbaod(const AliAnalysisTaskCTauPbPbaod&);           //not implemented
38   AliAnalysisTaskCTauPbPbaod& operator=(const AliAnalysisTaskCTauPbPbaod&);//not implemented 
39
40   Bool_t AcceptV0(const AliAODv0 *v0, const AliAODEvent *aod); 
41
42   Bool_t fIsMC;
43   Double_t fCMin;       // Min centrality
44   Double_t fCMax;       // Max centrality
45   Double_t fCPA;        // cos(PA) threshold
46   Double_t fDCA;        // threshold for the DCA between V0 daughters
47
48   TList       *fOutput; //! The list of histograms
49
50   TH1F *fMult;       //! Track multiplicity
51   TH1F *fCosPA;      //! cos(PA)
52   TH1F *fDtrDCA;     //! DCA between V0 daughters
53   TH2F* fdEdx;       //! dEdx
54   TH2F* fdEdxPid;    //! dEdx with PID
55
56
57   TH2F* fK0sM;       //! Mass for K0s
58   TH2F* fK0sSi;      //! Side-band subtracted LvsP  for K0s 
59   TH2F* fK0sMC;      //! LvsP for the K0s from the Monte Carlo stack 
60   TH2F* fK0sAs;      //! LvsP for the K0s associated with the Monte Carlo 
61
62
63   TH2F* fLambdaM;    //! Mass for Lambdas
64   TH2F* fLambdaSi;   //! Side-band subtrated LvsP for Lambda
65   TH2F* fLambdaMC;   //! LvsP for Lambdas from the Monte Carlo stack
66   TH2F* fLambdaAs;   //! LvsP for Lambdas associated with the Monte Carlo
67
68   TH1D* fLambdaEff;  //! Efficiency for Lambda  
69   TH1D* fLambdaPt;   //! Pt spectrum for Lambda
70
71   TH2F* fLambdaBarM;  //! Mass for anti-Lambdas
72   TH2F* fLambdaBarSi; //! Side-band subtrated LvsP for anti-Lambda
73   TH2F* fLambdaBarMC; //! LvsP for anti-Lambdas from the Monte Carlo stack
74   TH2F* fLambdaBarAs; //! LvsP for anti-Lambdas associated with the Monte Carlo
75
76   TH1D* fLambdaBarEff;  //! Efficiency for anti-Lambda  
77   TH1D* fLambdaBarPt;   //! Pt spectrum for anti-Lambda
78
79   TH3F* fLambdaFromXi;//! LvsPvsPxi for Lambdas from Xis associated with MC 
80   TH2F* fXiM;         //! Mass for Xis
81   TH1F* fXiSiP;       //! Side-band subtracted Pt for reconstructed Xi
82
83   TH3F* fLambdaBarFromXiBar;//! LvsPvsPxi for anti-Lambdas from anti-Xis associated with MC 
84   TH2F* fXiBarM;         //! Mass for anti-Xis
85   TH1F* fXiBarSiP;       //! Side-band subtracted Pt for reconstructed anti-Xi
86
87   ClassDef(AliAnalysisTaskCTauPbPbaod,5);
88 };
89
90 #endif