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