]>
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 | |
3bfc4732 | 159 | Bool_t AreClustersRecalculated() const { return fRecalculateClusters ; } |
160 | void SwitchOnClusterRecalculation() { fRecalculateClusters = kTRUE ; } | |
161 | void SwitchOffClusterRecalculation() { fRecalculateClusters = kFALSE ; } | |
162 | ||
3c75ddf7 | 163 | Bool_t IsEmbeddedClusterSelectionOn() const { return fSelectEmbeddedClusters ; } |
164 | void SwitchOnEmbeddedClustersSelection() { fSelectEmbeddedClusters = kTRUE ; } | |
165 | void SwitchOffEmbeddedClustersSelection() { fSelectEmbeddedClusters = kFALSE ; } | |
6060ed91 | 166 | |
be518ab0 | 167 | // Filling/ filtering / detector information access methods |
a5fb4114 | 168 | virtual Bool_t FillInputEvent(const Int_t iEntry, const char *currentFileName) ; |
169 | virtual void FillInputCTS() ; | |
170 | virtual void FillInputEMCAL() ; | |
171 | virtual void FillInputEMCALAlgorithm(AliVCluster * clus, const Int_t iclus) ; | |
172 | virtual void FillInputPHOS() ; | |
173 | virtual void FillInputEMCALCells() ; | |
174 | virtual void FillInputPHOSCells() ; | |
175 | virtual void FillInputVZERO() ; | |
176 | ||
3c75ddf7 | 177 | Int_t GetV0Signal(Int_t i) const { return fV0ADC[i] ; } |
178 | Int_t GetV0Multiplicity(Int_t i) const { return fV0Mul[i] ; } | |
a5fb4114 | 179 | |
a7e5a381 | 180 | void SetEMCALClusterListName(TString &name) { fEMCALClustersListName = name ; } |
181 | TString GetEMCALClusterListName() { return fEMCALClustersListName ; } | |
cfaba834 | 182 | |
be518ab0 | 183 | // Arrayes with clusters/track/cells access method |
3c75ddf7 | 184 | virtual TObjArray* GetCTSTracks() const { return fCTSTracks ; } |
185 | virtual TObjArray* GetEMCALClusters() const { return fEMCALClusters ; } | |
186 | virtual TObjArray* GetPHOSClusters() const { return fPHOSClusters ; } | |
187 | virtual AliVCaloCells* GetEMCALCells() const { return fEMCALCells ; } | |
188 | virtual AliVCaloCells* GetPHOSCells() const { return fPHOSCells ; } | |
cfaba834 | 189 | |
190 | //------------------------------------- | |
191 | // Event/track selection methods | |
192 | //------------------------------------- | |
193 | ||
cd2e4ce6 | 194 | void AcceptFastClusterEvents() { fAcceptFastCluster = kTRUE ; } |
195 | void RejectFastClusterEvents() { fAcceptFastCluster = kFALSE ; } | |
196 | Bool_t IsFastClusterAccepted() { return fAcceptFastCluster ; } | |
197 | ||
198 | void SwitchOnLEDEventsRemoval() { fRemoveLEDEvents = kTRUE ; } | |
199 | void SwitchOffLEDEventsRemoval() { fRemoveLEDEvents = kFALSE ; } | |
200 | Bool_t IsLEDEventRemoved() { return fRemoveLEDEvents ; } | |
201 | ||
a5fb4114 | 202 | void SetFiredTriggerClassName(TString name ) { fFiredTriggerClassName = name ; } |
203 | TString GetFiredTriggerClassName() const { return fFiredTriggerClassName ; } | |
204 | virtual TString GetFiredTriggerClasses() { return "" ; } // look the ESD/AOD reader | |
cfaba834 | 205 | |
cd2e4ce6 | 206 | void SwitchOnEventSelection() { fDoEventSelection = kTRUE ; } |
207 | void SwitchOffEventSelection() { fDoEventSelection = kFALSE ; } | |
a5fb4114 | 208 | Bool_t IsEventSelectionDone() const { return fDoEventSelection ; } |
cfaba834 | 209 | |
a5fb4114 | 210 | void SwitchOnV0ANDSelection() { fDoV0ANDEventSelection = kTRUE ; } |
211 | void SwitchOffV0ANDSelection() { fDoV0ANDEventSelection = kFALSE ; } | |
212 | Bool_t IsV0ANDEventSelectionDone() const { return fDoV0ANDEventSelection ; } | |
20218aea | 213 | |
a5fb4114 | 214 | void SwitchOnPrimaryVertexSelection() { fUseEventsWithPrimaryVertex = kTRUE ; } |
215 | void SwitchOffPrimaryVertexSelection() { fUseEventsWithPrimaryVertex = kFALSE ; } | |
216 | Bool_t IsPrimaryVertexSelectionDone() const { return fUseEventsWithPrimaryVertex ; } | |
20218aea | 217 | |
3a58eee6 | 218 | // Track selection |
743aa53a | 219 | ULong_t GetTrackStatus() const { return fTrackStatus ; } |
220 | void SetTrackStatus(ULong_t bit) { fTrackStatus = bit ; } | |
a5fb4114 | 221 | |
743aa53a | 222 | ULong_t GetTrackFilterMask() const {return fTrackFilterMask ; } |
223 | void SetTrackFilterMask(ULong_t bit) { fTrackFilterMask = bit ; } | |
3a58eee6 | 224 | |
743aa53a | 225 | AliESDtrackCuts* GetTrackCuts() const { return fESDtrackCuts ; } |
226 | void SetTrackCuts(AliESDtrackCuts * cuts) { fESDtrackCuts = cuts ; } | |
227 | Int_t GetTrackMultiplicity() const { return fTrackMult ; } | |
228 | Float_t GetTrackMultiplicityEtaCut() const { return fTrackMultEtaCut ; } | |
229 | void SetTrackMultiplicityEtaCut(Float_t eta) { fTrackMultEtaCut = eta ; } | |
c8fe2783 | 230 | |
a5fb4114 | 231 | // Calorimeter specific and patches |
743aa53a | 232 | void AnalyzeOnlyLED() { fAnaLED = kTRUE ; } |
233 | void AnalyzeOnlyPhysics() { fAnaLED = kFALSE ; } | |
a5fb4114 | 234 | |
743aa53a | 235 | void SwitchOnCaloFilterPatch() { fCaloFilterPatch = kTRUE ; |
236 | fFillCTS = kFALSE ; } | |
237 | void SwitchOffCaloFilterPatch() { fCaloFilterPatch = kFALSE ; } | |
a5fb4114 | 238 | Bool_t IsCaloFilterPatchOn() const { |
239 | if(fDataType == kAOD) { return fCaloFilterPatch ; } | |
743aa53a | 240 | else { return kFALSE ; } } |
cfaba834 | 241 | |
242 | //------------------------------- | |
48c37e02 | 243 | //Vertex methods |
cfaba834 | 244 | //------------------------------- |
a5fb4114 | 245 | virtual void GetVertex(Double_t v[3]) const ; |
246 | virtual Double_t* GetVertex(const Int_t evtIndex) const { return fVertex[evtIndex] ; } | |
247 | virtual void GetVertex(Double_t vertex[3], const Int_t evtIndex) const ; | |
cfaba834 | 248 | virtual void FillVertexArray(); |
249 | virtual Bool_t CheckForPrimaryVertex(); | |
f8006433 | 250 | // virtual void GetSecondInputAODVertex(Double_t *) const {;} |
a5fb4114 | 251 | virtual Float_t GetZvertexCut() const { return fZvtxCut ; } //cut on vertex position |
252 | virtual void SetZvertexCut(Float_t zcut=10.) { fZvtxCut=zcut ; } //cut on vertex position | |
0b13c1f9 | 253 | |
cfaba834 | 254 | //------------------------ |
72542aba | 255 | // Centrality / Event Plane |
cfaba834 | 256 | //------------------------ |
a5fb4114 | 257 | virtual AliCentrality* GetCentrality() const { return fInputEvent->GetCentrality() ; } //Look in AOD reader, different there |
258 | virtual void SetCentralityClass(TString name) { fCentralityClass = name ; } | |
259 | virtual void SetCentralityOpt(Int_t opt) { fCentralityOpt = opt ; } | |
260 | virtual TString GetCentralityClass() const { return fCentralityClass ; } | |
261 | virtual Int_t GetCentralityOpt() const { return fCentralityOpt ; } | |
262 | virtual Int_t GetEventCentrality() const ; | |
263 | virtual void SetCentralityBin(Int_t min, Int_t max) //Set the centrality bin to select the event. If used, then need to get percentile | |
264 | { fCentralityBin[0]=min; fCentralityBin[1]=max; | |
265 | if(min>=0 && max > 0) fCentralityOpt = 100 ; } | |
266 | virtual Float_t GetCentralityBin(Int_t i) const { if(i < 0 || i > 1) return 0 ; | |
267 | else return fCentralityBin[i] ; } | |
268 | ||
3c75ddf7 | 269 | virtual AliEventplane* GetEventPlane() const { return fInputEvent->GetEventplane() ; } |
270 | virtual void SetEventPlaneMethod(TString m) { fEventPlaneMethod = m ; } | |
271 | virtual TString GetEventPlaneMethod() const { return fEventPlaneMethod ; } | |
72542aba | 272 | |
cfaba834 | 273 | //------------------------------------- |
274 | // Other methods | |
275 | //------------------------------------- | |
3c75ddf7 | 276 | AliCalorimeterUtils * GetCaloUtils() const { return fCaloUtils ; } |
277 | void SetCaloUtils(AliCalorimeterUtils * caloutils) { fCaloUtils = caloutils ; } | |
48c37e02 | 278 | |
a5fb4114 | 279 | virtual Double_t GetBField() const { return fInputEvent->GetMagneticField() ; } |
cfaba834 | 280 | |
281 | //------------------------------------------------ | |
282 | // MC analysis specific methods | |
283 | //------------------------------------------------- | |
284 | ||
285 | //Kinematics and galice.root available | |
a5fb4114 | 286 | virtual AliStack* GetStack() const ; |
287 | virtual AliHeader* GetHeader() const ; | |
288 | virtual AliGenEventHeader* GetGenEventHeader() const ; | |
cfaba834 | 289 | |
290 | //Filtered kinematics in AOD | |
291 | virtual TClonesArray* GetAODMCParticles(Int_t input = 0) const ; | |
292 | virtual AliAODMCHeader* GetAODMCHeader(Int_t input = 0) const ; | |
293 | ||
3c75ddf7 | 294 | virtual AliVEvent* GetInputEvent() const { return fInputEvent ; } |
295 | virtual AliVEvent* GetOriginalInputEvent() const { return 0x0 ; } | |
296 | virtual AliAODEvent* GetOutputEvent() const { return fOutputEvent ; } | |
297 | virtual AliMCEvent* GetMC() const { return fMC ; } | |
298 | virtual AliMixedEvent* GetMixedEvent() const { return fMixedEvent ; } | |
299 | virtual Int_t GetNMixedEvent() const { return fNMixedEvent ; } | |
a5fb4114 | 300 | |
3c75ddf7 | 301 | void SwitchOnStack() { fReadStack = kTRUE ; } |
302 | void SwitchOffStack() { fReadStack = kFALSE ; } | |
303 | void SwitchOnAODMCParticles() { fReadAODMCParticles = kTRUE ; } | |
304 | void SwitchOffAODMCParticles() { fReadAODMCParticles = kFALSE ; } | |
305 | Bool_t ReadStack() const { return fReadStack ; } | |
306 | Bool_t ReadAODMCParticles() const { return fReadAODMCParticles ; } | |
cfaba834 | 307 | |
308 | //Select generated events, depending on comparison of pT hard and jets. | |
a5fb4114 | 309 | virtual Bool_t ComparePtHardAndJetPt() ; |
310 | virtual Bool_t IsPtHardAndJetPtComparisonSet() const { return fComparePtHardAndJetPt ; } | |
311 | virtual void SetPtHardAndJetPtComparison(Bool_t compare) { fComparePtHardAndJetPt = compare ; } | |
312 | virtual Float_t GetPtHardAndJetFactor() const { return fPtHardAndJetPtFactor ; } | |
313 | virtual void SetPtHardAndJetPtFactor(Float_t factor) { fPtHardAndJetPtFactor = factor ; } | |
eb3e2665 | 314 | |
cfaba834 | 315 | //MC reader methods, declared there to allow compilation, they are only used in the MC reader: |
0ae57829 | 316 | |
a5fb4114 | 317 | virtual void AddNeutralParticlesArray(TArrayI & /*array*/) { ; } |
318 | virtual void AddChargedParticlesArray(TArrayI & /*array*/) { ; } | |
319 | virtual void AddStatusArray(TArrayI & /*array*/) { ; } | |
320 | ||
321 | virtual void SwitchOnPi0Decay() { ; } | |
322 | virtual void SwitchOffPi0Decay() { ; } | |
323 | virtual void SwitchOnStatusSelection() { ; } | |
324 | virtual void SwitchOffStatusSelection() { ; } | |
325 | virtual void SwitchOnOverlapCheck() { ; } | |
326 | virtual void SwitchOffOverlapCheck() { ; } | |
327 | virtual void SwitchOnOnlyGeneratorParticles() { ; } | |
328 | virtual void SwitchOffOnlyGeneratorParticles() { ; } | |
be518ab0 | 329 | |
a5fb4114 | 330 | virtual void SetEMCALOverlapAngle(Float_t /*angle*/) { ; } |
331 | virtual void SetPHOSOverlapAngle(Float_t /*angle*/) { ; } | |
af7b3903 | 332 | |
0ae57829 | 333 | |
1c5acb87 | 334 | protected: |
7e25653f | 335 | Int_t fEventNumber; // Event number |
7e25653f | 336 | Int_t fDataType ; // Select MC:Kinematics, Data:ESD/AOD, MCData:Both |
337 | Int_t fDebug; // Debugging level | |
338 | AliFiducialCut * fFiducialCut; //! Acceptance cuts | |
339 | Bool_t fCheckFidCut ; // Do analysis for clusters in defined region | |
decca433 | 340 | |
591cc579 | 341 | Bool_t fComparePtHardAndJetPt; // In MonteCarlo, jet events, reject fake events with wrong jet energy. |
342 | Float_t fPtHardAndJetPtFactor; // Factor between ptHard and jet pT to reject/accept event. | |
343 | ||
7e25653f | 344 | Float_t fCTSPtMin; // pT Threshold on charged particles |
345 | Float_t fEMCALPtMin; // pT Threshold on emcal clusters | |
346 | Float_t fPHOSPtMin; // pT Threshold on phos clusters | |
98ec971d | 347 | Float_t fCTSPtMax; // pT Threshold on charged particles |
348 | Float_t fEMCALPtMax; // pT Threshold on emcal clusters | |
349 | Float_t fPHOSPtMax; // pT Threshold on phos clusters | |
350 | ||
783abd9f | 351 | TList * fAODBranchList ; //-> List with AOD branches created and needed in analysis |
352 | TObjArray * fCTSTracks ; //-> temporal array with tracks | |
353 | TObjArray * fEMCALClusters ; //-> temporal array with EMCAL CaloClusters | |
354 | TObjArray * fPHOSClusters ; //-> temporal array with PHOS CaloClusters | |
be518ab0 | 355 | AliVCaloCells * fEMCALCells ; //! temporal array with EMCAL CaloCells |
356 | AliVCaloCells * fPHOSCells ; //! temporal array with PHOS CaloCells | |
1c5acb87 | 357 | |
7e25653f | 358 | AliVEvent * fInputEvent; //! pointer to esd or aod input |
359 | AliAODEvent * fOutputEvent; //! pointer to aod output | |
360 | AliMCEvent * fMC; //! Monte Carlo Event Handler | |
1c5acb87 | 361 | |
7e25653f | 362 | Bool_t fFillCTS; // use data from CTS |
363 | Bool_t fFillEMCAL; // use data from EMCAL | |
364 | Bool_t fFillPHOS; // use data from PHOS | |
365 | Bool_t fFillEMCALCells; // use data from EMCAL | |
366 | Bool_t fFillPHOSCells; // use data from PHOS | |
3bfc4732 | 367 | Bool_t fRecalculateClusters; // Correct clusters, recalculate them if recalibration parameters is given |
368 | Bool_t fSelectEmbeddedClusters; // Use only simulated clusters that come from embedding. | |
48c37e02 | 369 | |
7e25653f | 370 | ULong_t fTrackStatus ; // Track selection bit, select tracks refitted in TPC, ITS ... |
a5fb4114 | 371 | ULong_t fTrackFilterMask ; // Track selection bit, for AODs (any difference with track status?) |
3a58eee6 | 372 | AliESDtrackCuts *fESDtrackCuts ; // Track cut |
373 | Int_t fTrackMult ; // Track multiplicity | |
374 | Float_t fTrackMultEtaCut ; // Track multiplicity eta cut | |
7e25653f | 375 | Bool_t fReadStack ; // Access kine information from stack |
376 | Bool_t fReadAODMCParticles ; // Access kine information from filtered AOD MC particles | |
591cc579 | 377 | |
7e25653f | 378 | TString fDeltaAODFileName ; // Delta AOD file name |
379 | TString fFiredTriggerClassName; // Name of trigger event type used to do the analysis | |
afabc52f | 380 | |
783abd9f | 381 | Bool_t fAnaLED; // Analyze LED data only. |
c1ac3823 | 382 | |
783abd9f | 383 | TString fTaskName; // Name of task that executes the analysis |
765d44e7 | 384 | |
783abd9f | 385 | AliCalorimeterUtils * fCaloUtils ; // Pointer to CalorimeterUtils |
c8fe2783 | 386 | |
783abd9f | 387 | AliMixedEvent * fMixedEvent ; //! mixed event object. This class is not the owner |
388 | Int_t fNMixedEvent ; // number of events in mixed event buffer | |
389 | Double_t ** fVertex ; //! vertex array 3 dim for each mixed event buffer | |
c8fe2783 | 390 | |
783abd9f | 391 | Bool_t fWriteOutputDeltaAOD; // Write the created delta AOD objects into file |
392 | Bool_t fOldAOD; // Old AODs, before revision 4.20 | |
f37fa8d2 | 393 | |
783abd9f | 394 | Int_t fV0ADC[2] ; // Integrated V0 signal |
395 | Int_t fV0Mul[2] ; // Integrated V0 Multiplicity | |
798a9b04 | 396 | |
20218aea | 397 | Bool_t fCaloFilterPatch; // CaloFilter patch |
398 | TString fEMCALClustersListName; // Alternative list of clusters produced elsewhere and not from InputEvent | |
cd2e4ce6 | 399 | |
400 | // Event selection | |
401 | Float_t fZvtxCut ; // Cut on vertex position | |
402 | Bool_t fAcceptFastCluster; // Accept events from fast cluster, exclude these events for LHC11a | |
403 | Bool_t fRemoveLEDEvents; // Remove events where LED was wrongly firing - EMCAL LHC11a | |
20218aea | 404 | Bool_t fDoEventSelection; // Select events depending on V0, pileup, vertex well reconstructed, at least 1 track ... |
405 | Bool_t fDoV0ANDEventSelection; // Select events depending on V0, fDoEventSelection should be on | |
406 | Bool_t fUseEventsWithPrimaryVertex ; // Select events with primary vertex | |
407 | AliTriggerAnalysis* fTriggerAnalysis; // Access to trigger selection algorithm for V0AND calculation | |
32fd29fe | 408 | |
72542aba | 409 | //Centrality/Event plane |
783abd9f | 410 | TString fCentralityClass; // Name of selected centrality class |
411 | Int_t fCentralityOpt; // Option for the returned value of the centrality, possible options 5, 10, 100 | |
412 | Int_t fCentralityBin[2]; // Minimum and maximum value of the centrality for the analysis | |
72542aba | 413 | TString fEventPlaneMethod; // Name of event plane method, by default "Q" |
32fd29fe | 414 | |
cd2e4ce6 | 415 | ClassDef(AliCaloTrackReader,34) |
1c5acb87 | 416 | } ; |
417 | ||
418 | ||
419 | #endif //ALICALOTRACKREADER_H | |
420 | ||
421 | ||
422 |