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