fine tuning of TOF tail (developing task)
[u/mrichter/AliRoot.git] / PWGPP / ITS / AliAnalysisTaskITSTrackingCheck.h
1 #ifndef AliAnalysisTaskITSTrackingCheck_cxx
2 #define AliAnalysisTaskITSTrackingCheck_cxx
3
4 /* Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 //*************************************************************************
8 // Class AliAnalysiTaskITSTrackingCheck
9 // AliAnalysisTask to extract from ESD tracks the information on the
10 // ITS tracking efficiency and resolutions
11 //
12 // Author: A.Dainese, andrea.dainese@pd.infn.it
13 //*************************************************************************
14
15 class TNtuple;
16 class TParticle;
17 class TH1F;
18 class AliESDEvent;
19 class AliESDVertex;
20 class AliESDfriend;
21 class AliESDtrackCuts;
22 class AliTriggerConfiguration;
23
24 #include "AliAnalysisTaskSE.h"
25
26 class AliAnalysisTaskITSTrackingCheck : public AliAnalysisTaskSE 
27 {
28  public:
29     AliAnalysisTaskITSTrackingCheck();
30     AliAnalysisTaskITSTrackingCheck(const char *name);
31   virtual ~AliAnalysisTaskITSTrackingCheck(); 
32   
33   virtual void   UserCreateOutputObjects();
34   virtual void   UserExec(Option_t *option);
35   virtual void   Terminate(Option_t *);
36   Bool_t         GetReadMC() const { return fReadMC; }
37   void           SetReadMC(Bool_t flag=kTRUE) { fReadMC=flag; }
38   void           SetUsePhysSel() { fUsePhysSel=kTRUE; }
39   void           SetRequireSPDvtx(Bool_t flag=kTRUE) { fRequireSPDvtx=flag; }
40   void           SetRejPileupSPD() { fRejPileupSPD=kTRUE; }
41   void           SetReadRPLabels(Bool_t flag=kTRUE) { fReadRPLabels=flag; }
42   void           SetFillNtuples(Bool_t flag=kTRUE) { fFillNtuples=flag; }
43   void           SetUseITSSAforNtuples(Bool_t flag=kTRUE) { fUseITSSAforNtuples=flag; }
44   void           SetESDtrackCutsTPC(AliESDtrackCuts *c) { fESDtrackCutsTPC=c; }
45   void           SetESDtrackCutsITSTPC(AliESDtrackCuts *c) { fESDtrackCutsITSTPC=c; }
46   void           SetMultiplicityRange(Int_t min,Int_t max) { fMinMult=min; fMaxMult=max; }
47   void           SetCheckSDDIsIn(Int_t check=0) { fCheckSDDIsIn=check; }
48   void           SetTriggerClass(TString tclass="") { fTriggerClass=tclass; }
49   void           SetOCDBPath(TString path="") { fOCDBPath=path; }
50   void           SetNITSLayers(Int_t n=6) { fNITSLayers=n; }
51   void           SetUsePtBinsForBox() { fUsePtBinsForBox=kTRUE; }
52
53  protected:
54   Int_t        fNITSLayers; // number of layers (6 for current, 7 for upgrade)
55   Bool_t       fReadMC; // read Monte Carlo
56   Bool_t       fReadRPLabels; // read MC labels from ITS.RecPoints
57   Bool_t       fFillNtuples; // fill expert ntuples
58   Bool_t       fUseITSSAforNtuples; // fill expert ntuples with ITSSA tracks
59   Bool_t       fUsePhysSel; // use AliPhysicsSelection
60   Bool_t       fRequireSPDvtx; // check for SPD vtx to be reconstructed
61   Bool_t       fRejPileupSPD; // reject pileup events based on SPD vertex
62   Int_t        fCheckSDDIsIn; // check for ITSSDD in the trigger cluster: 0 no check; +1 only wSDD; -1 only woSDD
63   AliESDEvent  *fESD;    // ESD object
64   Int_t        fMinMult; // minimum multiplicity
65   Int_t        fMaxMult; // maximum multiplicity
66   TString      fTriggerClass; // trigger class to be inspected
67   AliTriggerConfiguration *fTrigConfig; // trigger configuration (read from OCDB)
68   Bool_t       fUsePtBinsForBox; // to use special pt binning
69   TString      fOCDBPath; // to the OCDB
70   TList        *fOutput; //! list send on output slot 0
71   TH1F         *fHistNEvents; //! output hist
72   TH1F         *fHistNEventsFrac; //! output hist
73   TH1F         *fHistNtracks; //! output hist
74   TH1F         *fHistNclsITSMI; //! output hist
75   TH1F         *fHistNclsITSSA; //! output hist
76   TH1F         *fHistNclsITSSAInAcc; //! output hist
77   TH1F         *fHistClusterMapITSMI; //! output hist
78   TH1F         *fHistClusterMapITSMIok; //! output hist
79   TH1F         *fHistClusterMapITSMIbad; //! output hist
80   TH1F         *fHistClusterMapITSMIskipped; //! output hist
81   TH1F         *fHistClusterMapITSMIoutinz; //! output hist
82   TH1F         *fHistClusterMapITSMInorefit; //! output hist
83   TH1F         *fHistClusterMapITSMInocls; //! output hist
84   TH1F         *fHistClusterMapITSMIokoutinzbad; //! output hist
85   TH1F         *fHistClusterMapITSSA; //! output hist
86   TH1F         *fHistClusterMapITSSAok; //! output hist
87   TH1F         *fHistClusterMapITSSAbad; //! output hist
88   TH1F         *fHistClusterMapITSSAskipped; //! output hist
89   TH1F         *fHistClusterMapITSSAoutinz; //! output hist
90   TH1F         *fHistClusterMapITSSAnorefit; //! output hist
91   TH1F         *fHistClusterMapITSSAnocls; //! output hist
92   TH1F         *fHistClusterMapITSSAokoutinzbad; //! output hist
93   TH1F         *fHistClusterMapITSSAInAcc; //! output hist
94   TH1F         *fHistClusterMapITSSAokInAcc; //! output hist
95   TH1F         *fHistClusterMapITSSAbadInAcc; //! output hist
96   TH1F         *fHistClusterMapITSSAskippedInAcc; //! output hist
97   TH1F         *fHistClusterMapITSSAoutinzInAcc; //! output hist
98   TH1F         *fHistClusterMapITSSAnorefitInAcc; //! output hist
99   TH1F         *fHistClusterMapITSSAnoclsInAcc; //! output hist
100   TH1F         *fHistClusterMapITSSAokoutinzbadInAcc; //! output hist
101   TH1F         *fHistClusterMapModuleITSSAokInAcc; //! output hist
102   TH1F         *fHistClusterMapModuleITSSAbadInAcc; //! output hist
103   TH1F         *fHistClusterMapModuleITSSAnoclsInAcc; //! output hist
104   TH1F         *fHistClusterMapModuleITSMIokInAcc; //! output hist
105   TH1F         *fHistClusterMapModuleITSMIbadInAcc; //! output hist
106   TH1F         *fHistClusterMapModuleITSMInoclsInAcc; //! output hist
107   TH1F         *fHistNClustersMapModule; //! output hist
108   TH1F         *fHistZatSPDouter0ok; //! output hist
109   TH1F         *fHistZatSPDouter1ok; //! output hist
110   TH1F         *fHistZatSPDouter2ok; //! output hist
111   TH1F         *fHistZatSPDouter3ok; //! output hist
112   TH1F         *fHistZatSPDouter0notok; //! output hist
113   TH1F         *fHistZatSPDouter1notok; //! output hist
114   TH1F         *fHistZatSPDouter2notok; //! output hist
115   TH1F         *fHistZatSPDouter3notok; //! output hist
116   TH1F         *fHistxlocSDDok; //! output hist
117   TH1F         *fHistzlocSDDok; //! output hist
118   TH2F         *fHistxlocVSmodSDDok; //! output hist
119   TH1F         *fHistxlocSDDall; //! output hist
120   TH1F         *fHistzlocSDDall; //! output hist
121   TH1F         *fHistPhiTPCInAcc; //! output hist
122   TH1F         *fHistEtaTPCInAcc; //! output hist
123   TH1F         *fHistPtTPC; //! output hist
124   TH1F         *fHistPtTPCInAcc; //! output hist
125   TH1F         *fHistPtTPCInAccTOFbc0; //! output hist
126   TH1F         *fHistPtTPCInAccwSDD; //! output hist
127   TH1F         *fHistPtTPCInAccTOFbc0wSDD; //! output hist
128   TH1F         *fHistPtTPCInAccwoSDD; //! output hist
129   TH1F         *fHistPtTPCInAccTOFbc0woSDD; //! output hist
130   TH1F         *fHistPtTPCInAccMCtwoSPD; //! output hist
131   TH1F         *fHistPtTPCInAccMConeSPD; //! output hist
132   TH2F         *fHistdEdxVSPtTPCInAcc; //! output hist
133   TH2F         *fHistdEdxVSPtITSTPCsel; //! output hist
134   TH2F         *fHistTPCclsVSPtTPCInAcc; //! output hist
135   TH2F         *fHistTPCclsVSPtITSMISPDInAcc; //! output hist
136   TH2F         *fHistPtVSphiTPCInAcc; //! output hist
137   TH1F         *fHistPtTPCInAccNoTRDout; //! output hist
138   TH1F         *fHistPtTPCInAccNoTOFout; //! output hist
139   TH1F         *fHistPtTPCInAccWithPtTPCAtInnerWall; //! output hist
140   TH1F         *fHistPtTPCInAccWithPtTPCAtVtx; //! output hist
141   TH2F         *fHistDeltaPtTPC; //! output hist
142   TH1F         *fHistPtTPCInAccP; //! output hist
143   TH1F         *fHistPtTPCInAccS; //! output hist
144   TH1F         *fHistPtTPCInAccPfromStrange; //! output hist
145   TH1F         *fHistPtTPCInAccSfromStrange; //! output hist
146   TH1F         *fHistPtTPCInAccSfromMat; //! output hist
147   TH1F         *fHistPtITSMI2; //! output hist
148   TH1F         *fHistPtITSMI3; //! output hist
149   TH1F         *fHistPtITSMI4; //! output hist
150   TH1F         *fHistPtITSMI5; //! output hist
151   TH1F         *fHistPtITSMI6; //! output hist
152   TH1F         *fHistPtITSMI7; //! output hist
153   TH1F         *fHistPtITSMISPD; //! output hist
154   TH1F         *fHistPtITSMIoneSPD; //! output hist
155   TH1F         *fHistPtITSMItwoSPD; //! output hist
156   TH1F         *fHistPtITSMI2InAcc; //! output hist
157   TH1F         *fHistPtITSMI3InAcc; //! output hist
158   TH1F         *fHistPtITSMI4InAcc; //! output hist
159   TH1F         *fHistPtITSMI5InAcc; //! output hist
160   TH1F         *fHistPtITSMI6InAcc; //! output hist
161   TH1F         *fHistPtITSMI7InAcc; //! output hist
162   TH1F         *fHistPtITSMISPDInAcc; //! output hist
163   TH1F         *fHistPtITSMIoneSPDInAcc; //! output hist
164   TH1F         *fHistPtITSMItwoSPDInAcc; //! output hist
165   TH1F         *fHistPtITSMI2InAccTOFbc0; //! output hist
166   TH1F         *fHistPtITSMI3InAccTOFbc0; //! output hist
167   TH1F         *fHistPtITSMI4InAccTOFbc0; //! output hist
168   TH1F         *fHistPtITSMI5InAccTOFbc0; //! output hist
169   TH1F         *fHistPtITSMI6InAccTOFbc0; //! output hist
170   TH1F         *fHistPtITSMISPDInAccTOFbc0; //! output hist
171   TH1F         *fHistPtITSMIoneSPDInAccTOFbc0; //! output hist
172   TH1F         *fHistPtITSMI2InAccwSDD; //! output hist
173   TH1F         *fHistPtITSMI3InAccwSDD; //! output hist
174   TH1F         *fHistPtITSMI4InAccwSDD; //! output hist
175   TH1F         *fHistPtITSMI5InAccwSDD; //! output hist
176   TH1F         *fHistPtITSMI6InAccwSDD; //! output hist
177   TH1F         *fHistPtITSMISPDInAccwSDD; //! output hist
178   TH1F         *fHistPtITSMIoneSPDInAccwSDD; //! output hist
179   TH1F         *fHistPtITSMI2InAccTOFbc0wSDD; //! output hist
180   TH1F         *fHistPtITSMI3InAccTOFbc0wSDD; //! output hist
181   TH1F         *fHistPtITSMI4InAccTOFbc0wSDD; //! output hist
182   TH1F         *fHistPtITSMI5InAccTOFbc0wSDD; //! output hist
183   TH1F         *fHistPtITSMI6InAccTOFbc0wSDD; //! output hist
184   TH1F         *fHistPtITSMISPDInAccTOFbc0wSDD; //! output hist
185   TH1F         *fHistPtITSMIoneSPDInAccTOFbc0wSDD; //! output hist
186   TH1F         *fHistPtITSMI2InAccwoSDD; //! output hist
187   TH1F         *fHistPtITSMI3InAccwoSDD; //! output hist
188   TH1F         *fHistPtITSMI4InAccwoSDD; //! output hist
189   TH1F         *fHistPtITSMI5InAccwoSDD; //! output hist
190   TH1F         *fHistPtITSMI6InAccwoSDD; //! output hist
191   TH1F         *fHistPtITSMISPDInAccwoSDD; //! output hist
192   TH1F         *fHistPtITSMIoneSPDInAccwoSDD; //! output hist
193   TH1F         *fHistPtITSMI2InAccTOFbc0woSDD; //! output hist
194   TH1F         *fHistPtITSMI3InAccTOFbc0woSDD; //! output hist
195   TH1F         *fHistPtITSMI4InAccTOFbc0woSDD; //! output hist
196   TH1F         *fHistPtITSMI5InAccTOFbc0woSDD; //! output hist
197   TH1F         *fHistPtITSMI6InAccTOFbc0woSDD; //! output hist
198   TH1F         *fHistPtITSMISPDInAccTOFbc0woSDD; //! output hist
199   TH1F         *fHistPtITSMIoneSPDInAccTOFbc0woSDD; //! output hist
200   TH1F         *fHistPtITSMIoneSPDInAccShared; //! output hist
201   TH1F         *fHistPtITSMIoneSPDInAccSharedSPD; //! output hist
202   TH1F         *fHistPtITSMISPD1InAccShared; //! output hist
203   TH1F         *fHistPtITSMISPD2InAccShared; //! output hist
204   TH1F         *fHistPtITSMIoneSPDInAccSharedFake; //! output hist
205   TH1F         *fHistPtITSMIoneSPDInAccSharedSPDFake; //! output hist
206   TH1F         *fHistPhiITSMI2InAcc; //! output hist
207   TH1F         *fHistPhiITSMI3InAcc; //! output hist
208   TH1F         *fHistPhiITSMI4InAcc; //! output hist
209   TH1F         *fHistPhiITSMI5InAcc; //! output hist
210   TH1F         *fHistPhiITSMI6InAcc; //! output hist
211   TH1F         *fHistPhiITSMI7InAcc; //! output hist
212   TH1F         *fHistPhiITSMISPDInAcc; //! output hist
213   TH1F         *fHistPhiITSMIoneSPDInAcc; //! output hist
214   TH1F         *fHistPhiITSMItwoSPDInAcc; //! output hist
215   TH1F         *fHistEtaITSMI2InAcc; //! output hist
216   TH1F         *fHistEtaITSMI3InAcc; //! output hist
217   TH1F         *fHistEtaITSMI4InAcc; //! output hist
218   TH1F         *fHistEtaITSMI5InAcc; //! output hist
219   TH1F         *fHistEtaITSMI6InAcc; //! output hist
220   TH1F         *fHistEtaITSMI7InAcc; //! output hist
221   TH1F         *fHistEtaITSMISPDInAcc; //! output hist
222   TH1F         *fHistEtaITSMIoneSPDInAcc; //! output hist
223   TH1F         *fHistEtaITSMItwoSPDInAcc; //! output hist
224   TH1F         *fHistPtITSMI2InAccFake; //! output hist
225   TH1F         *fHistPtITSMI3InAccFake; //! output hist
226   TH1F         *fHistPtITSMI4InAccFake; //! output hist
227   TH1F         *fHistPtITSMI5InAccFake; //! output hist
228   TH1F         *fHistPtITSMI6InAccFake; //! output hist
229   TH1F         *fHistPtITSMI7InAccFake; //! output hist
230   TH1F         *fHistPtITSMISPDInAccFake; //! output hist
231   TH1F         *fHistPtITSMIoneSPDInAccFake; //! output hist
232   TH1F         *fHistPtITSMItwoSPDInAccFake; //! output hist
233   TH1F         *fHistPtITSMIoneSPDthreeSDDSSDInAcc; //! output hist
234   TH1F         *fHistPtITSTPCsel; //! output hist
235   TH1F         *fHistPtITSTPCselTOFbc0; //! output hist
236   TH1F         *fHistPtITSTPCselwSDD; //! output hist
237   TH1F         *fHistPtITSTPCselTOFbc0wSDD; //! output hist
238   TH1F         *fHistPtITSTPCselwoSDD; //! output hist
239   TH1F         *fHistPtITSTPCselTOFbc0woSDD; //! output hist
240   TH1F         *fHistPtITSTPCselP; //! output hist
241   TH1F         *fHistPtITSTPCselS; //! output hist
242   TH1F         *fHistPtITSTPCselFake; //! output hist
243   TH1F         *fHistPtITSTPCselPfromStrange; //! output hist
244   TH1F         *fHistPtITSTPCselSfromStrange; //! output hist
245   TH1F         *fHistPtITSTPCselSfromMat; //! output hist
246   TH1F         *fHistPtITSMI2InAccP; //! output hist
247   TH1F         *fHistPtITSMI3InAccP; //! output hist
248   TH1F         *fHistPtITSMI4InAccP; //! output hist
249   TH1F         *fHistPtITSMI5InAccP; //! output hist
250   TH1F         *fHistPtITSMI6InAccP; //! output hist
251   TH1F         *fHistPtITSMI7InAccP; //! output hist
252   TH1F         *fHistPtITSMISPDInAccP; //! output hist
253   TH1F         *fHistPtITSMIoneSPDInAccP; //! output hist
254   TH1F         *fHistPtITSMItwoSPDInAccP; //! output hist
255   TH1F         *fHistPtITSMI2InAccS; //! output hist
256   TH1F         *fHistPtITSMI3InAccS; //! output hist
257   TH1F         *fHistPtITSMI4InAccS; //! output hist
258   TH1F         *fHistPtITSMI5InAccS; //! output hist
259   TH1F         *fHistPtITSMI6InAccS; //! output hist
260   TH1F         *fHistPtITSMI7InAccS; //! output hist
261   TH1F         *fHistPtITSMISPDInAccS; //! output hist
262   TH1F         *fHistPtITSMIoneSPDInAccS; //! output hist
263   TH1F         *fHistPtITSMItwoSPDInAccS; //! output hist
264   TH1F         *fHistPtITSMIokbadoutinz6; //! output hist
265   TH1F         *fHistPtITSMIokbadoutinz4InAcc; //! output hist
266   TH1F         *fHistPtITSMIokbadoutinz5InAcc; //! output hist
267   TH1F         *fHistPtITSMIokbadoutinz6InAcc; //! output hist
268   TH1F         *fHistPhiITSMIokbadoutinz6InAcc; //! output hist
269   TH1F         *fHistRProdVtxInAccP; //! output hist
270   TH1F         *fHistRProdVtxInAccS; //! output hist
271   TH1F     *fHistd0rphiTPCInAccP150200; //! output hist
272   TH1F     *fHistd0rphiTPCInAccP500700; //! output hist
273   TH1F     *fHistd0rphiTPCInAccP10001500; //! output hist
274   TH1F     *fHistd0rphiTPCInAccS150200; //! output hist
275   TH1F     *fHistd0rphiTPCInAccS500700; //! output hist
276   TH1F     *fHistd0rphiTPCInAccS10001500; //! output hist
277   TH1F     *fHistd0rphiITSMISPDInAccP150200; //! output hist
278   TH1F     *fHistd0rphiITSMISPDInAccP500700; //! output hist
279   TH1F     *fHistd0rphiITSMISPDInAccP10001500; //! output hist
280   TH1F     *fHistd0rphiITSMISPDInAccS150200; //! output hist
281   TH1F     *fHistd0rphiITSMISPDInAccS500700; //! output hist
282   TH1F     *fHistd0rphiITSMISPDInAccS10001500; //! output hist
283   TH1F     *fHistd0rphiITSMIoneSPDInAccP150200; //! output hist
284   TH1F     *fHistd0rphiITSMIoneSPDInAccP350450; //! output hist
285   TH1F     *fHistd0rphiITSMIoneSPDInAccP500700; //! output hist
286   TH1F     *fHistd0rphiITSMIoneSPDInAccP10001500; //! output hist
287   TH1F     *fHistd0rphiITSMIoneSPDInAccP25004000; //! output hist
288   TH1F     *fHistd0rphiITSMIoneSPDInAccP40008000; //! output hist
289   TH1F     *fHistd0zITSMIoneSPDInAccP150200; //! output hist
290   TH1F     *fHistd0zITSMIoneSPDInAccP500700; //! output hist
291   TH1F     *fHistd0zITSMIoneSPDInAccP10001500; //! output hist
292   TH2F     *fHistd0zVSetaTPCInAccP10001500; //! output hist
293   TH2F     *fHistd0rphiVSphiITSMIoneSPDInAccP10001500; //! output hist
294   TH2F     *fHistd0rphiVSetaITSMIoneSPDInAccP10001500; //! output hist
295   TH1F     *fHistd0rphiITSMIoneSPDInAccS150200; //! output hist
296   TH1F     *fHistd0rphiITSMIoneSPDInAccS350450; //! output hist
297   TH1F     *fHistd0rphiITSMIoneSPDInAccS500700; //! output hist
298   TH1F     *fHistd0rphiITSMIoneSPDInAccS500700from22; //! output hist
299   TH1F     *fHistd0rphiITSMIoneSPDInAccS500700from211; //! output hist
300   TH1F     *fHistd0rphiITSMIoneSPDInAccS500700from310; //! output hist
301   TH1F     *fHistd0rphiITSMIoneSPDInAccS500700from321; //! output hist
302   TH1F     *fHistd0rphiITSMIoneSPDInAccS500700from3122; //! output hist
303   TH1F     *fHistd0rphiITSMIoneSPDInAccS10001500; //! output hist  
304   TH1F     *fHistd0rphiITSMIoneSPDInAccS25004000; //! output hist
305   TH1F     *fHistd0rphiITSMIoneSPDInAccS40008000; //! output hist
306   TH1F     *fHistd0rphiITSMIoneSPDInAccS150200fromStrange; //! output hist
307   TH1F     *fHistd0rphiITSMIoneSPDInAccS150200fromMat; //! output hist
308   TH1F     *fHistd0rphiITSMIoneSPDInAccS350450fromStrange; //! output hist
309   TH1F     *fHistd0rphiITSMIoneSPDInAccS350450fromMat; //! output hist
310   TH1F     *fHistd0rphiITSMIoneSPDInAccS500700fromStrange; //! output hist
311   TH1F     *fHistd0rphiITSMIoneSPDInAccS500700fromMat; //! output hist
312   TH1F     *fHistd0rphiITSMIoneSPDInAccS10001500fromStrange; //! output hist
313   TH1F     *fHistd0rphiITSMIoneSPDInAccS10001500fromMat; //! output hist
314   TH1F     *fHistd0rphiITSMIoneSPDInAccS25004000fromStrange; //! output hist
315   TH1F     *fHistd0rphiITSMIoneSPDInAccS25004000fromMat; //! output hist
316   TH1F     *fHistd0rphiITSMIoneSPDInAccS40008000fromStrange; //! output hist
317   TH1F     *fHistd0rphiITSMIoneSPDInAccS40008000fromMat; //! output hist
318   TH1F     *fHistd0zITSMIoneSPDInAccS150200; //! output hist
319   TH1F     *fHistd0zITSMIoneSPDInAccS500700; //! output hist
320   TH1F     *fHistd0zITSMIoneSPDInAccS10001500; //! output hist
321   TH1F     *fHistPDGMoth; //! output hist
322   TH1F     *fHistPDGMoth150200; //! output hist
323   TH1F     *fHistPDGMoth500700; //! output hist
324   TH1F     *fHistPDGMoth10001500; //! output hist
325   TH1F     *fHistPDGTrk; //! output hist
326   TH1F     *fHistITSRedChi2NonFakePt02; //! output hist
327   TH1F     *fHistITSRedChi2FakePt02; //! output hist
328   TH1F     *fHistITSRedChi2NonFakePt05; //! output hist
329   TH1F     *fHistITSRedChi2FakePt05; //! output hist
330   TH1F     *fHistITSRedChi2NonFakePt1; //! output hist
331   TH1F     *fHistITSRedChi2FakePt1; //! output hist
332   TNtuple      *fNtupleESDTracks; //! output ntuple
333   TNtuple      *fNtupleITSAlignExtra; //! output ntuple
334   TNtuple      *fNtupleITSAlignSPDTracklets; //! output ntuple
335   Int_t         fCountsPerPtBin[11]; // track per pt bin
336   AliESDtrackCuts *fESDtrackCutsTPC; // cuts for TPC track
337   AliESDtrackCuts *fESDtrackCutsITSTPC; // cuts for TPC+ITS track
338
339  private:    
340
341   AliAnalysisTaskITSTrackingCheck(const AliAnalysisTaskITSTrackingCheck&); // not implemented
342   AliAnalysisTaskITSTrackingCheck& operator=(const AliAnalysisTaskITSTrackingCheck&); // not implemented
343   
344
345   Int_t NumberOfITSClustersMC(Int_t label,Int_t nModules=2198) const;
346   Int_t NumberOfITSClusters(Int_t idet,Float_t &xloc) const;
347   Double_t ParticleImpParMC(TParticle *part,AliESDVertex *vert,Double_t bzT) const;
348   Bool_t SelectPt(Double_t pt);
349   Int_t MakeITSflag(AliESDtrack *track) const;
350   Bool_t IsSelectedCentrality() const;
351   void FillNClustersModuleMap();
352   Int_t NPointsInnerBarrel(AliESDtrack *track) const;
353   Bool_t ConditionSPD(AliESDtrack *track) const;
354   Bool_t ConditionSPDone(AliESDtrack *track) const;
355   Bool_t ConditionSPDtwo(AliESDtrack *track) const;
356
357
358
359   ClassDef(AliAnalysisTaskITSTrackingCheck,16); // ITS tracks analysis
360 };
361
362 #endif