]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/SPECTRA/AliAnalysisTaskESDCheckCascade.h
Adding more QA histograms: eta vs phi vs Nclusters
[u/mrichter/AliRoot.git] / PWG2 / SPECTRA / AliAnalysisTaskESDCheckCascade.h
1 #ifndef ALIANALYSISTASKESDCHECKCASCADE_H
2 #define ALIANALYSISTASKESDCHECKCASCADE_H
3
4 /*  See cxx source for full Copyright notice */
5
6 //-----------------------------------------------------------------
7 //                 AliAnalysisTaskESDCheckCascade class
8 //            (AliAnalysisTaskESDCheckCascade)
9 //            This task is for QAing the Cascades from the ESD
10 //              Origin:  AliAnalysisTaskESDCheckV0 by B.H. Nov2007, hippolyt@in2p3.fr
11 //            Adapted to Cascade : A.M Mar2008, antonin.maire@ires.in2p3.fr
12 //-----------------------------------------------------------------
13
14 class TList;
15 class TH1F;
16 class AliESDEvent;
17
18 #include "AliAnalysisTask.h"
19
20 class AliAnalysisTaskESDCheckCascade : public AliAnalysisTask {
21  public:
22   AliAnalysisTaskESDCheckCascade();
23   AliAnalysisTaskESDCheckCascade(const char *name);
24   virtual ~AliAnalysisTaskESDCheckCascade() {}
25   
26   virtual void   ConnectInputData(Option_t *);
27   virtual void   CreateOutputObjects();
28   virtual void   Exec(Option_t *option);
29   virtual void   Terminate(Option_t *);
30   
31  private:
32   AliESDInputHandler *fesdH;            //! InputHandler object
33   AliMCEvent  *fMCevent;                //! MC event object
34   AliESDEvent *fESD;                    //! ESD object
35   
36  
37         
38         
39
40                 TList   *fListHistCascade;              //! List of Cascade histograms
41         
42         // - General histos (filled for any event)
43         TH1F    *fHistTrackMultiplicity;                //! Track multiplicity distribution
44         TH1F    *fHistCascadeMultiplicity;              //! Cascade multiplicity distribution
45
46
47         // - Vertex Positions
48         TH1F    *fHistVtxStatus;                        //! Is there a tracking vertex in the event ?
49
50                 // Vtx coming from the full tracking
51         TH1F    *fHistPosTrkgPrimaryVtxX;               //! primary vertex position distribution in x 
52         TH1F    *fHistPosTrkgPrimaryVtxY;               //! primary vertex position distribution in y
53         TH1F    *fHistPosTrkgPrimaryVtxZ;               //! primary vertex position distribution in z
54         TH1F    *fHistTrkgPrimaryVtxRadius;             //! primary vertex (3D) radius distribution 
55
56                 // Best primary Vtx available for the event
57         TH1F    *fHistPosBestPrimaryVtxX;               //! (best) primary vertex position distribution in x 
58         TH1F    *fHistPosBestPrimaryVtxY;               //! (best) primary vertex position distribution in y
59         TH1F    *fHistPosBestPrimaryVtxZ;               //! (best) primary vertex position distribution in z
60         TH1F    *fHistBestPrimaryVtxRadius;             //! (best) primary vertex radius distribution 
61         
62                 // Correlation Best Vtx / Full Tracking Vtx
63         TH2F    *f2dHistTrkgPrimVtxVsBestPrimVtx;       //!  Radius of prim. Vtx from tracks Vs Radius of best Prim. Vtx
64         
65         
66         
67         // - Typical histos on the variables used for the selection of cascades
68         TH1F    *fHistEffMassXi;                        //! reconstructed cascade effective mass
69         TH1F    *fHistChi2Xi;                           //! chi2 value
70         TH1F    *fHistDcaXiDaughters;                   //! dca between Xi's daughters
71         TH1F    *fHistDcaBachToPrimVertex;              //! dca of the bachelor track to primary vertex
72         TH1F    *fHistXiCosineOfPointingAngle;          //! cosine of Xi pointing angle in a cascade
73         TH1F    *fHistXiRadius;                         //! (transverse) radius of the cascade vertex 
74                 
75         // - Histos about ~ the "V0 selection part" of the cascade,  coming by inheritance from AliESDv0
76         TH1F    *fHistMassLambdaAsCascDghter;           //! Test Invariant Mass of Lambda coming from Cascade
77         TH1F    *fHistV0Chi2Xi;                         //! V0 chi2 distribution, for the V0 associated to a cascade
78         TH1F    *fHistDcaV0DaughtersXi;                 //! Dca between V0 daughters, for the V0 associated to a cascade
79         TH1F    *fHistDcaV0ToPrimVertexXi;              //! Dca of V0 to primary vertex, for the V0 associated to a cascade     
80         TH1F    *fHistV0CosineOfPointingAngleXi;        //! Cosine of V0 pointing angle, for the V0 associated to a cascade
81         TH1F    *fHistV0RadiusXi;                       //! V0 (transverse) distance distribution, for the V0 associated to a cascade
82
83         TH1F    *fHistDcaPosToPrimVertexXi;             //! Dca of V0 positive daughter to primary vertex, for the V0 associated to a cascade
84         TH1F    *fHistDcaNegToPrimVertexXi;             //! Dca of V0 negative daughter to primary vertex, for the V0 associated to a cascade
85         
86
87         // - Effective mass histos for cascades.
88         TH1F    *fHistMassXiMinus;                      //! reconstructed cascade effective mass, under Xi- hyp.
89         TH1F    *fHistMassXiPlus;                       //! reconstructed cascade effective mass, under Xi+ hyp.
90         TH1F    *fHistMassOmegaMinus;                   //! reconstructed cascade effective mass, under Omega- hyp.
91         TH1F    *fHistMassOmegaPlus;                    //! reconstructed cascade effective mass, under Omega+ hyp.
92
93         // - Complements for QA
94         TH1F    *fHistXiTransvMom;                      //! Xi transverse momentum 
95         TH1F    *fHistXiTotMom;                         //! Xi momentum norm
96         
97         TH1F    *fHistBachTransvMom;                    //! bachelor transverse momentum 
98         TH1F    *fHistBachTotMom;                       //! bachelor momentum norm
99                                 
100         TH1F    *fHistChargeXi;                         //! Charge sign of the cascade candidate
101         TH1F    *fHistV0toXiCosineOfPointingAngle;      //! Cos. of Pointing angle between the V0 mom and the Xi-V0 vtx line
102   
103         TH1F    *fHistRapXi;                            //! rapidity of Xi candidates
104         TH1F    *fHistRapOmega;                         //! rapidity of Omega candidates
105         TH1F    *fHistEta;                              //! eta distrib. of all the cascade candidates
106         TH1F    *fHistTheta;                            //! theta distrib. of all the cascade candidates
107         TH1F    *fHistPhi;                              //! phi distrib. of all the cascade candidates
108         
109         TH2F    *f2dHistArmenteros;                     //! alpha(casc. cand.) Vs PtArm(casc. cand.)
110         TH2F    *f2dHistEffMassXiVsEffMassLambda;       //! Xi- Eff mass Vs V0 Eff mass, under Xi- hyp.
111         TH2F    *f2dHistXiRadiusVsEffMassXi;            //! transv. casc. decay radius Vs Xi- Eff mass, under Xi- hyp.
112
113   AliAnalysisTaskESDCheckCascade(const AliAnalysisTaskESDCheckCascade&);            // not implemented
114   AliAnalysisTaskESDCheckCascade& operator=(const AliAnalysisTaskESDCheckCascade&); // not implemented
115   
116   ClassDef(AliAnalysisTaskESDCheckCascade, 2);
117 };
118
119 #endif