]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG/CaloTrackCorrBase/AliCaloTrackReader.h
Initialize PHOS and EMCAL in AliAnaCalorimeterUtils and geometry matrices during...
[u/mrichter/AliRoot.git] / PWG / CaloTrackCorrBase / 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 */
1c5acb87 5
6//_________________________________________________________________________
7// Base class for reading data: MonteCarlo, ESD or AOD, of PHOS EMCAL and
8// Central Barrel Tracking detectors.
9// Not all MC particles/tracks/clusters are kept, some kinematical restrictions are done.
591cc579 10// Mother class of : AliCaloTrackESDReader: Fills ESD data in 3 TObjArrays (PHOS, EMCAL, CTS)
743aa53a 11// : AliCaloTrackMCReader : Fills Kinematics data in 3 TObjArrays (PHOS, EMCAL, CTS)
12// : AliCaloTrackAODReader: Fills AOD data in 3 TObjArrays (PHOS, EMCAL, CTS)
1c5acb87 13// -- Author: Gustavo Conesa (INFN-LNF)
743aa53a 14//////////////////////////////////////////////////////////////////////////////
1c5acb87 15
16// --- ROOT system ---
49b53920 17#include <TObject.h>
18#include <TString.h>
cfaba834 19class TObjArray ;
591cc579 20class TTree ;
f3138ecf 21class TArrayI ;
1c5acb87 22
23//--- ANALYSIS system ---
0de1814a 24#include "AliVEvent.h"
c5693f62 25class AliVCaloCells;
26class AliStack;
27class AliHeader;
28class AliGenEventHeader;
8dacfd76 29class AliAODEvent;
477d6cee 30class AliMCEvent;
c8fe2783 31class AliMixedEvent;
591cc579 32class AliAODMCHeader;
c5693f62 33class AliESDtrackCuts;
b6dd6ad2 34class AliCentrality;
48c37e02 35class AliTriggerAnalysis;
72542aba 36class AliEventplane;
f3138ecf 37class AliVCluster;
1c5acb87 38
0de1814a 39// --- CaloTrackCorr / EMCAL ---
cfaba834 40#include "AliFiducialCut.h"
0de1814a 41class AliEMCALRecoUtils;
c5693f62 42class AliCalorimeterUtils;
cfaba834 43
1c5acb87 44class AliCaloTrackReader : public TObject {
45
03190ad7 46public:
f3138ecf 47
48 AliCaloTrackReader() ; // ctor
49 virtual ~AliCaloTrackReader() ; // virtual dtor
cfaba834 50
51 //--------------------------------
52 // General methods
53 //--------------------------------
54
55 virtual void Init();
de0b770d 56
cfaba834 57 virtual void InitParameters();
de0b770d 58
cfaba834 59 virtual void Print(const Option_t * opt) const;
de0b770d 60
cfaba834 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
3bfc4732 160 Bool_t AreClustersRecalculated() const { return fRecalculateClusters ; }
161 void SwitchOnClusterRecalculation() { fRecalculateClusters = kTRUE ; }
162 void SwitchOffClusterRecalculation() { fRecalculateClusters = kFALSE ; }
163
3c75ddf7 164 Bool_t IsEmbeddedClusterSelectionOn() const { return fSelectEmbeddedClusters ; }
165 void SwitchOnEmbeddedClustersSelection() { fSelectEmbeddedClusters = kTRUE ; }
166 void SwitchOffEmbeddedClustersSelection() { fSelectEmbeddedClusters = kFALSE ; }
6060ed91 167
be518ab0 168 // Filling/ filtering / detector information access methods
a5fb4114 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
3c75ddf7 178 Int_t GetV0Signal(Int_t i) const { return fV0ADC[i] ; }
179 Int_t GetV0Multiplicity(Int_t i) const { return fV0Mul[i] ; }
a5fb4114 180
a7e5a381 181 void SetEMCALClusterListName(TString &name) { fEMCALClustersListName = name ; }
c5693f62 182 TString GetEMCALClusterListName() const { return fEMCALClustersListName ; }
cfaba834 183
be518ab0 184 // Arrayes with clusters/track/cells access method
3c75ddf7 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 ; }
cfaba834 190
191 //-------------------------------------
192 // Event/track selection methods
193 //-------------------------------------
194
cd2e4ce6 195 void AcceptFastClusterEvents() { fAcceptFastCluster = kTRUE ; }
196 void RejectFastClusterEvents() { fAcceptFastCluster = kFALSE ; }
c5693f62 197 Bool_t IsFastClusterAccepted() const { return fAcceptFastCluster ; }
cd2e4ce6 198
199 void SwitchOnLEDEventsRemoval() { fRemoveLEDEvents = kTRUE ; }
200 void SwitchOffLEDEventsRemoval() { fRemoveLEDEvents = kFALSE ; }
c5693f62 201 Bool_t IsLEDEventRemoved() const { return fRemoveLEDEvents ; }
cd2e4ce6 202
a5fb4114 203 void SetFiredTriggerClassName(TString name ) { fFiredTriggerClassName = name ; }
204 TString GetFiredTriggerClassName() const { return fFiredTriggerClassName ; }
43074325 205 TString GetFiredTriggerClasses() ;
cfaba834 206
cd2e4ce6 207 void SwitchOnEventSelection() { fDoEventSelection = kTRUE ; }
208 void SwitchOffEventSelection() { fDoEventSelection = kFALSE ; }
a5fb4114 209 Bool_t IsEventSelectionDone() const { return fDoEventSelection ; }
cfaba834 210
a5fb4114 211 void SwitchOnV0ANDSelection() { fDoV0ANDEventSelection = kTRUE ; }
212 void SwitchOffV0ANDSelection() { fDoV0ANDEventSelection = kFALSE ; }
213 Bool_t IsV0ANDEventSelectionDone() const { return fDoV0ANDEventSelection ; }
20218aea 214
a5fb4114 215 void SwitchOnPrimaryVertexSelection() { fUseEventsWithPrimaryVertex = kTRUE ; }
216 void SwitchOffPrimaryVertexSelection() { fUseEventsWithPrimaryVertex = kFALSE ; }
217 Bool_t IsPrimaryVertexSelectionDone() const { return fUseEventsWithPrimaryVertex ; }
20218aea 218
3a58eee6 219 // Track selection
743aa53a 220 ULong_t GetTrackStatus() const { return fTrackStatus ; }
221 void SetTrackStatus(ULong_t bit) { fTrackStatus = bit ; }
a5fb4114 222
743aa53a 223 ULong_t GetTrackFilterMask() const {return fTrackFilterMask ; }
224 void SetTrackFilterMask(ULong_t bit) { fTrackFilterMask = bit ; }
3a58eee6 225
743aa53a 226 AliESDtrackCuts* GetTrackCuts() const { return fESDtrackCuts ; }
c5693f62 227 void SetTrackCuts(AliESDtrackCuts * cuts) ;
228
743aa53a 229 Int_t GetTrackMultiplicity() const { return fTrackMult ; }
230 Float_t GetTrackMultiplicityEtaCut() const { return fTrackMultEtaCut ; }
231 void SetTrackMultiplicityEtaCut(Float_t eta) { fTrackMultEtaCut = eta ; }
c8fe2783 232
a5fb4114 233 // Calorimeter specific and patches
743aa53a 234 void AnalyzeOnlyLED() { fAnaLED = kTRUE ; }
235 void AnalyzeOnlyPhysics() { fAnaLED = kFALSE ; }
a5fb4114 236
743aa53a 237 void SwitchOnCaloFilterPatch() { fCaloFilterPatch = kTRUE ;
238 fFillCTS = kFALSE ; }
239 void SwitchOffCaloFilterPatch() { fCaloFilterPatch = kFALSE ; }
a5fb4114 240 Bool_t IsCaloFilterPatchOn() const {
241 if(fDataType == kAOD) { return fCaloFilterPatch ; }
743aa53a 242 else { return kFALSE ; } }
cfaba834 243
244 //-------------------------------
48c37e02 245 //Vertex methods
cfaba834 246 //-------------------------------
a5fb4114 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 ;
cfaba834 250 virtual void FillVertexArray();
251 virtual Bool_t CheckForPrimaryVertex();
a5fb4114 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
0b13c1f9 254
05d0d05d 255 //--------------------------
72542aba 256 // Centrality / Event Plane
05d0d05d 257 //--------------------------
a5fb4114 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
3c75ddf7 270 virtual AliEventplane* GetEventPlane() const { return fInputEvent->GetEventplane() ; }
271 virtual void SetEventPlaneMethod(TString m) { fEventPlaneMethod = m ; }
272 virtual TString GetEventPlaneMethod() const { return fEventPlaneMethod ; }
72542aba 273
cfaba834 274 //-------------------------------------
275 // Other methods
276 //-------------------------------------
3c75ddf7 277 AliCalorimeterUtils * GetCaloUtils() const { return fCaloUtils ; }
278 void SetCaloUtils(AliCalorimeterUtils * caloutils) { fCaloUtils = caloutils ; }
48c37e02 279
a5fb4114 280 virtual Double_t GetBField() const { return fInputEvent->GetMagneticField() ; }
cfaba834 281
de0b770d 282 void SetImportGeometryFromFile(Bool_t import,
55d66f31 283 TString path = "") {
de0b770d 284 fImportGeometryFromFile = import ;
285 fImportGeometryFilePath = path ; }
286
cfaba834 287 //------------------------------------------------
288 // MC analysis specific methods
289 //-------------------------------------------------
290
291 //Kinematics and galice.root available
a5fb4114 292 virtual AliStack* GetStack() const ;
293 virtual AliHeader* GetHeader() const ;
294 virtual AliGenEventHeader* GetGenEventHeader() const ;
cfaba834 295
296 //Filtered kinematics in AOD
297 virtual TClonesArray* GetAODMCParticles(Int_t input = 0) const ;
298 virtual AliAODMCHeader* GetAODMCHeader(Int_t input = 0) const ;
299
3c75ddf7 300 virtual AliVEvent* GetInputEvent() const { return fInputEvent ; }
301 virtual AliVEvent* GetOriginalInputEvent() const { return 0x0 ; }
302 virtual AliAODEvent* GetOutputEvent() const { return fOutputEvent ; }
303 virtual AliMCEvent* GetMC() const { return fMC ; }
304 virtual AliMixedEvent* GetMixedEvent() const { return fMixedEvent ; }
305 virtual Int_t GetNMixedEvent() const { return fNMixedEvent ; }
a5fb4114 306
3c75ddf7 307 void SwitchOnStack() { fReadStack = kTRUE ; }
308 void SwitchOffStack() { fReadStack = kFALSE ; }
309 void SwitchOnAODMCParticles() { fReadAODMCParticles = kTRUE ; }
310 void SwitchOffAODMCParticles() { fReadAODMCParticles = kFALSE ; }
311 Bool_t ReadStack() const { return fReadStack ; }
312 Bool_t ReadAODMCParticles() const { return fReadAODMCParticles ; }
cfaba834 313
314 //Select generated events, depending on comparison of pT hard and jets.
a5fb4114 315 virtual Bool_t ComparePtHardAndJetPt() ;
316 virtual Bool_t IsPtHardAndJetPtComparisonSet() const { return fComparePtHardAndJetPt ; }
317 virtual void SetPtHardAndJetPtComparison(Bool_t compare) { fComparePtHardAndJetPt = compare ; }
318 virtual Float_t GetPtHardAndJetFactor() const { return fPtHardAndJetPtFactor ; }
319 virtual void SetPtHardAndJetPtFactor(Float_t factor) { fPtHardAndJetPtFactor = factor ; }
eb3e2665 320
cfaba834 321 //MC reader methods, declared there to allow compilation, they are only used in the MC reader:
0ae57829 322
a5fb4114 323 virtual void AddNeutralParticlesArray(TArrayI & /*array*/) { ; }
324 virtual void AddChargedParticlesArray(TArrayI & /*array*/) { ; }
325 virtual void AddStatusArray(TArrayI & /*array*/) { ; }
326
327 virtual void SwitchOnPi0Decay() { ; }
328 virtual void SwitchOffPi0Decay() { ; }
329 virtual void SwitchOnStatusSelection() { ; }
330 virtual void SwitchOffStatusSelection() { ; }
331 virtual void SwitchOnOverlapCheck() { ; }
332 virtual void SwitchOffOverlapCheck() { ; }
333 virtual void SwitchOnOnlyGeneratorParticles() { ; }
334 virtual void SwitchOffOnlyGeneratorParticles() { ; }
be518ab0 335
a5fb4114 336 virtual void SetEMCALOverlapAngle(Float_t /*angle*/) { ; }
337 virtual void SetPHOSOverlapAngle(Float_t /*angle*/) { ; }
af7b3903 338
0ae57829 339
1c5acb87 340 protected:
7e25653f 341 Int_t fEventNumber; // Event number
7e25653f 342 Int_t fDataType ; // Select MC:Kinematics, Data:ESD/AOD, MCData:Both
343 Int_t fDebug; // Debugging level
344 AliFiducialCut * fFiducialCut; //! Acceptance cuts
345 Bool_t fCheckFidCut ; // Do analysis for clusters in defined region
decca433 346
591cc579 347 Bool_t fComparePtHardAndJetPt; // In MonteCarlo, jet events, reject fake events with wrong jet energy.
348 Float_t fPtHardAndJetPtFactor; // Factor between ptHard and jet pT to reject/accept event.
349
7e25653f 350 Float_t fCTSPtMin; // pT Threshold on charged particles
351 Float_t fEMCALPtMin; // pT Threshold on emcal clusters
352 Float_t fPHOSPtMin; // pT Threshold on phos clusters
98ec971d 353 Float_t fCTSPtMax; // pT Threshold on charged particles
354 Float_t fEMCALPtMax; // pT Threshold on emcal clusters
355 Float_t fPHOSPtMax; // pT Threshold on phos clusters
356
783abd9f 357 TList * fAODBranchList ; //-> List with AOD branches created and needed in analysis
358 TObjArray * fCTSTracks ; //-> temporal array with tracks
359 TObjArray * fEMCALClusters ; //-> temporal array with EMCAL CaloClusters
360 TObjArray * fPHOSClusters ; //-> temporal array with PHOS CaloClusters
be518ab0 361 AliVCaloCells * fEMCALCells ; //! temporal array with EMCAL CaloCells
362 AliVCaloCells * fPHOSCells ; //! temporal array with PHOS CaloCells
1c5acb87 363
7e25653f 364 AliVEvent * fInputEvent; //! pointer to esd or aod input
365 AliAODEvent * fOutputEvent; //! pointer to aod output
366 AliMCEvent * fMC; //! Monte Carlo Event Handler
1c5acb87 367
7e25653f 368 Bool_t fFillCTS; // use data from CTS
369 Bool_t fFillEMCAL; // use data from EMCAL
370 Bool_t fFillPHOS; // use data from PHOS
371 Bool_t fFillEMCALCells; // use data from EMCAL
372 Bool_t fFillPHOSCells; // use data from PHOS
3bfc4732 373 Bool_t fRecalculateClusters; // Correct clusters, recalculate them if recalibration parameters is given
374 Bool_t fSelectEmbeddedClusters; // Use only simulated clusters that come from embedding.
48c37e02 375
7e25653f 376 ULong_t fTrackStatus ; // Track selection bit, select tracks refitted in TPC, ITS ...
a5fb4114 377 ULong_t fTrackFilterMask ; // Track selection bit, for AODs (any difference with track status?)
3a58eee6 378 AliESDtrackCuts *fESDtrackCuts ; // Track cut
379 Int_t fTrackMult ; // Track multiplicity
380 Float_t fTrackMultEtaCut ; // Track multiplicity eta cut
7e25653f 381 Bool_t fReadStack ; // Access kine information from stack
382 Bool_t fReadAODMCParticles ; // Access kine information from filtered AOD MC particles
591cc579 383
7e25653f 384 TString fDeltaAODFileName ; // Delta AOD file name
385 TString fFiredTriggerClassName; // Name of trigger event type used to do the analysis
afabc52f 386
783abd9f 387 Bool_t fAnaLED; // Analyze LED data only.
c1ac3823 388
783abd9f 389 TString fTaskName; // Name of task that executes the analysis
765d44e7 390
783abd9f 391 AliCalorimeterUtils * fCaloUtils ; // Pointer to CalorimeterUtils
c8fe2783 392
783abd9f 393 AliMixedEvent * fMixedEvent ; //! mixed event object. This class is not the owner
394 Int_t fNMixedEvent ; // number of events in mixed event buffer
395 Double_t ** fVertex ; //! vertex array 3 dim for each mixed event buffer
c8fe2783 396
783abd9f 397 Bool_t fWriteOutputDeltaAOD; // Write the created delta AOD objects into file
398 Bool_t fOldAOD; // Old AODs, before revision 4.20
f37fa8d2 399
783abd9f 400 Int_t fV0ADC[2] ; // Integrated V0 signal
401 Int_t fV0Mul[2] ; // Integrated V0 Multiplicity
798a9b04 402
20218aea 403 Bool_t fCaloFilterPatch; // CaloFilter patch
404 TString fEMCALClustersListName; // Alternative list of clusters produced elsewhere and not from InputEvent
cd2e4ce6 405
406 // Event selection
407 Float_t fZvtxCut ; // Cut on vertex position
408 Bool_t fAcceptFastCluster; // Accept events from fast cluster, exclude these events for LHC11a
409 Bool_t fRemoveLEDEvents; // Remove events where LED was wrongly firing - EMCAL LHC11a
20218aea 410 Bool_t fDoEventSelection; // Select events depending on V0, pileup, vertex well reconstructed, at least 1 track ...
411 Bool_t fDoV0ANDEventSelection; // Select events depending on V0, fDoEventSelection should be on
412 Bool_t fUseEventsWithPrimaryVertex ; // Select events with primary vertex
413 AliTriggerAnalysis* fTriggerAnalysis; // Access to trigger selection algorithm for V0AND calculation
32fd29fe 414
72542aba 415 //Centrality/Event plane
783abd9f 416 TString fCentralityClass; // Name of selected centrality class
417 Int_t fCentralityOpt; // Option for the returned value of the centrality, possible options 5, 10, 100
418 Int_t fCentralityBin[2]; // Minimum and maximum value of the centrality for the analysis
72542aba 419 TString fEventPlaneMethod; // Name of event plane method, by default "Q"
32fd29fe 420
de0b770d 421 Bool_t fImportGeometryFromFile; // Import geometry settings in geometry.root file
422 TString fImportGeometryFilePath; // path fo geometry.root file
423
0de1814a 424 AliCaloTrackReader( const AliCaloTrackReader & r) ; // cpy ctor
425 AliCaloTrackReader & operator = (const AliCaloTrackReader & r) ; // cpy assignment
f3138ecf 426
de0b770d 427 ClassDef(AliCaloTrackReader,35)
f3138ecf 428
1c5acb87 429} ;
430
431
432#endif //ALICALOTRACKREADER_H
433
434
435