]>
Commit | Line | Data |
---|---|---|
684aef2e | 1 | #ifndef ALIANALYSISTASKCHECKCASCADE_H |
2 | #define ALIANALYSISTASKCHECKCASCADE_H | |
eed7ee51 | 3 | |
4 | /* See cxx source for full Copyright notice */ | |
5 | ||
6 | //----------------------------------------------------------------- | |
45ee0bcc | 7 | // AliAnalysisTaskCheckCascade class |
8 | // (AliAnalysisTaskCheckCascade) | |
684aef2e | 9 | // This task is for QAing the Cascades from ESD and AOD |
eed7ee51 | 10 | // Origin: AliAnalysisTaskESDCheckV0 by B.H. Nov2007, hippolyt@in2p3.fr |
e9c3f0b6 | 11 | // Adapted to Cascade : A.Maire Mar2008, antonin.maire@ires.in2p3.fr |
12 | // Modified : A.Maire Jun2009, antonin.maire@ires.in2p3.fr | |
eed7ee51 | 13 | //----------------------------------------------------------------- |
14 | ||
15 | class TList; | |
16 | class TH1F; | |
6dc8b253 | 17 | class TH2F; |
ff0753e1 | 18 | class TH3F; |
45ee0bcc | 19 | |
20 | ||
21 | #include "TString.h" | |
eed7ee51 | 22 | |
45ee0bcc | 23 | #include "AliAnalysisTaskSE.h" |
eed7ee51 | 24 | |
45ee0bcc | 25 | class AliAnalysisTaskCheckCascade : public AliAnalysisTaskSE { |
eed7ee51 | 26 | public: |
45ee0bcc | 27 | AliAnalysisTaskCheckCascade(); |
28 | AliAnalysisTaskCheckCascade(const char *name); | |
29 | virtual ~AliAnalysisTaskCheckCascade() {} | |
eed7ee51 | 30 | |
45ee0bcc | 31 | virtual void UserCreateOutputObjects(); |
32 | virtual void UserExec(Option_t *option); | |
eed7ee51 | 33 | virtual void Terminate(Option_t *); |
34 | ||
83db4a5d | 35 | void SetCollidingSystems(Short_t collidingSystems = 0) {fCollidingSystems = collidingSystems;} |
36 | void SetAnalysisType (const char* analysisType = "ESD") {fAnalysisType = analysisType;} | |
e9c3f0b6 | 37 | |
45ee0bcc | 38 | private: |
39 | TString fAnalysisType; // "ESD" or "AOD" analysis type | |
40 | Short_t fCollidingSystems; // 0 = pp collisions or 1 = AA collisions | |
eed7ee51 | 41 | |
42 | ||
db166251 | 43 | TList *fListHistCascade; //! List of Cascade histograms |
eed7ee51 | 44 | |
45 | // - General histos (filled for any event) | |
46 | TH1F *fHistTrackMultiplicity; //! Track multiplicity distribution | |
47 | TH1F *fHistCascadeMultiplicity; //! Cascade multiplicity distribution | |
48 | ||
49 | ||
50 | // - Vertex Positions | |
f42573c1 | 51 | TH1F *fHistVtxStatus; //! Is there a tracking vertex in the event ? |
eed7ee51 | 52 | |
f42573c1 | 53 | // Vtx coming from the full tracking |
54 | TH1F *fHistPosTrkgPrimaryVtxX; //! primary vertex position distribution in x | |
55 | TH1F *fHistPosTrkgPrimaryVtxY; //! primary vertex position distribution in y | |
56 | TH1F *fHistPosTrkgPrimaryVtxZ; //! primary vertex position distribution in z | |
57 | TH1F *fHistTrkgPrimaryVtxRadius; //! primary vertex (3D) radius distribution | |
58 | ||
59 | // Best primary Vtx available for the event | |
60 | TH1F *fHistPosBestPrimaryVtxX; //! (best) primary vertex position distribution in x | |
61 | TH1F *fHistPosBestPrimaryVtxY; //! (best) primary vertex position distribution in y | |
62 | TH1F *fHistPosBestPrimaryVtxZ; //! (best) primary vertex position distribution in z | |
63 | TH1F *fHistBestPrimaryVtxRadius; //! (best) primary vertex radius distribution | |
eed7ee51 | 64 | |
f42573c1 | 65 | // Correlation Best Vtx / Full Tracking Vtx |
66 | TH2F *f2dHistTrkgPrimVtxVsBestPrimVtx; //! Radius of prim. Vtx from tracks Vs Radius of best Prim. Vtx | |
eed7ee51 | 67 | |
68 | ||
69 | ||
f42573c1 | 70 | // - Typical histos on the variables used for the selection of cascades |
eed7ee51 | 71 | TH1F *fHistEffMassXi; //! reconstructed cascade effective mass |
72 | TH1F *fHistChi2Xi; //! chi2 value | |
73 | TH1F *fHistDcaXiDaughters; //! dca between Xi's daughters | |
f42573c1 | 74 | TH1F *fHistDcaBachToPrimVertex; //! dca of the bachelor track to primary vertex |
75 | TH1F *fHistXiCosineOfPointingAngle; //! cosine of Xi pointing angle in a cascade | |
eed7ee51 | 76 | TH1F *fHistXiRadius; //! (transverse) radius of the cascade vertex |
77 | ||
f42573c1 | 78 | // - Histos about ~ the "V0 selection part" of the cascade, coming by inheritance from AliESDv0 |
eed7ee51 | 79 | TH1F *fHistMassLambdaAsCascDghter; //! Test Invariant Mass of Lambda coming from Cascade |
f42573c1 | 80 | TH1F *fHistV0Chi2Xi; //! V0 chi2 distribution, for the V0 associated to a cascade |
81 | TH1F *fHistDcaV0DaughtersXi; //! Dca between V0 daughters, for the V0 associated to a cascade | |
db166251 | 82 | TH1F *fHistDcaV0ToPrimVertexXi; //! Dca of V0 to primary vertex, for the V0 associated to a cascade |
83 | TH1F *fHistV0CosineOfPointingAngleXi; //! Cosine of V0 pointing angle, for the V0 associated to a cascade | |
84 | TH1F *fHistV0RadiusXi; //! V0 (transverse) distance distribution, for the V0 associated to a cascade | |
eed7ee51 | 85 | |
db166251 | 86 | TH1F *fHistDcaPosToPrimVertexXi; //! Dca of V0 positive daughter to primary vertex, for the V0 associated to a cascade |
87 | TH1F *fHistDcaNegToPrimVertexXi; //! Dca of V0 negative daughter to primary vertex, for the V0 associated to a cascade | |
eed7ee51 | 88 | |
89 | ||
90 | // - Effective mass histos for cascades. | |
91 | TH1F *fHistMassXiMinus; //! reconstructed cascade effective mass, under Xi- hyp. | |
92 | TH1F *fHistMassXiPlus; //! reconstructed cascade effective mass, under Xi+ hyp. | |
93 | TH1F *fHistMassOmegaMinus; //! reconstructed cascade effective mass, under Omega- hyp. | |
94 | TH1F *fHistMassOmegaPlus; //! reconstructed cascade effective mass, under Omega+ hyp. | |
f87cd3db | 95 | |
96 | TH1F *fHistMassWithCombPIDXiMinus; //! reconstructed Xi- effective mass, with bach. comb PID | |
97 | TH1F *fHistMassWithCombPIDXiPlus; //! reconstructed Xi+ effective mass, with bach. comb PID | |
98 | TH1F *fHistMassWithCombPIDOmegaMinus; //! reconstructed Omega- effective mass, with bach. comb PID | |
99 | TH1F *fHistMassWithCombPIDOmegaPlus; //! reconstructed Omega+ effective mass, with bach. comb PID | |
f42573c1 | 100 | |
101 | // - Complements for QA | |
102 | TH1F *fHistXiTransvMom; //! Xi transverse momentum | |
103 | TH1F *fHistXiTotMom; //! Xi momentum norm | |
104 | ||
105 | TH1F *fHistBachTransvMom; //! bachelor transverse momentum | |
106 | TH1F *fHistBachTotMom; //! bachelor momentum norm | |
107 | ||
108 | TH1F *fHistChargeXi; //! Charge sign of the cascade candidate | |
109 | TH1F *fHistV0toXiCosineOfPointingAngle; //! Cos. of Pointing angle between the V0 mom and the Xi-V0 vtx line | |
eed7ee51 | 110 | |
f42573c1 | 111 | TH1F *fHistRapXi; //! rapidity of Xi candidates |
112 | TH1F *fHistRapOmega; //! rapidity of Omega candidates | |
113 | TH1F *fHistEta; //! eta distrib. of all the cascade candidates | |
114 | TH1F *fHistTheta; //! theta distrib. of all the cascade candidates | |
115 | TH1F *fHistPhi; //! phi distrib. of all the cascade candidates | |
116 | ||
117 | TH2F *f2dHistArmenteros; //! alpha(casc. cand.) Vs PtArm(casc. cand.) | |
45ee0bcc | 118 | |
119 | TH2F *f2dHistEffMassLambdaVsEffMassXiMinus; //! Xi- Eff mass Vs V0 Eff mass, under Xi- hyp. | |
120 | TH2F *f2dHistEffMassXiVsEffMassOmegaMinus; //! Xi- Eff mass Vs Omega- Eff mass, for negative cascades | |
121 | TH2F *f2dHistEffMassLambdaVsEffMassXiPlus; //! Xi+ Eff mass Vs V0 Eff mass, under Xi+ hyp. | |
122 | TH2F *f2dHistEffMassXiVsEffMassOmegaPlus; //! Xi+ Eff mass Vs Omega+ Eff mass, for positive cascades | |
123 | ||
124 | TH2F *f2dHistXiRadiusVsEffMassXiMinus; //! transv. casc. decay radius Vs Xi- Eff mass, under Xi- hyp. | |
125 | TH2F *f2dHistXiRadiusVsEffMassXiPlus; //! transv. casc. decay radius Vs Xi+ Eff mass, under Xi+ hyp. | |
e9c3f0b6 | 126 | TH2F *f2dHistXiRadiusVsEffMassOmegaMinus; //! transv. casc. decay radius Vs Omega- Eff mass, under Omega- hyp. |
127 | TH2F *f2dHistXiRadiusVsEffMassOmegaPlus; //! transv. casc. decay radius Vs Omega+ Eff mass, under Omega+ hyp. | |
128 | ||
ff0753e1 | 129 | TH3F *f3dHistXiPtVsEffMassVsYXiMinus; //! casc. transv. momemtum Vs Xi- Eff mass Vs Y |
130 | TH3F *f3dHistXiPtVsEffMassVsYXiPlus; //! casc. transv. momemtum Vs Xi+ Eff mass Vs Y | |
131 | TH3F *f3dHistXiPtVsEffMassVsYOmegaMinus; //! casc. transv. momemtum Vs Omega- Eff mass Vs Y | |
132 | TH3F *f3dHistXiPtVsEffMassVsYOmegaPlus; //! casc. transv. momemtum Vs Omega+ Eff mass Vs Y | |
eed7ee51 | 133 | |
45ee0bcc | 134 | AliAnalysisTaskCheckCascade(const AliAnalysisTaskCheckCascade&); // not implemented |
135 | AliAnalysisTaskCheckCascade& operator=(const AliAnalysisTaskCheckCascade&); // not implemented | |
eed7ee51 | 136 | |
ff0753e1 | 137 | ClassDef(AliAnalysisTaskCheckCascade, 4); |
eed7ee51 | 138 | }; |
139 | ||
140 | #endif |