]>
Commit | Line | Data |
---|---|---|
eed7ee51 | 1 | #ifndef AliAnalysisTaskESDCheckCascade_cxx |
2 | #define AliAnalysisTaskESDCheckCascade_cxx | |
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 *fListHist_Cascade; //! 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 | // (Vtx coming from the full tracking) | |
49 | TH1F *fHistPos_TrkgPrimaryVtx_x; //! Primary vertex position distribution in x | |
50 | TH1F *fHistPos_TrkgPrimaryVtx_y; //! Primary vertex position distribution in y | |
51 | TH1F *fHistPos_TrkgPrimaryVtx_z; //! Primary vertex position distribution in z | |
52 | TH1F *fHist_TrkgPrimaryVtxRadius; //! Primary vertex (3D) radius distribution | |
53 | ||
54 | // (Vtx coming from the SPD only) | |
55 | TH1F *fHistPos_SPDPrimaryVtx_x; //! Primary vertex position distribution in x | |
56 | TH1F *fHistPos_SPDPrimaryVtx_y; //! Primary vertex position distribution in y | |
57 | TH1F *fHistPos_SPDPrimaryVtx_z; //! Primary vertex position distribution in z | |
58 | TH1F *fHist_SPDPrimaryVtxRadius; //! Primary vertex (3D) radius distribution | |
59 | ||
60 | // Correlation SPD Vtx / Full Tracking Vtx | |
61 | TH2F *f2dHistTrkgPrimVtxVsSPDPrimVtx; //! Radius of Prim. Vtx from tracks Vs Radius of Prim. Vtx from SPD | |
62 | ||
63 | ||
64 | ||
65 | // - Typical histos for cascades | |
66 | TH1F *fHistEffMassXi; //! reconstructed cascade effective mass | |
67 | TH1F *fHistChi2Xi; //! chi2 value | |
68 | TH1F *fHistDcaXiDaughters; //! dca between Xi's daughters | |
69 | TH1F *fHistDcaBachToPrimVertex; //! Dca of the bachelor track to primary vertex | |
70 | TH1F *fHistXiCosineOfPointingAngle; //! Cosine of Xi pointing angle in a cascade | |
71 | TH1F *fHistXiRadius; //! (transverse) radius of the cascade vertex | |
72 | ||
73 | TH1F *fHistXiMom_transv; //! Xi transverse momentum | |
74 | TH1F *fHistXiMom_tot; //! Xi momentum norm | |
75 | ||
76 | TH1F *fHistBachMom_transv; //! bachelor transverse momentum | |
77 | TH1F *fHistBachMom_tot; //! bachelor momentum norm | |
78 | ||
79 | ||
80 | // - Histos about ~ the "V0 part" of the cascade, coming by inheritance from AliESDv0 | |
81 | TH1F *fHistMassLambdaAsCascDghter; //! Test Invariant Mass of Lambda coming from Cascade | |
82 | TH1F *fHistV0Chi2_Xi; //! V0 chi2 distribution, for the V0 associated to a cascade | |
83 | TH1F *fHistDcaV0Daughters_Xi; //! Dca between V0 daughters, for the V0 associated to a cascade | |
84 | TH1F *fHistDcaV0ToPrimVertex_Xi; //! Dca of V0 to primary vertex, for the V0 associated to a cascade | |
85 | TH1F *fHistV0CosineOfPointingAngle_Xi; //! Cosine of V0 pointing angle, for the V0 associated to a cascade | |
86 | TH1F *fHistV0Radius_Xi; //! V0 (transverse) distance distribution, for the V0 associated to a cascade | |
87 | ||
88 | TH1F *fHistDcaPosToPrimVertex_Xi; //! Dca of V0 positive daughter to primary vertex, for the V0 associated to a cascade | |
89 | TH1F *fHistDcaNegToPrimVertex_Xi; //! Dca of V0 negative daughter to primary vertex, for the V0 associated to a cascade | |
90 | ||
91 | ||
92 | // - Effective mass histos for cascades. | |
93 | TH1F *fHistMassXiMinus; //! reconstructed cascade effective mass, under Xi- hyp. | |
94 | TH1F *fHistMassXiPlus; //! reconstructed cascade effective mass, under Xi+ hyp. | |
95 | TH1F *fHistMassOmegaMinus; //! reconstructed cascade effective mass, under Omega- hyp. | |
96 | TH1F *fHistMassOmegaPlus; //! reconstructed cascade effective mass, under Omega+ hyp. | |
97 | ||
98 | ||
99 | ||
100 | AliAnalysisTaskESDCheckCascade(const AliAnalysisTaskESDCheckCascade&); // not implemented | |
101 | AliAnalysisTaskESDCheckCascade& operator=(const AliAnalysisTaskESDCheckCascade&); // not implemented | |
102 | ||
103 | ClassDef(AliAnalysisTaskESDCheckCascade, 1); | |
104 | }; | |
105 | ||
106 | #endif |