]>
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 --- | |
18 | #include "TObject.h" | |
a97cd470 | 19 | #include "TString.h" |
cfaba834 | 20 | #include "TRandom3.h" |
21 | class TObjArray ; | |
591cc579 | 22 | class TTree ; |
1c5acb87 | 23 | |
24 | //--- ANALYSIS system --- | |
cfaba834 | 25 | #include "AliVCaloCells.h" |
1c5acb87 | 26 | class AliStack ; |
27 | class AliHeader ; | |
28 | class AliGenEventHeader ; | |
be518ab0 | 29 | #include "AliVEvent.h" |
8dacfd76 | 30 | class AliAODEvent; |
477d6cee | 31 | class AliMCEvent; |
c8fe2783 | 32 | class AliMixedEvent; |
591cc579 | 33 | class AliAODMCHeader; |
3a58eee6 | 34 | class AliESDtrackCuts; |
b6dd6ad2 | 35 | class AliCentrality; |
48c37e02 | 36 | class AliTriggerAnalysis; |
72542aba | 37 | class AliEventplane; |
1c5acb87 | 38 | |
cfaba834 | 39 | // --- PartCorr |
40 | #include "AliCalorimeterUtils.h" | |
41 | #include "AliFiducialCut.h" | |
42 | ||
1c5acb87 | 43 | class AliCaloTrackReader : public TObject { |
44 | ||
03190ad7 | 45 | public: |
1c5acb87 | 46 | AliCaloTrackReader() ; // ctor |
1c5acb87 | 47 | virtual ~AliCaloTrackReader() ;//virtual dtor |
03190ad7 | 48 | private: |
78219bac | 49 | AliCaloTrackReader(const AliCaloTrackReader & g) ; // cpy ctor |
03190ad7 | 50 | AliCaloTrackReader & operator = (const AliCaloTrackReader & g) ;//cpy assignment |
51 | ||
52 | public: | |
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 | |
a5fb4114 | 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}; | |
a5fb4114 | 67 | virtual Int_t GetDataType() const { return fDataType ; } |
68 | virtual void SetDataType(Int_t data ) { fDataType = data ; } | |
1c5acb87 | 69 | |
a5fb4114 | 70 | virtual Int_t GetEventNumber() const { return fEventNumber ; } |
a79a2424 | 71 | |
a5fb4114 | 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) ; | |
743aa53a | 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 | |
a5fb4114 | 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 | |
a5fb4114 | 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 ; } | |
102 | ||
103 | void SetEMCALPtMin(Float_t pt) { fEMCALPtMin = pt ; } | |
104 | void SetPHOSPtMin (Float_t pt) { fPHOSPtMin = pt ; } | |
105 | void SetCTSPtMin (Float_t pt) { fCTSPtMin = pt ; } | |
106 | ||
107 | void SetEMCALPtMax(Float_t pt) { fEMCALPtMax = pt ; } | |
108 | void SetPHOSPtMax (Float_t pt) { fPHOSPtMax = pt ; } | |
109 | void SetCTSPtMax (Float_t pt) { fCTSPtMax = pt ; } | |
110 | ||
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 | |
a5fb4114 | 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(); | |
125 | return fFiducialCut ; } | |
126 | virtual void SetFiducialCut(AliFiducialCut * const fc) { fFiducialCut = fc ; } | |
127 | virtual Bool_t IsFiducialCutOn() const { return fCheckFidCut ; } | |
743aa53a | 128 | virtual void SwitchOnFiducialCut() { fCheckFidCut = kTRUE ; |
129 | fFiducialCut = new AliFiducialCut();} | |
a5fb4114 | 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 |
a5fb4114 | 136 | void SwitchOnOldAODs() { fOldAOD = kTRUE ; } |
137 | void SwitchOffOldAODs() { fOldAOD = kFALSE ; } | |
f37fa8d2 | 138 | |
cfaba834 | 139 | // Cluster/track/cells switchs |
a5fb4114 | 140 | Bool_t IsCTSSwitchedOn() const { return fFillCTS ; } |
141 | void SwitchOnCTS() { fFillCTS = kTRUE ; } | |
142 | void SwitchOffCTS() { fFillCTS = kFALSE ; } | |
1c5acb87 | 143 | |
a5fb4114 | 144 | Bool_t IsEMCALSwitchedOn() const { return fFillEMCAL ; } |
145 | void SwitchOnEMCAL() { fFillEMCAL = kTRUE ; } | |
146 | void SwitchOffEMCAL() { fFillEMCAL = kFALSE ; } | |
1c5acb87 | 147 | |
a5fb4114 | 148 | Bool_t IsPHOSSwitchedOn() const { return fFillPHOS ; } |
149 | void SwitchOnPHOS() { fFillPHOS = kTRUE ; } | |
150 | void SwitchOffPHOS() { fFillPHOS = kFALSE ; } | |
1c5acb87 | 151 | |
a5fb4114 | 152 | Bool_t IsEMCALCellsSwitchedOn() const { return fFillEMCALCells ; } |
153 | void SwitchOnEMCALCells() { fFillEMCALCells = kTRUE ; } | |
154 | void SwitchOffEMCALCells() { fFillEMCALCells = kFALSE ; } | |
1c5acb87 | 155 | |
a5fb4114 | 156 | Bool_t IsPHOSCellsSwitchedOn() const { return fFillPHOSCells ; } |
157 | void SwitchOnPHOSCells() { fFillPHOSCells = kTRUE ; } | |
158 | void SwitchOffPHOSCells() { fFillPHOSCells = kFALSE ; } | |
1c5acb87 | 159 | |
a5fb4114 | 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 | ||
173 | Int_t GetV0Signal(Int_t i) const { return fV0ADC[i] ; } | |
174 | Int_t GetV0Multiplicity(Int_t i) const { return fV0Mul[i] ; } | |
175 | ||
176 | void SetEMCALClusterListName(TString &name) {fEMCALClustersListName = name ; } | |
cfaba834 | 177 | |
be518ab0 | 178 | // Arrayes with clusters/track/cells access method |
a5fb4114 | 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 | ||
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 | //------------------------------------- | |
a5fb4114 | 265 | AliCalorimeterUtils * GetCaloUtils() const { return fCaloUtils ; } |
266 | void SetCaloUtils(AliCalorimeterUtils * caloutils) { fCaloUtils = caloutils ; } | |
48c37e02 | 267 | |
cfaba834 | 268 | //Use only for MC |
a5fb4114 | 269 | void SwitchOnClusterEnergySmearing() { fSmearClusterEnergy = kTRUE ; } |
270 | void SwitchOffClusterEnergySmearing() { fSmearClusterEnergy = kFALSE ; } | |
271 | Bool_t IsClusterEnergySmeared() const { return fSmearClusterEnergy ; } | |
272 | void SetSmearingParameters(Int_t i, Float_t param) { if(i < 3)fSmearClusterParam[i] = param ; } | |
be518ab0 | 273 | |
a5fb4114 | 274 | virtual Double_t GetBField() const { return fInputEvent->GetMagneticField() ; } |
cfaba834 | 275 | |
276 | //------------------------------------------------ | |
277 | // MC analysis specific methods | |
278 | //------------------------------------------------- | |
279 | ||
280 | //Kinematics and galice.root available | |
a5fb4114 | 281 | virtual AliStack* GetStack() const ; |
282 | virtual AliHeader* GetHeader() const ; | |
283 | virtual AliGenEventHeader* GetGenEventHeader() const ; | |
cfaba834 | 284 | |
285 | //Filtered kinematics in AOD | |
286 | virtual TClonesArray* GetAODMCParticles(Int_t input = 0) const ; | |
287 | virtual AliAODMCHeader* GetAODMCHeader(Int_t input = 0) const ; | |
288 | ||
a5fb4114 | 289 | virtual AliVEvent* GetInputEvent() const { return fInputEvent ; } |
290 | virtual AliVEvent* GetOriginalInputEvent() const { return 0x0 ; } | |
291 | virtual AliAODEvent* GetOutputEvent() const { return fOutputEvent ; } | |
292 | virtual AliMCEvent* GetMC() const { return fMC ; } | |
293 | virtual AliMixedEvent* GetMixedEvent() const { return fMixedEvent ; } | |
294 | virtual Int_t GetNMixedEvent() const { return fNMixedEvent ; } | |
295 | ||
296 | void SwitchOnStack() { fReadStack = kTRUE ; } | |
297 | void SwitchOffStack() { fReadStack = kFALSE ; } | |
298 | void SwitchOnAODMCParticles() { fReadAODMCParticles = kTRUE ; } | |
299 | void SwitchOffAODMCParticles() { fReadAODMCParticles = kFALSE ; } | |
300 | Bool_t ReadStack() const { return fReadStack ; } | |
301 | Bool_t ReadAODMCParticles() const { return fReadAODMCParticles ; } | |
cfaba834 | 302 | |
303 | //Select generated events, depending on comparison of pT hard and jets. | |
a5fb4114 | 304 | virtual Bool_t ComparePtHardAndJetPt() ; |
305 | virtual Bool_t IsPtHardAndJetPtComparisonSet() const { return fComparePtHardAndJetPt ; } | |
306 | virtual void SetPtHardAndJetPtComparison(Bool_t compare) { fComparePtHardAndJetPt = compare ; } | |
307 | virtual Float_t GetPtHardAndJetFactor() const { return fPtHardAndJetPtFactor ; } | |
308 | virtual void SetPtHardAndJetPtFactor(Float_t factor) { fPtHardAndJetPtFactor = factor ; } | |
eb3e2665 | 309 | |
cfaba834 | 310 | //MC reader methods, declared there to allow compilation, they are only used in the MC reader: |
0ae57829 | 311 | |
a5fb4114 | 312 | virtual void AddNeutralParticlesArray(TArrayI & /*array*/) { ; } |
313 | virtual void AddChargedParticlesArray(TArrayI & /*array*/) { ; } | |
314 | virtual void AddStatusArray(TArrayI & /*array*/) { ; } | |
315 | ||
316 | virtual void SwitchOnPi0Decay() { ; } | |
317 | virtual void SwitchOffPi0Decay() { ; } | |
318 | virtual void SwitchOnStatusSelection() { ; } | |
319 | virtual void SwitchOffStatusSelection() { ; } | |
320 | virtual void SwitchOnOverlapCheck() { ; } | |
321 | virtual void SwitchOffOverlapCheck() { ; } | |
322 | virtual void SwitchOnOnlyGeneratorParticles() { ; } | |
323 | virtual void SwitchOffOnlyGeneratorParticles() { ; } | |
be518ab0 | 324 | |
a5fb4114 | 325 | virtual void SetEMCALOverlapAngle(Float_t /*angle*/) { ; } |
326 | virtual void SetPHOSOverlapAngle(Float_t /*angle*/) { ; } | |
af7b3903 | 327 | |
0ae57829 | 328 | |
1c5acb87 | 329 | protected: |
7e25653f | 330 | Int_t fEventNumber; // Event number |
7e25653f | 331 | Int_t fDataType ; // Select MC:Kinematics, Data:ESD/AOD, MCData:Both |
332 | Int_t fDebug; // Debugging level | |
333 | AliFiducialCut * fFiducialCut; //! Acceptance cuts | |
334 | Bool_t fCheckFidCut ; // Do analysis for clusters in defined region | |
decca433 | 335 | |
591cc579 | 336 | Bool_t fComparePtHardAndJetPt; // In MonteCarlo, jet events, reject fake events with wrong jet energy. |
337 | Float_t fPtHardAndJetPtFactor; // Factor between ptHard and jet pT to reject/accept event. | |
338 | ||
7e25653f | 339 | Float_t fCTSPtMin; // pT Threshold on charged particles |
340 | Float_t fEMCALPtMin; // pT Threshold on emcal clusters | |
341 | Float_t fPHOSPtMin; // pT Threshold on phos clusters | |
98ec971d | 342 | Float_t fCTSPtMax; // pT Threshold on charged particles |
343 | Float_t fEMCALPtMax; // pT Threshold on emcal clusters | |
344 | Float_t fPHOSPtMax; // pT Threshold on phos clusters | |
345 | ||
783abd9f | 346 | TList * fAODBranchList ; //-> List with AOD branches created and needed in analysis |
347 | TObjArray * fCTSTracks ; //-> temporal array with tracks | |
348 | TObjArray * fEMCALClusters ; //-> temporal array with EMCAL CaloClusters | |
349 | TObjArray * fPHOSClusters ; //-> temporal array with PHOS CaloClusters | |
be518ab0 | 350 | AliVCaloCells * fEMCALCells ; //! temporal array with EMCAL CaloCells |
351 | AliVCaloCells * fPHOSCells ; //! temporal array with PHOS CaloCells | |
1c5acb87 | 352 | |
7e25653f | 353 | AliVEvent * fInputEvent; //! pointer to esd or aod input |
354 | AliAODEvent * fOutputEvent; //! pointer to aod output | |
355 | AliMCEvent * fMC; //! Monte Carlo Event Handler | |
1c5acb87 | 356 | |
7e25653f | 357 | Bool_t fFillCTS; // use data from CTS |
358 | Bool_t fFillEMCAL; // use data from EMCAL | |
359 | Bool_t fFillPHOS; // use data from PHOS | |
360 | Bool_t fFillEMCALCells; // use data from EMCAL | |
361 | Bool_t fFillPHOSCells; // use data from PHOS | |
6060ed91 | 362 | Bool_t fSelectEmbeddedClusters; // Use only simulated clusters that come from embedding. |
cfaba834 | 363 | Bool_t fSmearClusterEnergy; // Smear cluster energy, to be done only for simulated data to match real data |
364 | Float_t fSmearClusterParam[3]; // Smearing parameters | |
365 | TRandom3 fRandom; // Random generator | |
48c37e02 | 366 | |
7e25653f | 367 | ULong_t fTrackStatus ; // Track selection bit, select tracks refitted in TPC, ITS ... |
a5fb4114 | 368 | ULong_t fTrackFilterMask ; // Track selection bit, for AODs (any difference with track status?) |
3a58eee6 | 369 | AliESDtrackCuts *fESDtrackCuts ; // Track cut |
370 | Int_t fTrackMult ; // Track multiplicity | |
371 | Float_t fTrackMultEtaCut ; // Track multiplicity eta cut | |
7e25653f | 372 | Bool_t fReadStack ; // Access kine information from stack |
373 | Bool_t fReadAODMCParticles ; // Access kine information from filtered AOD MC particles | |
591cc579 | 374 | |
7e25653f | 375 | TString fDeltaAODFileName ; // Delta AOD file name |
376 | TString fFiredTriggerClassName; // Name of trigger event type used to do the analysis | |
afabc52f | 377 | |
783abd9f | 378 | Bool_t fAnaLED; // Analyze LED data only. |
c1ac3823 | 379 | |
783abd9f | 380 | TString fTaskName; // Name of task that executes the analysis |
765d44e7 | 381 | |
783abd9f | 382 | AliCalorimeterUtils * fCaloUtils ; // Pointer to CalorimeterUtils |
c8fe2783 | 383 | |
783abd9f | 384 | AliMixedEvent * fMixedEvent ; //! mixed event object. This class is not the owner |
385 | Int_t fNMixedEvent ; // number of events in mixed event buffer | |
386 | Double_t ** fVertex ; //! vertex array 3 dim for each mixed event buffer | |
c8fe2783 | 387 | |
783abd9f | 388 | Bool_t fWriteOutputDeltaAOD; // Write the created delta AOD objects into file |
389 | Bool_t fOldAOD; // Old AODs, before revision 4.20 | |
f37fa8d2 | 390 | |
783abd9f | 391 | Int_t fV0ADC[2] ; // Integrated V0 signal |
392 | Int_t fV0Mul[2] ; // Integrated V0 Multiplicity | |
798a9b04 | 393 | |
20218aea | 394 | Bool_t fCaloFilterPatch; // CaloFilter patch |
395 | TString fEMCALClustersListName; // Alternative list of clusters produced elsewhere and not from InputEvent | |
396 | Float_t fZvtxCut ; // Cut on vertex position | |
397 | Bool_t fDoEventSelection; // Select events depending on V0, pileup, vertex well reconstructed, at least 1 track ... | |
398 | Bool_t fDoV0ANDEventSelection; // Select events depending on V0, fDoEventSelection should be on | |
399 | Bool_t fUseEventsWithPrimaryVertex ; // Select events with primary vertex | |
400 | AliTriggerAnalysis* fTriggerAnalysis; // Access to trigger selection algorithm for V0AND calculation | |
32fd29fe | 401 | |
72542aba | 402 | //Centrality/Event plane |
783abd9f | 403 | TString fCentralityClass; // Name of selected centrality class |
404 | Int_t fCentralityOpt; // Option for the returned value of the centrality, possible options 5, 10, 100 | |
405 | Int_t fCentralityBin[2]; // Minimum and maximum value of the centrality for the analysis | |
72542aba | 406 | TString fEventPlaneMethod; // Name of event plane method, by default "Q" |
32fd29fe | 407 | |
72542aba | 408 | ClassDef(AliCaloTrackReader,31) |
1c5acb87 | 409 | } ; |
410 | ||
411 | ||
412 | #endif //ALICALOTRACKREADER_H | |
413 | ||
414 | ||
415 |