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