1 #ifndef AliAnalysisTaskCTauPbPbaod_h
2 #define AliAnalysisTaskCTauPbPbaod_h
4 #include "AliAnalysisTaskSE.h"
15 // This is a little task for checking the c*tau of the strange particles
18 class AliAnalysisTaskCTauPbPbaod : public AliAnalysisTaskSE {
22 AliAnalysisTaskCTauPbPbaod(const char *name = "AliAnalysisTaskCTauPbPbaod");
23 virtual ~AliAnalysisTaskCTauPbPbaod() {}
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;}
30 virtual void UserCreateOutputObjects();
31 virtual void UserExec(Option_t *option);
32 virtual void Terminate(Option_t *);
37 AliAnalysisTaskCTauPbPbaod(const AliAnalysisTaskCTauPbPbaod&); //not implemented
38 AliAnalysisTaskCTauPbPbaod& operator=(const AliAnalysisTaskCTauPbPbaod&);//not implemented
40 Bool_t AcceptV0(const AliAODv0 *v0, const AliAODEvent *aod);
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
48 TList *fOutput; //! The list of histograms
50 TH1F *fMult; //! Track multiplicity
51 TH1F *fCosPA; //! cos(PA)
52 TH1F *fDtrDCA; //! DCA between V0 daughters
54 TH2F* fdEdxPid; //! dEdx with PID
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
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
68 TH1D* fLambdaEff; //! Efficiency for Lambda
69 TH1D* fLambdaPt; //! Pt spectrum for Lambda
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
76 TH1D* fLambdaBarEff; //! Efficiency for anti-Lambda
77 TH1D* fLambdaBarPt; //! Pt spectrum for anti-Lambda
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
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
87 ClassDef(AliAnalysisTaskCTauPbPbaod,5);