1 #ifndef AliAnalysisTaskCTauPbPbaod_h
2 #define AliAnalysisTaskCTauPbPbaod_h
4 #include "AliAnalysisTaskSE.h"
17 // This is a little task for checking the c*tau of the strange particles
20 class AliAnalysisTaskCTauPbPbaod : public AliAnalysisTaskSE {
24 AliAnalysisTaskCTauPbPbaod(const char *name = "AliAnalysisTaskCTauPbPbaod");
25 virtual ~AliAnalysisTaskCTauPbPbaod() {}
27 void SetCentrality(Double_t min, Double_t max) {fCMin=min;fCMax=max;}
28 void SetMC(Bool_t isMC=kTRUE) {fIsMC=isMC;}
30 void SetCosPA(Double_t cospa) {fCPA=cospa;}
31 void SetDtrDCA(Double_t cospa){fDCA=cospa;}
32 void SetTPCrows(Double_t cospa){fTPCcr=cospa;}
33 void SetTPCratio(Double_t cospa){fTPCcrfd=cospa;}
34 void SetPrimDCA(Double_t cospa){fDCApv=cospa;}
35 void SetRmin(Double_t rmin){fRmin=rmin;}
36 void SetRmax(Double_t rmax){fRmax=rmax;}
39 virtual void UserCreateOutputObjects();
40 virtual void UserExec(Option_t *option);
41 virtual void Terminate(Option_t *);
46 AliAnalysisTaskCTauPbPbaod(const AliAnalysisTaskCTauPbPbaod&); //not implemented
47 AliAnalysisTaskCTauPbPbaod& operator=(const AliAnalysisTaskCTauPbPbaod&);//not implemented
49 Bool_t AcceptTrack(const AliAODTrack *t);
50 Bool_t AcceptV0(const AliAODv0 *v0, const AliAODEvent *aod);
51 Bool_t AcceptCascade(const AliAODcascade *cs, const AliAODEvent *aod);
54 Double_t fCMin; // Min centrality
55 Double_t fCMax; // Max centrality
56 Double_t fCPA; // cos(PA) threshold
57 Double_t fDCA; // threshold for the DCA between V0 daughters
58 Double_t fTPCcr; // threshold for the number of crossed TPC pad rows
59 Double_t fTPCcrfd; // threshold for the ratio of TPC crossed/findable rows
60 Double_t fDCApv; // threshold for the DCA wrt the primary vertex
61 Double_t fRmin; // Min radius of the fiducial volume
62 Double_t fRmax; // Max radius of the fiducial volume
64 TList *fOutput; //! The list of histograms
66 TH1F *fMult; //! Track multiplicity
68 TH1F *fCosPA; //! cos(PA)
69 TH1F *fDtrDCA; //! DCA between V0 daughters
70 TH1F *fTPCrows; //! number of crossed TPC pad rows
71 TH1F *fTPCratio; //! ratio of TPC crossed/findable rows
72 TH1F *fPrimDCA; //! DCA wrt the primary vertex
73 TH1F *fR; //! Radial positions of the V0 vertices
76 TH2F* fdEdxPid; //! dEdx with PID
79 TH2F* fK0sM; //! Mass for K0s
80 TH2F* fK0sSi; //! Side-band subtracted LvsP for K0s
81 TH2F* fK0sMC; //! LvsP for the K0s from the Monte Carlo stack
82 TH2F* fK0sAs; //! LvsP for the K0s associated with the Monte Carlo
85 TH2F* fLambdaM; //! Mass for Lambdas
86 TH2F* fLambdaSi; //! Side-band subtrated LvsP for Lambda
87 TH2F* fLambdaMC; //! LvsP for Lambdas from the Monte Carlo stack
88 TH2F* fLambdaAs; //! LvsP for Lambdas associated with the Monte Carlo
90 TH1D* fLambdaEff; //! Efficiency for Lambda
91 TH1D* fLambdaPt; //! Pt spectrum for Lambda
93 TH2F* fLambdaBarM; //! Mass for anti-Lambdas
94 TH2F* fLambdaBarSi; //! Side-band subtrated LvsP for anti-Lambda
95 TH2F* fLambdaBarMC; //! LvsP for anti-Lambdas from the Monte Carlo stack
96 TH2F* fLambdaBarAs; //! LvsP for anti-Lambdas associated with the Monte Carlo
98 TH1D* fLambdaBarEff; //! Efficiency for anti-Lambda
99 TH1D* fLambdaBarPt; //! Pt spectrum for anti-Lambda
101 TH3F* fLambdaFromXi;//! LvsPvsPxi for Lambdas from Xis associated with MC
102 TH2F* fXiM; //! Mass for Xis
103 TH1F* fXiSiP; //! Side-band subtracted Pt for reconstructed Xi
105 TH3F* fLambdaBarFromXiBar;//! LvsPvsPxi for anti-Lambdas from anti-Xis associated with MC
106 TH2F* fXiBarM; //! Mass for anti-Xis
107 TH1F* fXiBarSiP; //! Side-band subtracted Pt for reconstructed anti-Xi
109 ClassDef(AliAnalysisTaskCTauPbPbaod,5);