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