]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/STRANGENESS/Cascades/AliAnalysisTaskCheckPerformanceCascadePbPb.h
Merge branch 'TPCdev' of https://git.cern.ch/reps/AliRoot into TPCdev
[u/mrichter/AliRoot.git] / PWGLF / STRANGENESS / Cascades / AliAnalysisTaskCheckPerformanceCascadePbPb.h
1 #ifndef ALIANALYSISTASKCHECKPERFORMANCECASCADEPBPB_H
2 #define ALIANALYSISTASKCHECKPERFORMANCECASCADEPBPB_H
3
4 /*  See cxx source for full Copyright notice */
5
6 // //-----------------------------------------------------------------
7 // //        AliAnalysisTaskCheckPerformanceCascadePbPb class
8 // //            This task is for a performance study of cascade identification.
9 // //            It works with MC info and ESD and AOD tree 
10 // //            Origin   : A.Maire Jan2010, antonin.maire@ires.in2p3.fr
11 // //            Modified : M.Nicassio Feb2011, maria.nicassio@ba.infn.it
12 // //-----------------------------------------------------------------
13
14 class TList;
15 class TH1F;
16 class TH2F;
17 class TH3F; 
18 class AliESDEvent;
19 class AliESDtrackCuts;
20 class AliCFContainer;
21 class AliPIDResponse;
22
23 #include "AliAnalysisTaskSE.h"
24
25 class AliAnalysisTaskCheckPerformanceCascadePbPb : public AliAnalysisTaskSE {
26  public:
27  
28   AliAnalysisTaskCheckPerformanceCascadePbPb();
29   AliAnalysisTaskCheckPerformanceCascadePbPb(const char *name );
30   virtual ~AliAnalysisTaskCheckPerformanceCascadePbPb();
31   
32   virtual void   UserCreateOutputObjects();
33   virtual void   UserExec(Option_t *option);
34   virtual void   Terminate(Option_t *);
35   
36   void SetAnalysisType     (const char* analysisType    = "ESD") { fAnalysisType     = analysisType;}
37   
38   void SetRelaunchV0CascVertexers    (Bool_t rerunV0CascVertexers       = 0    ) { fkRerunV0CascVertexers         = rerunV0CascVertexers;      }
39   void SetQualityCutZprimVtxPos      (Bool_t qualityCutZprimVtxPos      = kTRUE) { fkQualityCutZprimVtxPos        = qualityCutZprimVtxPos;     }
40   void SetRejectEventPileUp          (Bool_t rejectPileUp               = kTRUE) { fkRejectEventPileUp            = rejectPileUp;              }
41   void SetQualityCutNoTPConlyPrimVtx (Bool_t qualityCutNoTPConlyPrimVtx = kTRUE) { fkQualityCutNoTPConlyPrimVtx   = qualityCutNoTPConlyPrimVtx;}
42   void SetQualityCutTPCrefit         (Bool_t qualityCutTPCrefit         = kTRUE) { fkQualityCutTPCrefit           = qualityCutTPCrefit;        }
43   void SetQualityCutnTPCcls          (Bool_t qualityCutnTPCcls          = kTRUE) { fkQualityCutnTPCcls            = qualityCutnTPCcls;         }
44   void SetQualityCutMinnTPCcls       (Int_t minnTPCcls                  = 70   ) { fMinnTPCcls                    = minnTPCcls;                }
45   void SetExtraSelections            (Bool_t extraSelections            = 0    ) { fkExtraSelections              = extraSelections;           }
46   void SetCentralityLowLim           (Float_t centrlowlim               = 0.   ) { fCentrLowLim                   = centrlowlim;               }
47   void SetCentralityUpLim            (Float_t centruplim                = 100. ) { fCentrUpLim                    = centruplim;                }
48   void SetCentralityEst              (TString centrest                  = "V0M") { fCentrEstimator                = centrest;                  }  
49   void SetUseCleaning                (Bool_t   usecleaning              = kTRUE) { fkUseCleaning                  = usecleaning;               }
50   void SetVertexRange                (Float_t vtxrange                  = 0.   ) { fVtxRange                      = vtxrange;                  }
51   void SetApplyAccCut                (Bool_t acccut                     = kFALSE){ fApplyAccCut                   = acccut;                    }    
52   void SetMinptCutOnDaughterTracks   (Float_t minptdaughtrks            = 0.   ) { fMinPtCutOnDaughterTracks      = minptdaughtrks;            }
53   void SetEtaCutOnDaughterTracks   (Float_t etadaughtrks              = 0.   ) { fEtaCutOnDaughterTracks      = etadaughtrks;             }
54
55  private:
56         // Note : In ROOT, "//!" means "do not stream the data from Master node to Worker node" ...
57         // your data member object is created on the worker nodes and streaming is not needed.
58         // http://root.cern.ch/download/doc/11InputOutput.pdf, page 14
59
60         TString         fAnalysisType;          // "ESD" or "AOD" analysis type 
61         AliESDtrackCuts *fESDtrackCuts;         // ESD track cuts used for primary track definition
62       //TPaveText       *fPaveTextBookKeeping;  // TString to store all the relevant info necessary for book keeping (v0 cuts, cascade cuts, quality cuts, ...)
63         AliPIDResponse *fPIDResponse;           //! PID response object        
64
65         Bool_t          fkRerunV0CascVertexers;         // Boolean : kTRUE = relaunch both V0 + Cascade vertexers
66         Bool_t          fkQualityCutZprimVtxPos;        // Boolean : kTRUE = cut on the prim.vtx  z-position
67         Bool_t          fkRejectEventPileUp;            // Boolean : kTRUE = enable the rejection of events tagged as pile-up by SPD (AliESDEvent::IsPileupFromSPD)
68         Bool_t          fkQualityCutNoTPConlyPrimVtx;   // Boolean : kTRUE = prim vtx should be SPD or Tracking vertex
69         Bool_t          fkQualityCutTPCrefit;           // Boolean : kTRUE = ask for TPCrefit for the 3 daughter tracks
70         Bool_t          fkQualityCutnTPCcls;            // Boolean : kTRUE = ask forat least n TPC clusters for each daughter track
71         Int_t           fMinnTPCcls;                    // Minimum number of TPC clusters for each daughter track
72         Bool_t          fkExtraSelections;              // Boolean : kTRUE = apply tighter selections, before starting the analysis
73         Float_t         fCentrLowLim;                   // Lower limit for centrality percentile selection
74         Float_t         fCentrUpLim;                    // Upper limit for centrality percentile selection
75         TString         fCentrEstimator;                // String for the centrality estimator
76         Bool_t          fkUseCleaning;                  // Boolean : kTRUE = uses all the cleaning criteria of centrality selections (vertex cut + outliers) otherwise only outliers
77         Float_t         fVtxRange;                      // to select events with |zvtx|<fVtxRange cm
78         Bool_t          fApplyAccCut;                   // flag to apply acceptance cuts to MC cascades        
79         Float_t         fMinPtCutOnDaughterTracks;      // minimum pt to cut daughter tracks   
80         Float_t         fEtaCutOnDaughterTracks;        // pseudorapidity cut on daughter tracks
81  
82
83         Double_t        fV0Sels[7];                     // Array to store the 7 values for the different selections V0 related (if fkRerunV0CascVertexers)
84         Double_t        fCascSels[8];                   // Array to store the 8 values for the different selections Casc. related (if fkRerunV0CascVertexers)
85         
86         TList   *fListHistCascade;              //! List of Cascade histograms
87
88                 // - Histos
89         TH2F    *fHistEvtsInCentralityBinsvsNtracks;    //! Events in centrality bins vs N ESDtracks
90         TH1F    *fHistBestVtxX;                //! Vertex distribution
91         TH1F    *fHistBestVtxY;                //! Vertex distribution
92         TH1F    *fHistBestVtxZ;                //! Vertex distribution
93         TH1F    *fHistnXiPlusPerEvTot;         //! Cascade multiplicity histogram
94         TH1F    *fHistnXiMinusPerEvTot;        //! Cascade multiplicity histogram
95         TH1F    *fHistnOmegaPlusPerEvTot;      //! Cascade multiplicity histogram
96         TH1F    *fHistnOmegaMinusPerEvTot;     //! Cascade multiplicity histogram
97
98         TH1F    *fHistnXiPlusPerEv;             //! Cascade multiplicity histograms          
99         TH1F    *fHistnXiMinusPerEv;            //! Cascade multiplicity histograms
100         TH1F    *fHistnOmegaPlusPerEv;          //! Cascade multiplicity histograms
101         TH1F    *fHistnOmegaMinusPerEv;         //! Cascade multiplicity histograms 
102
103         TH1F    *fHistnAssoXiMinus;             //! Cascade multiplicity histograms
104         TH1F    *fHistnAssoXiPlus;              //! Cascade multiplicity histograms
105         TH1F    *fHistnAssoOmegaMinus;          //! Cascade multiplicity histograms
106         TH1F    *fHistnAssoOmegaPlus;           //! Cascade multiplicity histograms
107
108         TH1F    *fHistMCTrackMultiplicity;      //! MC Track multiplicity (gen. primaries)
109                 // - Resolution of the multiplicity estimator
110         TH2F    *f2dHistRecoMultVsMCMult;       //! resolution of the multiplicity estimator (based on primary tracks)
111         
112         
113         // proton
114         TH1F    *fHistEtaGenProton;                     //! MC Pseudo-rapidity of any generated p+ (no cuts in acceptance)
115         TH1F    *fHistEtaGenAntiProton;                 //! MC Pseudo-rapidity of any generated p+ (no cuts in acceptance)
116
117 // Part 1 - Generated cascades
118         
119         //--------------
120         // Xi-
121         TH1F    *fHistEtaGenCascXiMinus;                //! MC Pseudo-rapidity of any generated Xi- (no cuts in acceptance)
122         TH3D    *f3dHistGenPtVsGenYvsCentXiMinusNat;
123         TH3D    *f3dHistGenPtVsGenYvsNtracksXiMinusNat;
124         TH3D    *f3dHistGenPtVsGenYvsCentXiMinusInj;
125         TH3D    *f3dHistGenPtVsGenYvsNtracksXiMinusInj;
126         TH3D    *f3dHistGenPtVsGenctauvsCentXiMinusNat;
127         TH3D    *f3dHistGenPtVsGenctauvsCentXiMinusInj; 
128
129         TH1F    *fHistThetaGenCascXiMinusNat;           //! MC Theta angle of the generated Xi-
130         TH1F    *fHistThetaGenCascXiMinusInj;           //! MC Theta angle of the injected Xi-
131         // - Histos planned for Xi- emitted within the acceptance (cuts in theta + pt of daughters)
132         //      = findable cascades
133         TH2D    *f2dHistGenPtVsGenYFdblXiMinus;         //! MC Pt Vs MC y of the findable Xi-
134         
135         TH1F    *fHistThetaLambdaXiMinus;               //! MC Theta angle of the Lambda daughter of the generated Xi-
136         TH1F    *fHistThetaBachXiMinus;                 //! MC Theta angle of the Bachelor (pi-)
137         
138         TH1F    *fHistThetaMesDghterXiMinus;            //! MC Theta angle of the mesonic  V0 daughter in the generated cascade, pi-
139         TH1F    *fHistThetaBarDghterXiMinus;            //! MC Theta angle of the baryonic V0 daughter in the generated cascade, p+
140         
141         TH1F    *fHistPtBachXiMinus;                    //! MC Pt of the Bachelor (pi-)                         (Control Plot)
142         TH1F    *fHistPtMesDghterXiMinus;               //! MC Pt of the meson daughter of the 'Lambda0', pi-   (Control Plot)
143         TH1F    *fHistPtBarDghterXiMinus;               //! MC Pt of the baryon daughter of the 'Lambda0', p+   (Control Plot)
144         
145         TH1F    *fHistPtRecBachXiMinus;                 //! Rec Pt of the Bachelor (for Xi-)                    (Control Plot)
146         TH1F    *fHistPtRecMesDghterXiMinus;            //! Rec Pt of the meson daughter of the 'Lambda0', pi-   (Control Plot)
147         TH1F    *fHistPtRecBarDghterXiMinus;            //! Rec Pt of the baryon daughter of the 'Lambda0', p+   (Control Plot)
148         
149         
150         //--------------
151         // Xi+
152         TH1F    *fHistEtaGenCascXiPlus;                 //! MC Pseudo-rapidity of any generated Xi+ (no cuts in acceptance)
153         TH3D    *f3dHistGenPtVsGenYvsCentXiPlusNat;
154         TH3D    *f3dHistGenPtVsGenYvsNtracksXiPlusNat;
155         TH3D    *f3dHistGenPtVsGenYvsCentXiPlusInj;
156         TH3D    *f3dHistGenPtVsGenYvsNtracksXiPlusInj;
157         TH3D    *f3dHistGenPtVsGenctauvsCentXiPlusNat;
158         TH3D    *f3dHistGenPtVsGenctauvsCentXiPlusInj;
159         
160         TH1F    *fHistThetaGenCascXiPlusNat;            //! MC Theta angle of the generated Xi+
161         TH1F    *fHistThetaGenCascXiPlusInj;            //! MC Theta angle of the injected Xi+
162         // - Histos planned for Xi+ emitted within the acceptance (cuts in theta + pt of daughters)
163         TH2D    *f2dHistGenPtVsGenYFdblXiPlus;          //! MC Pt Vs MC y of the findable Xi+
164         
165         TH1F    *fHistThetaLambdaXiPlus;                //! MC Theta angle of the anti-Lambda daughter of the generated Xi+
166         TH1F    *fHistThetaBachXiPlus;                  //! MC Theta angle of the Bachelor (pi+)
167         
168         TH1F    *fHistThetaMesDghterXiPlus;             //! MC Theta angle of the mesonic  V0 daughter in the generated cascade, pi+
169         TH1F    *fHistThetaBarDghterXiPlus;             //! MC Theta angle of the baryonic V0 daughter in the generated cascade, p-
170         
171         TH1F    *fHistPtBachXiPlus;                     //! MC Pt of the Bachelor (pi+)                       (Control Plot)
172         TH1F    *fHistPtMesDghterXiPlus;                //! MC Pt of the meson daughter of the 'Lambda0', pi+ (Control Plot)
173         TH1F    *fHistPtBarDghterXiPlus;                //! MC Pt of the baryon daughter of the 'Lambda0', p- (Control Plot)
174         
175         
176         
177         //--------------
178         // Omega-
179         TH1F    *fHistEtaGenCascOmegaMinus;             //! MC Pseudo-rapidity of any generated Omega- (no cuts in acceptance)
180         TH3D    *f3dHistGenPtVsGenYvsCentOmegaMinusNat;
181         TH3D    *f3dHistGenPtVsGenYvsNtracksOmegaMinusNat;
182         TH3D    *f3dHistGenPtVsGenYvsCentOmegaMinusInj;
183         TH3D    *f3dHistGenPtVsGenYvsNtracksOmegaMinusInj;
184         TH3D    *f3dHistGenPtVsGenctauvsCentOmegaMinusNat;
185         TH3D    *f3dHistGenPtVsGenctauvsCentOmegaMinusInj;
186
187         TH1F    *fHistThetaGenCascOmegaMinusNat;        //! MC Theta angle of the generated Omega-
188         TH1F    *fHistThetaGenCascOmegaMinusInj;        //! MC Theta angle of the injected Omega-
189         // - Histos planned for Omega- emitted within the acceptance (cuts in theta + pt of daughters)
190         TH2D    *f2dHistGenPtVsGenYFdblOmegaMinus;      //! MC Pt Vs MC y of the findable Omega-
191         
192         TH1F    *fHistThetaLambdaOmegaMinus;            //! MC Theta angle of the Lambda daughter of the generated Omega-
193         TH1F    *fHistThetaBachOmegaMinus;              //! MC Theta angle of the Bachelor (K-)
194         
195         TH1F    *fHistThetaMesDghterOmegaMinus;         //! MC Theta angle of the mesonic  V0 daughter in the generated cascade, pi-
196         TH1F    *fHistThetaBarDghterOmegaMinus;         //! MC Theta angle of the baryonic V0 daughter in the generated cascade, p+
197         
198         TH1F    *fHistPtBachOmegaMinus;                 //! MC Pt of the Bachelor (K-)                   (Control Plot)
199         TH1F    *fHistPtMesDghterOmegaMinus;            //! MC Pt of the meson daughter of the 'Lambda0', pi- (Control Plot)
200         TH1F    *fHistPtBarDghterOmegaMinus;            //! MC Pt of the baryon daughter of the 'Lambda0', p+ (Control Plot)
201         
202         
203         
204         //--------------
205         // Omega+
206         TH1F    *fHistEtaGenCascOmegaPlus;              //! MC Pseudo-rapidity of any generated Omega+ (no cuts in acceptance)
207         TH3D    *f3dHistGenPtVsGenYvsCentOmegaPlusNat;
208         TH3D    *f3dHistGenPtVsGenYvsNtracksOmegaPlusNat;
209         TH3D    *f3dHistGenPtVsGenYvsCentOmegaPlusInj;
210         TH3D    *f3dHistGenPtVsGenYvsNtracksOmegaPlusInj;
211         TH3D    *f3dHistGenPtVsGenctauvsCentOmegaPlusNat;
212         TH3D    *f3dHistGenPtVsGenctauvsCentOmegaPlusInj;
213         
214         TH1F    *fHistThetaGenCascOmegaPlusNat;         //! MC Theta angle of the generated Omega+
215         TH1F    *fHistThetaGenCascOmegaPlusInj;         //! MC Theta angle of the injected Omega+
216         // - Histos planned for Omega+ emitted within the acceptance (cuts in theta + pt of daughters)
217         TH2D    *f2dHistGenPtVsGenYFdblOmegaPlus;       //! MC Pt Vs MC y of the findable Omega+
218         
219         TH1F    *fHistThetaLambdaOmegaPlus;             //! MC Theta angle of the anti-Lambda daughter of the generated Omega+
220         TH1F    *fHistThetaBachOmegaPlus;               //! MC Theta angle of the Bachelor (K+)
221         
222         TH1F    *fHistThetaMesDghterOmegaPlus;          //! MC Theta angle of the mesonic  V0 daughter in the generated cascade, pi+
223         TH1F    *fHistThetaBarDghterOmegaPlus;          //! MC Theta angle of the baryonic V0 daughter in the generated cascade, p-
224         
225         TH1F    *fHistPtBachOmegaPlus;                  //! MC Pt of the Bachelor (K+) (Control Plot)
226         TH1F    *fHistPtMesDghterOmegaPlus;             //! MC Pt of the meson daughter of the 'Lambda0', pi+ (Control Plot)
227         TH1F    *fHistPtBarDghterOmegaPlus;             //! MC Pt of the baryon daughter of the 'Lambda0', p- (Control Plot)
228         
229         
230         
231 // Part 2 - Any reconstructed cascades + reconstructed cascades associated with MC
232         // 2.1 - Effective mass and PID
233         // - Effective mass histos for all the cascade candidates
234         TH1F    *fHistMassXiMinus;                      //! reconstructed cascade effective mass, under Xi- hyp.
235         TH1F    *fHistMassXiPlus;                       //! reconstructed cascade effective mass, under Xi+ hyp.
236         TH1F    *fHistMassOmegaMinus;                   //! reconstructed cascade effective mass, under Omega- hyp.
237         TH1F    *fHistMassOmegaPlus;                    //! reconstructed cascade effective mass, under Omega+ hyp.
238         
239         // - Effective mass histos with reconstruction combined PID
240         TH1F    *fHistMassWithCombPIDXiMinus;           //! reconstructed Xi- effective mass, with bach. comb PID
241         TH1F    *fHistMassWithCombPIDXiPlus;            //! reconstructed Xi+ effective mass, with bach. comb PID
242         TH1F    *fHistMassWithCombPIDOmegaMinus;        //! reconstructed Omega- effective mass, with bach. comb PID
243         TH1F    *fHistMassWithCombPIDOmegaPlus;         //! reconstructed Omega+ effective mass, with bach. comb PID
244         
245         // - PID Probability versus MC Pt(bachelor track)
246         TH2F    *f2dHistPIDprobaKaonVsMCPtBach;         //! Comb. PID probability for the bach. to be a Kaon Vs MC pt(bach)
247         TH2F    *f2dHistPIDprobaPionVsMCPtBach;         //! Comb. PID probability for the bach. to be a Pion Vs MC pt(bach)     
248
249         // - Effective mass histos with perfect MC PID
250         TH1F    *fHistMassWithMcPIDXiMinus;             //! reconstructed Xi- effective mass, with MC bach. PID
251         TH1F    *fHistMassWithMcPIDXiPlus;              //! reconstructed Xi+ effective mass, with MC bach. PID
252         TH1F    *fHistMassWithMcPIDOmegaMinus;          //! reconstructed Omega- effective mass, with MC bach. PID
253         TH1F    *fHistMassWithMcPIDOmegaPlus;           //! reconstructed Omega+ effective mass, with MC bach. PID
254
255         
256         // 2.2 - Associated candidates
257         // - Effective mass histos for the cascade candidates associated with MC, without PID info
258         TH1F    *fHistAsMCMassXiMinus;                  //! reconstr. cascade effective mass, under Xi- hyp. for Associated cand.
259         TH1F    *fHistAsMCMassXiPlus;                   //! reconstr. cascade effective mass, under Xi+ hyp. for Associated cand.
260         TH1F    *fHistAsMCMassOmegaMinus;               //! reconstr. cascade effective mass, under Omega- hyp. for Associated cand.
261         TH1F    *fHistAsMCMassOmegaPlus;                //! reconstr. cascade effective mass, under Omega+ hyp. for Associated cand.
262         
263         // -  Generated Pt Vs generated Y of the cascade candidates associated with MC 
264         //     + having the proper maximum proba of combined PID for the bachelor
265         TH2F    *f2dHistAsMCandCombPIDGenPtVsGenYXiMinus;       //! Pt(gen) Vs Y(gen) from the MC Xi- associated with Reco cand + with PID info
266         TH2F    *f2dHistAsMCandCombPIDGenPtVsGenYXiPlus;        //! Pt(gen) Vs Y(gen) from the MC Xi+ associated with Reco cand + with PID info
267         TH2F    *f2dHistAsMCandCombPIDGenPtVsGenYOmegaMinus;    //! Pt(gen) Vs Y(gen) from the MC Omega- associated with Reco cand + with PID info
268         TH2F    *f2dHistAsMCandCombPIDGenPtVsGenYOmegaPlus;     //! Pt(gen) Vs Y(gen) from the MC Omega+ associated with Reco cand + with PID info
269         
270         // - Generated Pt Vs generated Y, for the cascade candidates associated with MC, without PID info
271         TH2F    *f2dHistAsMCGenPtVsGenYXiMinus;         //! gen. Pt Vs gen. Rap. from the MC Xi- associated with a reconstr. cascade
272         TH2F    *f2dHistAsMCGenPtVsGenYXiPlus;          //! gen. Pt Vs gen. Rap. from the MC Xi+ associated with a reconstr. cascade
273         TH2F    *f2dHistAsMCGenPtVsGenYOmegaMinus;      //! gen. Pt Vs gen. Rap. from the MC Omega- associated with a reconstr. cascade
274         TH2F    *f2dHistAsMCGenPtVsGenYOmegaPlus;       //! gen. Pt Vs gen. Rap. from the MC Omega+ associated with a reconstr. cascade
275         
276         // - Generated Eta of the the cascade candidates associated with MC, without PID info
277         TH1F    *fHistAsMCGenEtaXiMinus;                //! generated Eta from the MC Xi- associated with a reconstr. cascade
278         TH1F    *fHistAsMCGenEtaXiPlus;                 //! generated Eta from the MC Xi+ associated with a reconstr. cascade
279         TH1F    *fHistAsMCGenEtaOmegaMinus;             //! generated Eta from the MC Omega- associated with a reconstr. cascade
280         TH1F    *fHistAsMCGenEtaOmegaPlus;              //! generated Eta from the MC Omega+ associated with a reconstr. cascade
281         
282         // - Resolution in Pt as function of generated Pt
283         TH2F    *f2dHistAsMCResPtXiMinus;               //! resolution in Pt as function of gen. Pt, for Xi-
284         TH2F    *f2dHistAsMCResPtXiPlus;                //! resolution in Pt as function of gen. Pt, for Xi-
285         TH2F    *f2dHistAsMCResPtOmegaMinus;            //! resolution in Pt as function of gen. Pt, for Omega-
286         TH2F    *f2dHistAsMCResPtOmegaPlus;             //! resolution in Pt as function of gen. Pt, for Omega+
287         
288         // - Resolution in R(2D) as function of generated R
289         TH2F    *f2dHistAsMCResRXiMinus;                //! resolution in transv. R = f(transv. gen. R), for Xi-
290         TH2F    *f2dHistAsMCResRXiPlus;                 //! resolution in transv. R = f(transv. gen. R), for Xi+
291         TH2F    *f2dHistAsMCResROmegaMinus;             //! resolution in transv. R = f(transv. gen. R), for Omega-
292         TH2F    *f2dHistAsMCResROmegaPlus;              //! resolution in transv. R = f(transv. gen. R), for Omega+
293         
294         // - Resolution in phi as function of generated Pt
295         TH2F    *f2dHistAsMCResPhiXiMinus;              //! resolution in azimuth Phi = f(gen. Pt), for Xi-
296         TH2F    *f2dHistAsMCResPhiXiPlus;               //! resolution in azimuth Phi = f(gen. Pt), for Xi+
297         TH2F    *f2dHistAsMCResPhiOmegaMinus;           //! resolution in azimuth Phi = f(gen. Pt), for Omega-
298         TH2F    *f2dHistAsMCResPhiOmegaPlus;            //! resolution in azimuth Phi = f(gen. Pt), for Omega+
299
300         TH2F    *f2dHistAsMCptProtonMCptXiMinus;        //! MC pt proton vs Mc pt Xi-
301         TH2F    *f2dHistAsMCptAntiprotonMCptXiPlus;     //! MC pt antiproton vs Mc pt Xi+
302         TH2F    *f2dHistAsMCptProtonMCptOmegaMinus;     //! MC pt proton vs Mc pt Omega-
303         TH2F    *f2dHistAsMCptAntiprotonMCptOmegaPlus;  //! MC pt antiproton vs Mc pt Omega+
304
305         TH1F    *fHistV0toXiCosineOfPointingAngle;      //! To check new V0 CosPA cut
306         TH2F    *fHistV0CosineOfPointingAnglevsPtXi;    //! To check new V0 CosPA cut 
307         TH2F    *fHistV0CosineOfPointingAnglevsPtOmega; //! To check new V0 CosPA cut 
308         
309         // - Compilation of all PID plots (3D = casc. transv. momemtum Vs Casc Eff mass Vs Y), stored into an AliCFContainer
310         AliCFContainer  *fCFContCascadePIDAsXiMinus;      //! for Xi-   : Container to store any 3D histos with the different PID flavours
311         AliCFContainer  *fCFContCascadePIDAsXiPlus;       //! for Xi+   : Container to store any 3D histos with the different PID flavours
312         AliCFContainer  *fCFContCascadePIDAsOmegaMinus;   //! for Omega-: Container to store any 3D histos with the different PID flavours
313         AliCFContainer  *fCFContCascadePIDAsOmegaPlus;    //! for Omega+: Container to store any 3D histos with the different PID flavours
314         
315         // - Towards the optimisation of topological selections/ systematics (on associated candidates)
316         AliCFContainer  *fCFContAsCascadeCuts;            //! Container meant to store all the relevant distributions corresponding to the cut variables
317
318         TH1F *fV0Ampl;                                    //! Histo to check the V0 amplitude distribution (centrality estimator)  
319
320          // Control plots for reco pseudorapidity of daughter tracks (Xi- asso only)
321
322         TH1F    *fHistEtaBachXiM;                       //! bachelor pseudorapidity
323         TH1F    *fHistEtaPosXiM;                        //! positive daughter pseudorapidity
324         TH1F    *fHistEtaNegXiM;                        //! negative daughter pseudorapidity
325
326
327   AliAnalysisTaskCheckPerformanceCascadePbPb(const AliAnalysisTaskCheckPerformanceCascadePbPb&);            // not implemented
328   AliAnalysisTaskCheckPerformanceCascadePbPb& operator=(const AliAnalysisTaskCheckPerformanceCascadePbPb&); // not implemented
329   
330   ClassDef(AliAnalysisTaskCheckPerformanceCascadePbPb, 8);
331 };
332
333 #endif