]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/PartCorrBase/AliCaloTrackReader.h
move the trigger name recovery to the Reader mother class, and check there the input...
[u/mrichter/AliRoot.git] / PWG4 / PartCorrBase / AliCaloTrackReader.h
1 #ifndef ALICALOTRACKREADER_H
2 #define ALICALOTRACKREADER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice     */
5 /* $Id:  $ */
6
7 //_________________________________________________________________________
8 // Base class for reading data: MonteCarlo, ESD or AOD, of PHOS EMCAL and 
9 // Central Barrel Tracking detectors.
10 // Not all MC particles/tracks/clusters are kept, some kinematical restrictions are done.
11 // Mother class of : AliCaloTrackESDReader: Fills ESD data in 3 TObjArrays (PHOS, EMCAL, CTS)
12 //                 : AliCaloTrackMCReader : Fills Kinematics data in 3 TObjArrays (PHOS, EMCAL, CTS)
13 //                 : AliCaloTrackAODReader: Fills AOD data in 3 TObjArrays (PHOS, EMCAL, CTS)   
14 // -- Author: Gustavo Conesa (INFN-LNF)
15 //////////////////////////////////////////////////////////////////////////////
16
17 // --- ROOT system ---
18 #include <TObject.h> 
19 #include <TString.h>
20 class TObjArray ; 
21 class TTree ;
22
23 //--- ANALYSIS system ---
24 class AliVCaloCells;
25 class AliStack; 
26 class AliHeader; 
27 class AliGenEventHeader; 
28 class AliVEvent;
29 class AliAODEvent;
30 class AliMCEvent;
31 class AliMixedEvent;
32 class AliAODMCHeader;
33 class AliESDtrackCuts;
34 class AliCentrality;
35 class AliTriggerAnalysis;
36 class AliEventplane;
37
38 // --- PartCorr / EMCAL ---
39 #include "AliEMCALRecoUtils.h"
40 #include "AliFiducialCut.h"
41 class AliCalorimeterUtils;
42
43 class AliCaloTrackReader : public TObject {
44
45 public: 
46   AliCaloTrackReader() ; // ctor
47   virtual ~AliCaloTrackReader() ;//virtual dtor
48 private:
49   AliCaloTrackReader(const AliCaloTrackReader & g) ; // cpy ctor
50   AliCaloTrackReader & operator = (const AliCaloTrackReader & g) ;//cpy assignment
51
52 public:
53   
54   //--------------------------------
55   // General methods
56   //--------------------------------
57
58   virtual void    Init();
59   virtual void    InitParameters();
60   virtual void    Print(const Option_t * opt) const;
61   virtual void    ResetLists();
62
63   virtual Int_t   GetDebug()                         const { return fDebug                 ; }
64   virtual void    SetDebug(Int_t d)                        { fDebug = d                    ; }
65   
66   enum inputDataType {kESD, kAOD, kMC};
67   virtual Int_t   GetDataType()                      const { return fDataType              ; }
68   virtual void    SetDataType(Int_t data )                 { fDataType = data              ; }
69
70   virtual Int_t   GetEventNumber()                   const { return fEventNumber           ; }
71         
72   TString         GetTaskName()                      const { return fTaskName              ; }
73   void            SetTaskName(TString name)                { fTaskName = name              ; }
74     
75   //---------------------------------------
76   //Input/output event setters and getters
77   //---------------------------------------
78   virtual void    SetInputEvent(AliVEvent* const input) ;
79   virtual void    SetOutputEvent(AliAODEvent* const aod)   { fOutputEvent = aod            ; }
80   virtual void    SetMC(AliMCEvent* const mc)              { fMC          = mc             ; }
81   virtual void    SetInputOutputMCEvent(AliVEvent* /*esd*/, AliAODEvent* /*aod*/, AliMCEvent* /*mc*/) { ; }
82   
83   // Delta AODs
84   virtual TList * GetAODBranchList()                 const { return fAODBranchList         ; }
85   void            SetDeltaAODFileName(TString name )       { fDeltaAODFileName = name      ; }
86   TString         GetDeltaAODFileName()              const { return fDeltaAODFileName      ; }
87   void            SwitchOnWriteDeltaAOD()                  { fWriteOutputDeltaAOD = kTRUE  ; }
88   void            SwitchOffWriteDeltaAOD()                 { fWriteOutputDeltaAOD = kFALSE ; }
89   Bool_t          WriteDeltaAODToFile()              const { return fWriteOutputDeltaAOD   ; } 
90   
91   //------------------------------------------------------------
92   //Clusters/Tracks arrays filtering/filling methods and switchs 
93   //------------------------------------------------------------
94   
95   //Minimum pt setters and getters 
96   Float_t          GetEMCALPtMin()                   const { return fEMCALPtMin            ; }
97   Float_t          GetPHOSPtMin()                    const { return fPHOSPtMin             ; }
98   Float_t          GetCTSPtMin()                     const { return fCTSPtMin              ; }
99   Float_t          GetEMCALPtMax()                   const { return fEMCALPtMax            ; }
100   Float_t          GetPHOSPtMax()                    const { return fPHOSPtMax             ; }
101   Float_t          GetCTSPtMax()                     const { return fCTSPtMax              ; }
102   
103   void             SetEMCALPtMin(Float_t  pt)              { fEMCALPtMin = pt              ; }
104   void             SetPHOSPtMin (Float_t  pt)              { fPHOSPtMin  = pt              ; }
105   void             SetCTSPtMin  (Float_t  pt)              { fCTSPtMin   = pt              ; }  
106   
107   void             SetEMCALPtMax(Float_t  pt)              { fEMCALPtMax = pt              ; }
108   void             SetPHOSPtMax (Float_t  pt)              { fPHOSPtMax  = pt              ; }
109   void             SetCTSPtMax  (Float_t  pt)              { fCTSPtMax   = pt              ; }  
110    
111   Float_t          GetEMCALEMin()                    const { return GetEMCALPtMin()        ; }
112   Float_t          GetPHOSEMin()                     const { return GetPHOSPtMin()         ; }
113   Float_t          GetEMCALEMax()                    const { return GetEMCALPtMax()        ; }
114   Float_t          GetPHOSEMax()                     const { return GetPHOSPtMax()         ; }
115   
116   void             SetEMCALEMin (Float_t  e)               { SetEMCALPtMin(e)              ; }
117   void             SetPHOSEMin  (Float_t  e)               { SetPHOSPtMin (e)              ; }
118   void             SetEMCALEMax (Float_t  e)               { SetEMCALPtMax(e)              ; }
119   void             SetPHOSEMax  (Float_t  e)               { SetPHOSPtMax (e)              ; }
120   
121   
122   // Fidutial cuts  
123   virtual AliFiducialCut * GetFiducialCut()                { 
124                     if(!fFiducialCut) fFiducialCut = new AliFiducialCut(); 
125                     return  fFiducialCut                                                   ; }
126   virtual void     SetFiducialCut(AliFiducialCut * const fc) { fFiducialCut = fc           ; }
127   virtual Bool_t   IsFiducialCutOn()                 const { return fCheckFidCut           ; }
128   virtual void     SwitchOnFiducialCut()                   { fCheckFidCut = kTRUE          ; 
129                                                              fFiducialCut = new AliFiducialCut() ; }
130   virtual void     SwitchOffFiducialCut()                  { fCheckFidCut = kFALSE         ; }
131   
132   // Cluster origin
133   Bool_t           IsEMCALCluster(AliVCluster *clus) const;
134   Bool_t           IsPHOSCluster (AliVCluster *clus) const;
135   //Patch for cluster origin for Old AODs implementation
136   void             SwitchOnOldAODs()                       { fOldAOD = kTRUE               ; }
137   void             SwitchOffOldAODs()                      { fOldAOD = kFALSE              ; }
138   
139   // Cluster/track/cells switchs
140   Bool_t           IsCTSSwitchedOn()                 const { return fFillCTS               ; }
141   void             SwitchOnCTS()                           { fFillCTS = kTRUE              ; }
142   void             SwitchOffCTS()                          { fFillCTS = kFALSE             ; }
143
144   Bool_t           IsEMCALSwitchedOn()               const { return fFillEMCAL             ; }
145   void             SwitchOnEMCAL()                         { fFillEMCAL = kTRUE            ; }
146   void             SwitchOffEMCAL()                        { fFillEMCAL = kFALSE           ; }
147
148   Bool_t           IsPHOSSwitchedOn()                const { return fFillPHOS              ; }
149   void             SwitchOnPHOS()                          { fFillPHOS = kTRUE             ; }
150   void             SwitchOffPHOS()                         { fFillPHOS = kFALSE            ; }
151
152   Bool_t           IsEMCALCellsSwitchedOn()          const { return fFillEMCALCells        ; }
153   void             SwitchOnEMCALCells()                    { fFillEMCALCells = kTRUE       ; }
154   void             SwitchOffEMCALCells()                   { fFillEMCALCells = kFALSE      ; }
155
156   Bool_t           IsPHOSCellsSwitchedOn()           const { return fFillPHOSCells         ; }
157   void             SwitchOnPHOSCells()                     { fFillPHOSCells = kTRUE        ; }
158   void             SwitchOffPHOSCells()                    { fFillPHOSCells = kFALSE       ; }
159
160   Bool_t           AreClustersRecalculated()         const { return fRecalculateClusters   ; }
161   void             SwitchOnClusterRecalculation()          { fRecalculateClusters = kTRUE  ; }
162   void             SwitchOffClusterRecalculation()         { fRecalculateClusters = kFALSE ; }  
163   
164   Bool_t           IsEmbeddedClusterSelectionOn()    const { return fSelectEmbeddedClusters   ; }
165   void             SwitchOnEmbeddedClustersSelection()     { fSelectEmbeddedClusters = kTRUE  ; }
166   void             SwitchOffEmbeddedClustersSelection()    { fSelectEmbeddedClusters = kFALSE ; }
167   
168   // Filling/ filtering / detector information access methods
169   virtual Bool_t   FillInputEvent(const Int_t iEntry, const char *currentFileName)  ;
170   virtual void     FillInputCTS() ;
171   virtual void     FillInputEMCAL() ;
172   virtual void     FillInputEMCALAlgorithm(AliVCluster * clus, const Int_t iclus) ;
173   virtual void     FillInputPHOS() ;
174   virtual void     FillInputEMCALCells() ;
175   virtual void     FillInputPHOSCells() ;
176   virtual void     FillInputVZERO() ;  
177   
178   Int_t            GetV0Signal(Int_t i)              const { return fV0ADC[i]              ; }
179   Int_t            GetV0Multiplicity(Int_t i)        const { return fV0Mul[i]              ; }
180   
181   void             SetEMCALClusterListName(TString &name)  { fEMCALClustersListName = name ; }
182   TString          GetEMCALClusterListName()         const { return fEMCALClustersListName ; }
183
184   // Arrayes with clusters/track/cells access method
185   virtual TObjArray*     GetCTSTracks()              const { return fCTSTracks             ; }
186   virtual TObjArray*     GetEMCALClusters()          const { return fEMCALClusters         ; }
187   virtual TObjArray*     GetPHOSClusters()           const { return fPHOSClusters          ; }
188   virtual AliVCaloCells* GetEMCALCells()             const { return fEMCALCells            ; }
189   virtual AliVCaloCells* GetPHOSCells()              const { return fPHOSCells             ; }
190    
191   //-------------------------------------
192   // Event/track selection methods
193   //-------------------------------------
194   
195   void             AcceptFastClusterEvents()               { fAcceptFastCluster     = kTRUE  ; } 
196   void             RejectFastClusterEvents()               { fAcceptFastCluster     = kFALSE ; }  
197   Bool_t           IsFastClusterAccepted()           const { return fAcceptFastCluster       ; }   
198   
199   void             SwitchOnLEDEventsRemoval()              { fRemoveLEDEvents       = kTRUE  ; }
200   void             SwitchOffLEDEventsRemoval()             { fRemoveLEDEvents       = kFALSE ; } 
201   Bool_t           IsLEDEventRemoved()               const { return fRemoveLEDEvents         ; }   
202
203   void             SetFiredTriggerClassName(TString name ) { fFiredTriggerClassName = name   ; }
204   TString          GetFiredTriggerClassName()        const { return fFiredTriggerClassName   ; }
205   TString          GetFiredTriggerClasses() ;               
206   
207   void             SwitchOnEventSelection()                { fDoEventSelection      = kTRUE  ; }
208   void             SwitchOffEventSelection()               { fDoEventSelection      = kFALSE ; }
209   Bool_t           IsEventSelectionDone()            const { return fDoEventSelection        ; } 
210   
211   void             SwitchOnV0ANDSelection()                { fDoV0ANDEventSelection = kTRUE  ; }
212   void             SwitchOffV0ANDSelection()               { fDoV0ANDEventSelection = kFALSE ; }
213   Bool_t           IsV0ANDEventSelectionDone()       const { return fDoV0ANDEventSelection   ; } 
214
215   void             SwitchOnPrimaryVertexSelection()        { fUseEventsWithPrimaryVertex = kTRUE  ; }
216   void             SwitchOffPrimaryVertexSelection()       { fUseEventsWithPrimaryVertex = kFALSE ; }
217   Bool_t           IsPrimaryVertexSelectionDone()    const { return fUseEventsWithPrimaryVertex   ; } 
218   
219   // Track selection
220   ULong_t          GetTrackStatus()                  const { return fTrackStatus       ; }
221   void             SetTrackStatus(ULong_t bit)             { fTrackStatus = bit        ; }              
222
223   ULong_t          GetTrackFilterMask()              const {return fTrackFilterMask    ; }
224   void             SetTrackFilterMask(ULong_t bit)         { fTrackFilterMask = bit    ; }              
225   
226   AliESDtrackCuts* GetTrackCuts()                    const { return fESDtrackCuts      ; }
227   void             SetTrackCuts(AliESDtrackCuts * cuts)    ;
228   
229   Int_t            GetTrackMultiplicity()            const { return fTrackMult         ; }
230   Float_t          GetTrackMultiplicityEtaCut()      const { return fTrackMultEtaCut   ; }
231   void             SetTrackMultiplicityEtaCut(Float_t eta) { fTrackMultEtaCut = eta    ; }              
232   
233   // Calorimeter specific and patches
234   void             AnalyzeOnlyLED()                        { fAnaLED = kTRUE           ; }
235   void             AnalyzeOnlyPhysics()                    { fAnaLED = kFALSE          ; }
236   
237   void             SwitchOnCaloFilterPatch()               { fCaloFilterPatch = kTRUE  ; 
238                                                              fFillCTS = kFALSE         ; }
239   void             SwitchOffCaloFilterPatch()              { fCaloFilterPatch = kFALSE ; }
240   Bool_t           IsCaloFilterPatchOn()             const { 
241                     if(fDataType == kAOD) { return fCaloFilterPatch ; } 
242                     else                  { return kFALSE           ; }                  }
243         
244   //-------------------------------
245   //Vertex methods
246   //-------------------------------
247   virtual void      GetVertex(Double_t v[3])         const ;
248   virtual Double_t* GetVertex(const Int_t evtIndex)  const { return fVertex[evtIndex]            ; }
249   virtual void      GetVertex(Double_t vertex[3],    const Int_t evtIndex) const ;
250   virtual void      FillVertexArray();
251   virtual Bool_t    CheckForPrimaryVertex();
252   virtual Float_t   GetZvertexCut()                  const { return fZvtxCut                     ; } //cut on vertex position  
253   virtual void      SetZvertexCut(Float_t zcut=10.)        { fZvtxCut=zcut                       ; } //cut on vertex position
254
255   //--------------------------
256   // Centrality / Event Plane
257   //--------------------------
258   virtual AliCentrality* GetCentrality()             const { return fInputEvent->GetCentrality() ; } //Look in AOD reader, different there
259   virtual void     SetCentralityClass(TString name)        { fCentralityClass   = name           ; }
260   virtual void     SetCentralityOpt(Int_t opt)             { fCentralityOpt     = opt            ; }
261   virtual TString  GetCentralityClass()              const { return fCentralityClass             ; }
262   virtual Int_t    GetCentralityOpt()                const { return fCentralityOpt               ; }
263   virtual Int_t    GetEventCentrality()              const ;
264   virtual void     SetCentralityBin(Int_t min, Int_t max) //Set the centrality bin to select the event. If used, then need to get percentile
265                                                            { fCentralityBin[0]=min; fCentralityBin[1]=max;  
266                                                              if(min>=0 && max > 0) fCentralityOpt = 100 ; }
267   virtual Float_t  GetCentralityBin(Int_t i)         const { if(i < 0 || i > 1) return 0 ; 
268                                                              else return fCentralityBin[i]              ; }
269   
270   virtual AliEventplane* GetEventPlane()             const { return fInputEvent->GetEventplane() ; }           
271   virtual void           SetEventPlaneMethod(TString m)    { fEventPlaneMethod = m               ; }
272   virtual TString        GetEventPlaneMethod()       const { return fEventPlaneMethod            ; }
273
274   //-------------------------------------
275   // Other methods
276   //-------------------------------------
277   AliCalorimeterUtils * GetCaloUtils()               const { return fCaloUtils                   ; }
278   void             SetCaloUtils(AliCalorimeterUtils * caloutils)  { fCaloUtils = caloutils       ; }  
279   
280   virtual Double_t GetBField()                       const { return fInputEvent->GetMagneticField()  ; } 
281   
282   //------------------------------------------------
283   // MC analysis specific methods
284   //-------------------------------------------------
285   
286   //Kinematics and galice.root available 
287   virtual AliStack*          GetStack()              const ;
288   virtual AliHeader*         GetHeader()             const ;
289   virtual AliGenEventHeader* GetGenEventHeader()     const ;
290   
291   //Filtered kinematics in AOD  
292   virtual TClonesArray*     GetAODMCParticles(Int_t input = 0) const ;
293   virtual AliAODMCHeader*   GetAODMCHeader(Int_t input = 0)    const ;
294         
295   virtual AliVEvent*        GetInputEvent()          const { return fInputEvent            ; }
296   virtual AliVEvent*        GetOriginalInputEvent()  const { return 0x0                    ; }
297   virtual AliAODEvent*      GetOutputEvent()         const { return fOutputEvent           ; }
298   virtual AliMCEvent*       GetMC()                  const { return fMC                    ; }
299   virtual AliMixedEvent*    GetMixedEvent()          const { return fMixedEvent            ; }
300   virtual Int_t             GetNMixedEvent()         const { return fNMixedEvent           ; } 
301   
302   void             SwitchOnStack()                         { fReadStack          = kTRUE   ; }
303   void             SwitchOffStack()                        { fReadStack          = kFALSE  ; }
304   void             SwitchOnAODMCParticles()                { fReadAODMCParticles = kTRUE   ; }
305   void             SwitchOffAODMCParticles()               { fReadAODMCParticles = kFALSE  ; }
306   Bool_t           ReadStack()                       const { return fReadStack             ; }
307   Bool_t           ReadAODMCParticles()              const { return fReadAODMCParticles    ; }
308         
309   //Select generated events, depending on comparison of pT hard and jets.
310   virtual Bool_t   ComparePtHardAndJetPt() ;
311   virtual Bool_t   IsPtHardAndJetPtComparisonSet()       const { return  fComparePtHardAndJetPt   ; }
312   virtual void     SetPtHardAndJetPtComparison(Bool_t compare) { fComparePtHardAndJetPt = compare ; }   
313   virtual Float_t  GetPtHardAndJetFactor()               const { return  fPtHardAndJetPtFactor    ; }
314   virtual void     SetPtHardAndJetPtFactor(Float_t factor)     { fPtHardAndJetPtFactor = factor   ; }           
315   
316   //MC reader methods, declared there to allow compilation, they are only used in the MC reader:
317   
318   virtual void AddNeutralParticlesArray(TArrayI & /*array*/) { ; }  
319   virtual void AddChargedParticlesArray(TArrayI & /*array*/) { ; } 
320   virtual void AddStatusArray(TArrayI & /*array*/)           { ; }
321   
322   virtual void SwitchOnPi0Decay()                            { ; } 
323   virtual void SwitchOffPi0Decay()                           { ; } 
324   virtual void SwitchOnStatusSelection()                     { ; }
325   virtual void SwitchOffStatusSelection()                    { ; }
326   virtual void SwitchOnOverlapCheck()                        { ; }
327   virtual void SwitchOffOverlapCheck()                       { ; }
328   virtual void SwitchOnOnlyGeneratorParticles()              { ; }
329   virtual void SwitchOffOnlyGeneratorParticles()             { ; }
330
331   virtual void SetEMCALOverlapAngle(Float_t /*angle*/)       { ; }
332   virtual void SetPHOSOverlapAngle(Float_t /*angle*/)        { ; }
333
334   
335  protected:
336   Int_t            fEventNumber;    // Event number
337   Int_t            fDataType ;      // Select MC:Kinematics, Data:ESD/AOD, MCData:Both
338   Int_t            fDebug;          // Debugging level
339   AliFiducialCut * fFiducialCut;    //! Acceptance cuts
340   Bool_t           fCheckFidCut ;   // Do analysis for clusters in defined region         
341
342   Bool_t           fComparePtHardAndJetPt;  // In MonteCarlo, jet events, reject fake events with wrong jet energy.
343   Float_t          fPtHardAndJetPtFactor;   // Factor between ptHard and jet pT to reject/accept event.
344
345   Float_t          fCTSPtMin;       // pT Threshold on charged particles 
346   Float_t          fEMCALPtMin;     // pT Threshold on emcal clusters
347   Float_t          fPHOSPtMin;      // pT Threshold on phos clusters
348   Float_t          fCTSPtMax;       // pT Threshold on charged particles 
349   Float_t          fEMCALPtMax;     // pT Threshold on emcal clusters
350   Float_t          fPHOSPtMax;      // pT Threshold on phos clusters
351   
352   TList          * fAODBranchList ; //-> List with AOD branches created and needed in analysis  
353   TObjArray      * fCTSTracks ;     //-> temporal array with tracks
354   TObjArray      * fEMCALClusters ; //-> temporal array with EMCAL CaloClusters
355   TObjArray      * fPHOSClusters ;  //-> temporal array with PHOS  CaloClusters
356   AliVCaloCells  * fEMCALCells ;    //! temporal array with EMCAL CaloCells
357   AliVCaloCells  * fPHOSCells ;     //! temporal array with PHOS  CaloCells
358
359   AliVEvent      * fInputEvent;     //! pointer to esd or aod input
360   AliAODEvent    * fOutputEvent;    //! pointer to aod output
361   AliMCEvent     * fMC;             //! Monte Carlo Event Handler  
362
363   Bool_t           fFillCTS;        // use data from CTS
364   Bool_t           fFillEMCAL;      // use data from EMCAL
365   Bool_t           fFillPHOS;       // use data from PHOS
366   Bool_t           fFillEMCALCells; // use data from EMCAL
367   Bool_t           fFillPHOSCells;  // use data from PHOS
368   Bool_t           fRecalculateClusters;    // Correct clusters, recalculate them if recalibration parameters is given
369   Bool_t           fSelectEmbeddedClusters; // Use only simulated clusters that come from embedding.
370   
371   ULong_t          fTrackStatus        ; // Track selection bit, select tracks refitted in TPC, ITS ...
372   ULong_t          fTrackFilterMask    ; // Track selection bit, for AODs (any difference with track status?)
373   AliESDtrackCuts *fESDtrackCuts       ; // Track cut  
374   Int_t            fTrackMult          ; // Track multiplicity
375   Float_t          fTrackMultEtaCut    ; // Track multiplicity eta cut
376   Bool_t           fReadStack          ; // Access kine information from stack
377   Bool_t                 fReadAODMCParticles ; // Access kine information from filtered AOD MC particles
378         
379   TString          fDeltaAODFileName   ; // Delta AOD file name
380   TString          fFiredTriggerClassName; // Name of trigger event type used to do the analysis
381
382   Bool_t           fAnaLED;              // Analyze LED data only.
383
384   TString          fTaskName;            // Name of task that executes the analysis
385         
386   AliCalorimeterUtils * fCaloUtils ;     //  Pointer to CalorimeterUtils
387
388   AliMixedEvent  * fMixedEvent  ;        //! mixed event object. This class is not the owner
389   Int_t            fNMixedEvent ;        // number of events in mixed event buffer
390   Double_t      ** fVertex      ;        //! vertex array 3 dim for each mixed event buffer
391   
392   Bool_t           fWriteOutputDeltaAOD; // Write the created delta AOD objects into file  
393         Bool_t           fOldAOD;              // Old AODs, before revision 4.20
394   
395   Int_t            fV0ADC[2]    ;        // Integrated V0 signal
396   Int_t            fV0Mul[2]    ;        // Integrated V0 Multiplicity
397
398   Bool_t           fCaloFilterPatch;             // CaloFilter patch
399   TString          fEMCALClustersListName;       // Alternative list of clusters produced elsewhere and not from InputEvent
400   
401   // Event selection
402   Float_t          fZvtxCut ;                      // Cut on vertex position
403   Bool_t           fAcceptFastCluster;           // Accept events from fast cluster, exclude these events for LHC11a
404   Bool_t           fRemoveLEDEvents;             // Remove events where LED was wrongly firing - EMCAL LHC11a
405   Bool_t           fDoEventSelection;            // Select events depending on V0, pileup, vertex well reconstructed, at least 1 track ...
406   Bool_t           fDoV0ANDEventSelection;       // Select events depending on V0, fDoEventSelection should be on
407   Bool_t           fUseEventsWithPrimaryVertex ; // Select events with primary vertex
408   AliTriggerAnalysis* fTriggerAnalysis;          // Access to trigger selection algorithm for V0AND calculation
409   
410   //Centrality/Event plane
411   TString          fCentralityClass;     // Name of selected centrality class     
412   Int_t            fCentralityOpt;       // Option for the returned value of the centrality, possible options 5, 10, 100
413   Int_t            fCentralityBin[2];    // Minimum and maximum value of the centrality for the analysis
414   TString          fEventPlaneMethod;    // Name of event plane method, by default "Q"
415   
416   ClassDef(AliCaloTrackReader,34)
417 } ;
418
419
420 #endif //ALICALOTRACKREADER_H
421
422
423