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