AliRoot Core  3dc7879 (3dc7879)
AliAODEvent.h
Go to the documentation of this file.
1 #ifndef AliAODEvent_H
2 #define AliAODEvent_H
3 /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 /* $Id$ */
7 
12 
13 #include <TBuffer.h>
14 #include <TClonesArray.h>
15 #include <TList.h>
16 #include <TTree.h>
17 #include <TNamed.h>
18 
19 #include "AliVEvent.h"
20 #include "AliVParticle.h"
21 #include "AliVHeader.h"
22 #include "AliAODHeader.h"
23 #include "AliNanoAODHeader.h"
24 #include "AliAODTrack.h"
25 #include "AliAODVertex.h"
26 #include "AliAODv0.h"
27 #include "AliAODcascade.h"
28 #include "AliAODTracklets.h"
29 #include "AliAODJet.h"
30 #include "AliAODCaloCells.h"
31 #include "AliAODCaloCluster.h"
32 #include "AliAODCaloTrigger.h"
33 #include "AliAODPmdCluster.h"
34 #include "AliAODFmdCluster.h"
35 #include "AliAODDimuon.h"
36 #include "AliAODTZERO.h"
37 #include "AliAODVZERO.h"
38 #include "AliAODHMPIDrings.h"
39 #include "AliAODZDC.h"
40 #include "AliAODAD.h"
41 #include "AliAODTrdTrack.h"
42 
43 class TTree;
44 class TFolder;
45 class AliCentrality;
46 class AliEventplane;
47 
48 class AliAODEvent : public AliVEvent {
49 
50  public :
74  };
75 
76 
77  AliAODEvent();
78  virtual ~AliAODEvent();
79 
80  AliAODEvent(const AliAODEvent& aodevent);
81  AliAODEvent& operator=(const AliAODEvent& aodevent);
82 
83  void AddObject(TObject *obj);
84  void RemoveObject(TObject *obj);
85  TObject *FindListObject(const char *objName) const;
86  TList *GetList() const { return fAODObjects; }
87  void SetConnected(Bool_t conn=kTRUE) {fConnected=conn;}
88  Bool_t GetConnected() const {return fConnected;}
89  Bool_t AreTracksConnected() const {return fTracksConnected;}
90 
91  // -- Header
92  AliVHeader *GetHeader() const { return fHeader; }
93  void AddHeader(const AliVHeader* hdx)
94  {
95  delete fHeader;
96  if(dynamic_cast<const AliAODHeader*>(hdx)) {
97  fHeader = new AliAODHeader(*(const AliAODHeader*)hdx);
98  } else if (dynamic_cast<const AliNanoAODHeader*>(hdx)) {
99  fHeader = new AliNanoAODHeader(*(const AliNanoAODHeader*)hdx);
100  }
101  else {
102  AliError(Form("Unknown header type %s", hdx->ClassName()));
103  }
104  (fAODObjects->FirstLink())->SetObject(fHeader);
105  }
106 
107  virtual Bool_t InitMagneticField() const {return fHeader ? fHeader->InitMagneticField() : kFALSE;}
108 
109  void SetDAQAttributes(UInt_t attributes) {if (fHeader) fHeader->SetDAQAttributes(attributes);}
110  UInt_t GetDAQAttributes() const {return fHeader ? fHeader->GetDAQAttributes() : 0;}
111  Bool_t IsIncompleteDAQ();
112 
113  virtual Bool_t IsDetectorOn(ULong_t detMask) const { return fHeader ? fHeader->IsDetectorOn(UInt_t(detMask)) : kTRUE; }
114 
115  // setters and getters for header information
116  void SetRunNumber(Int_t n) {if (fHeader) fHeader->SetRunNumber(n);}
117  void SetPeriodNumber(UInt_t n){if (fHeader) fHeader->SetPeriodNumber(n);}
118  void SetOrbitNumber(UInt_t n) {if (fHeader) fHeader->SetOrbitNumber(n);}
120  void SetTimeStamp(UInt_t tstamp) {if (fHeader) fHeader->SetTimeStamp(tstamp);}
121  void SetMagneticField(Double_t mf){if (fHeader) fHeader->SetMagneticField(mf);}
123  void SetDiamond(Float_t xy[2],Float_t cov[3]){if (fHeader) fHeader->SetDiamond(xy,cov);}
124  void SetDiamondZ(Float_t z, Float_t sig2z){if (fHeader) fHeader->SetDiamondZ(z,sig2z);}
125  Int_t GetRunNumber() const {return fHeader ? fHeader->GetRunNumber() : -999;}
126  UInt_t GetPeriodNumber() const {return fHeader ? fHeader->GetPeriodNumber() : 0;}
127  UInt_t GetOrbitNumber() const {return fHeader ? fHeader->GetOrbitNumber() : 0;}
128  UShort_t GetBunchCrossNumber() const {return fHeader ? fHeader->GetBunchCrossNumber() : 0;}
129  UInt_t GetTimeStamp() const {return fHeader ? fHeader->GetTimeStamp() : 0;}
130  Double_t GetMagneticField() const {return fHeader ? fHeader->GetMagneticField() : -999.;}
131  Double_t GetMuonMagFieldScale() const {return fHeader ? fHeader->GetMuonMagFieldScale() : -999.;}
132  Double_t GetDiamondX() const {return fHeader ? fHeader->GetDiamondX() : -999.;}
133  Double_t GetDiamondY() const {return fHeader ? fHeader->GetDiamondY() : -999.;}
134  Double_t GetDiamondZ() const {return fHeader ? fHeader->GetDiamondZ() : -999.;}
135  void GetDiamondCovXY(Float_t cov[3]) const {cov[0]=-999.; if(fHeader) fHeader->GetDiamondCovXY(cov);}
136  Double_t GetSigma2DiamondX() const {return fHeader ? fHeader->GetSigma2DiamondX() : -999.;}
137  Double_t GetSigma2DiamondY() const {return fHeader ? fHeader->GetSigma2DiamondY() : -999.;}
138  Double_t GetSigma2DiamondZ() const {return fHeader ? fHeader->GetSigma2DiamondZ() : -999.;}
139 
140  void SetEventType(UInt_t eventType){fHeader->SetEventType(eventType);}
141  void SetTriggerMask(ULong64_t n) {fHeader->SetTriggerMask(n);}
143 
144  UInt_t GetEventType() const { return fHeader ? fHeader->GetEventType() : 0;}
145  ULong64_t GetTriggerMask() const { return fHeader ? fHeader->GetTriggerMask() : 0;}
146  UChar_t GetTriggerCluster() const { return fHeader ? fHeader->GetTriggerCluster() : 0;}
148  Double_t GetZDCN1Energy() const { return fHeader ? fHeader->GetZDCN1Energy() : -999.; }
149  Double_t GetZDCP1Energy() const { return fHeader ? fHeader->GetZDCP1Energy() : -999.; }
150  Double_t GetZDCN2Energy() const { return fHeader ? fHeader->GetZDCN2Energy() : -999.; }
151  Double_t GetZDCP2Energy() const { return fHeader ? fHeader->GetZDCP2Energy() : -999.; }
152  Double_t GetZDCEMEnergy(Int_t i) const { return fHeader ? fHeader->GetZDCEMEnergy(i) : -999.; }
153  Int_t GetNumberOfESDTracks() const { return fHeader ? fHeader->GetNumberOfESDTracks() : 0; }
154  Int_t GetNumberOfTPCTracks() const { return fHeader ? fHeader->GetNumberOfTPCTracks() : 0; }
156  Int_t GetNumberOfITSClusters(Int_t lr) const {return fHeader ? (int)fHeader->GetNumberOfITSClusters(lr) : 0;}
157  void SetTOFHeader(const AliTOFHeader * tofEventTime);
158  const AliTOFHeader *GetTOFHeader() const {return fTOFHeader;}
159  Float_t GetEventTimeSpread() const {if (fTOFHeader) return fTOFHeader->GetT0spread(); else return 0.;}
160  Float_t GetTOFTimeResolution() const {if (fTOFHeader) return fTOFHeader->GetTOFResolution(); else return 0.;}
161  Float_t GetT0spread(Int_t i) const {return fHeader->GetT0spread(i);}
162 
163 
164  // -- Tracks
165  TClonesArray *GetTracks() const { return fTracks; }
166  void ConnectTracks();
167  Int_t GetNumberOfTracks() const { return fTracks? fTracks->GetEntriesFast() : 0; }
168  AliVTrack *GetTrack(Int_t nTrack) const { return fTracks ? (AliVTrack*)fTracks->UncheckedAt(nTrack):0; }
169  Int_t AddTrack(const AliAODTrack* trk);
170  Int_t GetMuonTracks(TRefArray *muonTracks) const;
171  Int_t GetNumberOfMuonTracks() const;
172  Int_t GetMuonGlobalTracks(TRefArray *muonGlobalTracks) const; // AU
173  Int_t GetNumberOfMuonGlobalTracks() const; // AU
174 
175  // -- Vertex
176  TClonesArray *GetVertices() const { return fVertices; }
177  Int_t GetNumberOfVertices() const { return fVertices?fVertices->GetEntriesFast():0; }
178  AliAODVertex *GetVertex(Int_t nVertex) const { return fVertices?(AliAODVertex*)fVertices->At(nVertex):0; }
179  Int_t AddVertex(const AliAODVertex* vtx)
180  {new((*fVertices)[fVertices->GetEntriesFast()]) AliAODVertex(*vtx); return fVertices->GetEntriesFast()-1;}
181 
182  // primary vertex
186  virtual AliAODVertex *GetPrimaryVertex() const { return GetVertex(0); }
187  virtual AliAODVertex *GetPrimaryVertexSPD() const;
188  virtual AliAODVertex *GetVertex() const { return GetPrimaryVertexSPD(); }
189  virtual AliAODVertex *GetPrimaryVertexTPC() const;
190 
191  // -- Pileup vertices
192  Int_t GetNumberOfPileupVerticesTracks() const;
193  Int_t GetNumberOfPileupVerticesSPD() const;
194  virtual AliAODVertex *GetPileupVertexSPD(Int_t iV=0) const;
195  virtual AliAODVertex *GetPileupVertexTracks(Int_t iV=0) const;
196  virtual Bool_t IsPileupFromSPD(Int_t minContributors=5, Double_t minZdist=0.8, Double_t nSigmaZdist=3., Double_t nSigmaDiamXY=2., Double_t nSigmaDiamZ=5.) const;
197  virtual Bool_t IsPileupFromSPDInMultBins() const;
198 
199 
200  // V0
201  TClonesArray *GetV0s() const { return fV0s; }
202  Int_t GetNumberOfV0s() const { return fV0s->GetEntriesFast(); }
203  using AliVEvent::GetV0;
204  AliAODv0 *GetV0(Int_t nV0) const { return (AliAODv0*)fV0s->UncheckedAt(nV0); }
205  Int_t AddV0(const AliAODv0* v0)
206  {new((*fV0s)[fV0s->GetEntriesFast()]) AliAODv0(*v0); return fV0s->GetEntriesFast()-1;}
207 
208  // Cascades
209  TClonesArray *GetCascades(){
210  FixCascades();
211  return fCascades;
212  }
213  Int_t GetNumberOfCascades() const { return fCascades->GetEntriesFast(); }
214  AliAODcascade *GetCascade(Int_t nCasc){
215  FixCascades();
216  return (AliAODcascade*)fCascades->UncheckedAt(nCasc);
217  }
218  Int_t AddCascade(const AliAODcascade* cascade)
219  {new((*fCascades)[fCascades->GetEntriesFast()]) AliAODcascade(*cascade); return fCascades->GetEntriesFast()-1;}
220 
221  // -- EMCAL and PHOS Cluster
222  TClonesArray *GetCaloClusters() const { return fCaloClusters; }
223  Int_t GetNumberOfCaloClusters() const { return fCaloClusters?fCaloClusters->GetEntriesFast():0; }
224  AliAODCaloCluster *GetCaloCluster(Int_t nCluster) const { return fCaloClusters?(AliAODCaloCluster*)fCaloClusters->UncheckedAt(nCluster):0x0; }
226  {new((*fCaloClusters)[fCaloClusters->GetEntriesFast()]) AliAODCaloCluster(*clus); return fCaloClusters->GetEntriesFast()-1;}
227  AliAODCaloTrigger *GetCaloTrigger(TString calo) const
228  {
229  if (calo.Contains("EMCAL")) return fEMCALTrigger;
230  else
231  return fPHOSTrigger;
232  }
233 
234  Int_t GetEMCALClusters(TRefArray *clusters) const;
235  Int_t GetPHOSClusters(TRefArray *clusters) const;
236 
237 
238  // -- FMD Cluster
239  TClonesArray *GetFmdClusters() const { return fFmdClusters; }
240  Int_t GetNFmdClusters() const { return fFmdClusters->GetEntriesFast(); }
241  AliAODFmdCluster *GetFmdCluster(Int_t nCluster) const { return (AliAODFmdCluster*)fFmdClusters->UncheckedAt(nCluster); }
242  Int_t AddFmdCluster(const AliAODFmdCluster* clus)
243  {new((*fFmdClusters)[fFmdClusters->GetEntriesFast()]) AliAODFmdCluster(*clus); return fFmdClusters->GetEntriesFast()-1;}
244 
245  // -- PMD Cluster
246  TClonesArray *GetPmdClusters() const { return fPmdClusters; }
247  Int_t GetNPmdClusters() const { return fPmdClusters->GetEntriesFast(); }
248  AliAODPmdCluster *GetPmdCluster(Int_t nCluster) const { return (AliAODPmdCluster*)fPmdClusters->UncheckedAt(nCluster); }
249  Int_t AddPmdCluster(const AliAODPmdCluster* clus)
250  {new((*fPmdClusters)[fPmdClusters->GetEntriesFast()]) AliAODPmdCluster(*clus); return fPmdClusters->GetEntriesFast()-1;}
251 
252  // -- HMPID objects
253  TClonesArray *GetHMPIDrings() const {return fHMPIDrings; }
254  Int_t GetNHMPIDrings() const;
255  AliAODHMPIDrings *GetHMPIDring(Int_t nRings) const;
256  Int_t AddHMPIDrings(const AliAODHMPIDrings* ring)
257  {new((*fHMPIDrings)[fHMPIDrings->GetEntriesFast()]) AliAODHMPIDrings(*ring); return fHMPIDrings->GetEntriesFast()-1;}
258 
259  AliAODHMPIDrings *GetHMPIDringForTrackID(Int_t trackID) const;
260 
261 
262  // -- Jet
263  TClonesArray *GetJets() const { return fJets; }
264  Int_t GetNJets() const { return fJets?fJets->GetEntriesFast():0; }
265  AliAODJet *GetJet(Int_t nJet) const { return fJets?(AliAODJet*)fJets->UncheckedAt(nJet):0; }
266  Int_t AddJet(const AliAODJet* vtx)
267  {new((*fJets)[fJets->GetEntriesFast()]) AliAODJet(*vtx); return fJets->GetEntriesFast()-1;}
268 
269  // -- Tracklets
272  // -- Calorimeter Cells
275  const TGeoHMatrix* GetPHOSMatrix(Int_t /*i*/) const { return NULL; }
276  const TGeoHMatrix* GetEMCALMatrix(Int_t /*i*/)const { return NULL; }
277 
278 
279  // -- Dimuons (\deprecated)
280  TClonesArray *GetDimuons() const;
281  Int_t GetNDimuons() const;
282  Int_t GetNumberOfDimuons() const;
283  AliAODDimuon *GetDimuon(Int_t nDimu) const;
284  Int_t AddDimuon(const AliAODDimuon* dimu);
285 
286  // // -- TRD
287  Int_t GetNumberOfTrdTracks() const { return fTrdTracks ? fTrdTracks->GetEntriesFast() : 0; }
288  AliAODTrdTrack* GetTrdTrack(Int_t i) const {
289  return (AliAODTrdTrack *) (fTrdTracks ? fTrdTracks->At(i) : 0x0);
290  }
292 
293  // -- Services
294  void CreateStdContent();
295  void SetStdNames();
296  void GetStdContent();
297  void CreateStdFolders();
298  void ResetStd(Int_t trkArrSize = 0,
299  Int_t vtxArrSize = 0,
300  Int_t v0ArrSize = 0,
301  Int_t cascadeArrSize = 0,
302  Int_t jetSize = 0,
303  Int_t caloClusSize = 0,
304  Int_t fmdClusSize = 0,
305  Int_t pmdClusSize = 0,
306  Int_t hmpidRingsSize = 0,
307  Int_t dimuonArrsize =0,
308  Int_t nTrdTracks = 0
309  );
310  void ClearStd();
311  void Reset();
312  void ReadFromTree(TTree *tree, Option_t* opt = "");
313  void WriteToTree(TTree* tree) const {tree->Branch(fAODObjects);}
314 
315  void Print(Option_t *option="") const;
317  static void AssignIDtoCollection(const TCollection* col);
318 
319  //Following needed only for mixed event
320  virtual Int_t EventIndex(Int_t) const {return 0;}
321  virtual Int_t EventIndexForCaloCluster(Int_t) const {return 0;}
322  virtual Int_t EventIndexForPHOSCell(Int_t) const {return 0;}
323  virtual Int_t EventIndexForEMCALCell(Int_t) const {return 0;}
326 
327  // TZERO
328  AliAODTZERO *GetTZEROData() const { return fAODTZERO; }
329  Double32_t GetT0TOF(Int_t icase) const { return fAODTZERO?fAODTZERO->GetT0TOF(icase):999999;}
330  const Double32_t * GetT0TOF() const { return fAODTZERO?fAODTZERO->GetT0TOF():0x0;}
331 
332  // VZERO
333  AliAODVZERO *GetVZEROData() const { return fAODVZERO; }
334  virtual const Float_t* GetVZEROEqFactors() const {return fHeader?fHeader->GetVZEROEqFactors():0x0;}
335  virtual Float_t GetVZEROEqMultiplicity(Int_t i) const;
336  virtual void SetVZEROEqFactors(Float_t factors[64]) const {
337  if(fHeader)
338  fHeader->SetVZEROEqFactors(factors);}
339 
340  //ZDC
341  AliAODZDC *GetZDCData() const { return fAODZDC; }
342 
343  //AD
344  AliAODAD *GetADData() const { return fAODAD; }
345 
347  void FixCascades();
348 
349  private :
350 
351  TList *fAODObjects;
352  TFolder *fAODFolder;
353  Bool_t fConnected;
355  // standard content
357  TClonesArray *fTracks;
358  TClonesArray *fVertices;
359  TClonesArray *fV0s;
360  TClonesArray *fCascades;
362  TClonesArray *fJets;
365  TClonesArray *fCaloClusters;
368  TClonesArray *fFmdClusters;
369  TClonesArray *fPmdClusters;
370  TClonesArray *fHMPIDrings;
371  TClonesArray *fDimuons;
377  // combinatorial algorithm.
378  // It contains also TOF time resolution
379  // and T0spread as written in OCDB
380  TClonesArray *fTrdTracks;
381 
382  static const char* fAODListName[kAODListN];
383 
384  ClassDef(AliAODEvent,94);
385 };
386 
387 #endif
Int_t AddCascade(const AliAODcascade *cascade)
Definition: AliAODEvent.h:218
const AliTOFHeader * GetTOFHeader() const
Definition: AliAODEvent.h:158
virtual Int_t GetV0(AliESDv0 &, Int_t) const
Definition: AliVEvent.h:235
AliAODCaloCells * fEmcalCells
! EMCAL calorimenter cells
Definition: AliAODEvent.h:363
Double32_t GetT0TOF(Int_t icase) const
Definition: AliAODEvent.h:329
Class for calorimeter cluster, EMCal and PHOS, data handling.
TClonesArray * GetCascades()
Definition: AliAODEvent.h:209
UInt_t GetOrbitNumber() const
Definition: AliAODEvent.h:127
AliAODCaloTrigger * GetCaloTrigger(TString calo) const
Definition: AliAODEvent.h:227
AliAODZDC * fAODZDC
! ZDC AOD
Definition: AliAODEvent.h:374
Int_t AddDimuon(const AliAODDimuon *dimu)
AliTOFHeader * fTOFHeader
! event times (and sigmas) as estimated by TOF
Definition: AliAODEvent.h:376
void ReadFromTree(TTree *tree, Option_t *opt="")
virtual const AliVVertex * GetPrimaryVertex() const
Definition: AliVEvent.h:247
AliEventplane * GetEventplane()
Definition: AliAODEvent.h:325
virtual const AliVVertex * GetPrimaryVertexTPC() const
Definition: AliVEvent.h:249
AOD jet class.
Definition: AliAODJet.h:19
virtual void GetDiamondCovXY(Float_t cov[3]) const =0
AliAODCaloCells * fPhosCells
! PHOS calorimenter cells
Definition: AliAODEvent.h:364
void SetDiamondZ(Float_t z, Float_t sig2z)
Definition: AliAODEvent.h:124
void FixCascades()
virtual const Float_t * GetVZEROEqFactors() const =0
virtual Double_t GetZDCN2Energy() const =0
virtual UShort_t GetBunchCrossNumber() const =0
TClonesArray * GetJets() const
Definition: AliAODEvent.h:263
Float_t GetT0spread(Int_t i) const
Definition: AliAODEvent.h:161
Double_t GetZDCN1Energy() const
Definition: AliAODEvent.h:148
virtual Int_t EventIndexForEMCALCell(Int_t) const
Definition: AliAODEvent.h:323
Int_t GetNPmdClusters() const
Definition: AliAODEvent.h:247
Double_t GetSigma2DiamondZ() const
Definition: AliAODEvent.h:138
Class for AOD ZDC data.
Definition: AliAODZDC.h:13
void SetConnected(Bool_t conn=kTRUE)
Definition: AliAODEvent.h:87
void MakeEntriesReferencable()
void SetDAQAttributes(UInt_t attributes)
Definition: AliAODEvent.h:109
virtual UChar_t GetTriggerCluster() const =0
Int_t GetPHOSClusters(TRefArray *clusters) const
Int_t GetNumberOfCaloClusters() const
Definition: AliAODEvent.h:223
Int_t AddVertex(const AliAODVertex *vtx)
Definition: AliAODEvent.h:179
static void AssignIDtoCollection(const TCollection *col)
Class for calorimeter cell AOD data handling.
UInt_t GetDAQAttributes() const
Definition: AliAODEvent.h:110
AliAODZDC * GetZDCData() const
Definition: AliAODEvent.h:341
Int_t AddPmdCluster(const AliAODPmdCluster *clus)
Definition: AliAODEvent.h:249
virtual void SetEventType(UInt_t evttype)=0
virtual UInt_t GetOrbitNumber() const =0
void ResetStd(Int_t trkArrSize=0, Int_t vtxArrSize=0, Int_t v0ArrSize=0, Int_t cascadeArrSize=0, Int_t jetSize=0, Int_t caloClusSize=0, Int_t fmdClusSize=0, Int_t pmdClusSize=0, Int_t hmpidRingsSize=0, Int_t dimuonArrsize=0, Int_t nTrdTracks=0)
virtual Bool_t InitMagneticField() const =0
Int_t GetNJets() const
Definition: AliAODEvent.h:264
TClonesArray * fCascades
! Cascades
Definition: AliAODEvent.h:360
Int_t GetNumberOfTPCTracks() const
Definition: AliAODEvent.h:154
Container class for AOD AD data.
Definition: AliAODAD.h:10
virtual AliAODVertex * GetPrimaryVertexSPD() const
void CreateStdContent()
Int_t GetNumberOfPileupVerticesSPD() const
Bool_t IsIncompleteDAQ()
TClonesArray * fV0s
! V0s
Definition: AliAODEvent.h:359
Int_t GetNumberOfMuonTracks() const
Container with calorimeter trigger information in the AOD event.
TClonesArray * GetHMPIDrings() const
Definition: AliAODEvent.h:253
AliAODVertex * GetVertex(Int_t nVertex) const
Definition: AliAODEvent.h:178
virtual Double_t GetZDCN1Energy() const =0
void ConnectTracks()
AliAODTracklets * GetTracklets() const
Definition: AliAODEvent.h:270
Bool_t AreTracksConnected() const
Definition: AliAODEvent.h:89
TClonesArray * GetTracks() const
Definition: AliAODEvent.h:165
AliAODVZERO * GetVZEROData() const
Definition: AliAODEvent.h:333
AliAODHMPIDrings * GetHMPIDring(Int_t nRings) const
TClonesArray * fHMPIDrings
! HMPID signals
Definition: AliAODEvent.h:370
Double_t GetSigma2DiamondX() const
Definition: AliAODEvent.h:136
Int_t GetNumberOfMuonGlobalTracks() const
TList * GetList() const
Definition: AliAODEvent.h:86
virtual const Float_t * GetVZEROEqFactors() const
Definition: AliAODEvent.h:334
AliVHeader * GetHeader() const
Definition: AliAODEvent.h:92
virtual void SetOrbitNumber(UInt_t nOr)=0
virtual void SetMagneticField(Double_t magFld)=0
void SetRunNumber(Int_t n)
Definition: AliAODEvent.h:116
AliTPCfastTrack * track
AliAODFmdCluster * GetFmdCluster(Int_t nCluster) const
Definition: AliAODEvent.h:241
TClonesArray * fVertices
! vertices
Definition: AliAODEvent.h:358
Implementation of the Analysis Oriented Data (AOD) Xi vertex class.
Definition: AliAODcascade.h:20
AliAODCaloTrigger * fEMCALTrigger
! EMCAL Trigger information
Definition: AliAODEvent.h:366
virtual void SetTriggerCluster(UChar_t trigClus)=0
virtual Double_t GetZDCP2Energy() const =0
virtual Bool_t IsDetectorOn(ULong_t detMask) const =0
ULong64_t GetTriggerMask() const
Definition: AliAODEvent.h:145
TString GetFiredTriggerClasses() const
Definition: AliAODEvent.h:147
AliAODTracklets * GetMultiplicity() const
Definition: AliAODEvent.h:271
virtual Int_t GetRunNumber() const =0
static const char * fAODListName[kAODListN]
!
Definition: AliAODEvent.h:382
virtual AliVEvent::EDataLayoutType GetDataLayoutType() const
UInt_t GetEventType() const
Definition: AliAODEvent.h:144
virtual AliAODVertex * GetPileupVertexTracks(Int_t iV=0) const
void SetEventType(UInt_t eventType)
Definition: AliAODEvent.h:140
Int_t AddCaloCluster(const AliAODCaloCluster *clus)
Definition: AliAODEvent.h:225
void SetDiamond(Float_t xy[2], Float_t cov[3])
Definition: AliAODEvent.h:123
virtual void SetTriggerMask(ULong64_t trigMsk)=0
TClonesArray * fPmdClusters
! PMDclusters
Definition: AliAODEvent.h:369
AliAODDimuon * GetDimuon(Int_t nDimu) const
virtual Double_t GetSigma2DiamondX() const =0
AOD class to store tracklets.
virtual Bool_t IsDetectorOn(ULong_t detMask) const
Definition: AliAODEvent.h:113
virtual Double_t GetSigma2DiamondY() const =0
virtual UInt_t GetEventType() const =0
virtual Double_t GetZDCP1Energy() const =0
Int_t GetNumberOfCascades() const
Definition: AliAODEvent.h:213
void Print(Option_t *option="") const
TClonesArray * GetV0s() const
Definition: AliAODEvent.h:201
AliAODTZERO * fAODTZERO
! TZERO AOD
Definition: AliAODEvent.h:372
TList * fAODObjects
list of AODObjects
Definition: AliAODEvent.h:351
void ClearStd()
TTree * tree
void AddObject(TObject *obj)
Float_t GetT0spread() const
Definition: AliTOFHeader.h:50
virtual AliAODVertex * GetPileupVertexSPD(Int_t iV=0) const
virtual Int_t GetNumberOfESDTracks() const =0
Float_t GetEventTimeSpread() const
Definition: AliAODEvent.h:159
virtual void SetTimeStamp(UInt_t t)=0
AliAODJet * GetJet(Int_t nJet) const
Definition: AliAODEvent.h:265
virtual UInt_t GetDAQAttributes() const
virtual AliEventplane * GetEventplaneP() const =0
virtual Float_t GetVZEROEqMultiplicity(Int_t i) const
virtual AliAODVertex * GetPrimaryVertexTPC() const
AliAODCaloCluster * GetCaloCluster(Int_t nCluster) const
Definition: AliAODEvent.h:224
Bool_t fConnected
! flag if leaves are alreday connected
Definition: AliAODEvent.h:353
virtual UInt_t GetTimeStamp() const =0
void RemoveObject(TObject *obj)
AOD event base class.
Definition: AliAODHeader.h:27
Int_t GetNFmdClusters() const
Definition: AliAODEvent.h:240
virtual void SetPeriodNumber(UInt_t nPer)=0
virtual Bool_t IsPileupFromSPDInMultBins() const
virtual Double_t GetSigma2DiamondZ() const =0
Double_t GetZDCP2Energy() const
Definition: AliAODEvent.h:151
void SetTimeStamp(UInt_t tstamp)
Definition: AliAODEvent.h:120
virtual Bool_t IsPileupFromSPD(Int_t minContributors=5, Double_t minZdist=0.8, Double_t nSigmaZdist=3., Double_t nSigmaDiamXY=2., Double_t nSigmaDiamZ=5.) const
AOD FMD cluster class.
Int_t GetNumberOfITSClusters(Int_t lr) const
Definition: AliAODEvent.h:156
Bool_t GetConnected() const
Definition: AliAODEvent.h:88
AliAODAD * fAODAD
! AD AOD
Definition: AliAODEvent.h:375
virtual void SetVZEROEqFactors(Float_t factors[64]) const
Definition: AliAODEvent.h:336
Int_t GetNumberOfPileupVerticesTracks() const
TObject * FindListObject(const char *objName) const
AliAODTracklets * fTracklets
! SPD tracklets
Definition: AliAODEvent.h:361
virtual void SetRunNumber(Int_t nRun)=0
UInt_t GetPeriodNumber() const
Definition: AliAODEvent.h:126
Double_t GetDiamondX() const
Definition: AliAODEvent.h:132
virtual AliCentrality * GetCentralityP() const =0
AliAODCaloCells * GetPHOSCells() const
Definition: AliAODEvent.h:274
virtual TString GetFiredTriggerClasses() const =0
Int_t AddTrack(const AliAODTrack *trk)
Double_t GetZDCEMEnergy(Int_t i) const
Definition: AliAODEvent.h:152
TFolder * fAODFolder
folder structure of branches
Definition: AliAODEvent.h:352
TClonesArray * fFmdClusters
! FMDclusters
Definition: AliAODEvent.h:368
Int_t AddFmdCluster(const AliAODFmdCluster *clus)
Definition: AliAODEvent.h:242
Double_t GetSigma2DiamondY() const
Definition: AliAODEvent.h:137
Double_t GetZDCP1Energy() const
Definition: AliAODEvent.h:149
AliAODTrdTrack & AddTrdTrack(const AliVTrdTrack *track)
AliAODv0 * GetV0(Int_t nV0) const
Definition: AliAODEvent.h:204
AliAODPmdCluster * GetPmdCluster(Int_t nCluster) const
Definition: AliAODEvent.h:248
TClonesArray * fCaloClusters
! calorimeter clusters
Definition: AliAODEvent.h:365
AliVAODHeader * fHeader
! event information
Definition: AliAODEvent.h:356
AliTPCcalibV0 v0
void SetStdNames()
Int_t GetNDimuons() const
const Double32_t * GetT0TOF() const
Definition: AliAODEvent.h:330
AliAODHMPIDrings * GetHMPIDringForTrackID(Int_t trackID) const
UChar_t GetTriggerCluster() const
Definition: AliAODEvent.h:146
TClonesArray * GetPmdClusters() const
Definition: AliAODEvent.h:246
void AddHeader(const AliVHeader *hdx)
Definition: AliAODEvent.h:93
Int_t GetNumberOfV0s() const
Definition: AliAODEvent.h:202
virtual ULong64_t GetTriggerMask() const =0
Int_t GetNumberOfVertices() const
Definition: AliAODEvent.h:177
virtual Int_t GetNumberOfTPCClusters() const =0
Int_t GetRunNumber() const
Definition: AliAODEvent.h:125
virtual AliAODVertex * GetVertex() const
Definition: AliAODEvent.h:188
AOD base class.
Definition: AliAODEvent.h:48
virtual Int_t EventIndexForCaloCluster(Int_t) const
Definition: AliAODEvent.h:321
EDataLayoutType
Definition: AliVEvent.h:46
Int_t AddJet(const AliAODJet *vtx)
Definition: AliAODEvent.h:266
TClonesArray * fTrdTracks
! TRD AOD tracks (triggered)
Definition: AliAODEvent.h:380
Int_t AddV0(const AliAODv0 *v0)
Definition: AliAODEvent.h:205
void SetTOFHeader(const AliTOFHeader *tofEventTime)
Double_t GetDiamondY() const
Definition: AliAODEvent.h:133
TClonesArray * GetFmdClusters() const
Definition: AliAODEvent.h:239
virtual Int_t EventIndex(Int_t) const
Definition: AliAODEvent.h:320
AliAODCaloTrigger * fPHOSTrigger
! PHOS Trigger information
Definition: AliAODEvent.h:367
Int_t GetMuonGlobalTracks(TRefArray *muonGlobalTracks) const
virtual Double_t GetDiamondZ() const =0
void SetTriggerMask(ULong64_t n)
Definition: AliAODEvent.h:141
AliAODDimuon: a class for AODs for the MUON Arm of the ALICE Experiment.
Definition: AliAODDimuon.h:33
virtual UInt_t GetNumberOfITSClusters(Int_t) const =0
TClonesArray * GetCaloClusters() const
Definition: AliAODEvent.h:222
virtual Double_t GetMuonMagFieldScale() const =0
void SetPeriodNumber(UInt_t n)
Definition: AliAODEvent.h:117
TClonesArray * fTracks
! charged tracks
Definition: AliAODEvent.h:357
AOD PMD cluster class.
void WriteToTree(TTree *tree) const
Definition: AliAODEvent.h:313
AliAODTrdTrack * GetTrdTrack(Int_t i) const
Definition: AliAODEvent.h:288
Int_t GetNumberOfTrdTracks() const
Definition: AliAODEvent.h:287
Analysis Oriented Data (AOD) V0 vertex class.
Definition: AliAODv0.h:15
AliAODcascade * GetCascade(Int_t nCasc)
Definition: AliAODEvent.h:214
virtual void SetMuonMagFieldScale(Double_t magFldScl)=0
Double_t GetDiamondZ() const
Definition: AliAODEvent.h:134
AliAODCaloCells * GetEMCALCells() const
Definition: AliAODEvent.h:273
virtual UInt_t GetPeriodNumber() const =0
void SetBunchCrossNumber(UShort_t n)
Definition: AliAODEvent.h:119
Bool_t fTracksConnected
! flag if tracks have already pointer to event set
Definition: AliAODEvent.h:354
Int_t GetNumberOfTPCClusters() const
Definition: AliAODEvent.h:155
Container class for AOD TZERO data.
Definition: AliAODTZERO.h:14
Double_t GetZDCN2Energy() const
Definition: AliAODEvent.h:150
Int_t AddHMPIDrings(const AliAODHMPIDrings *ring)
Definition: AliAODEvent.h:256
Container class for AOD VZERO data.
Definition: AliAODVZERO.h:13
virtual Float_t GetT0spread(Int_t) const =0
virtual void SetBunchCrossNumber(UShort_t nBx)=0
virtual Double_t GetDiamondY() const =0
#define AliError(message)
Definition: AliLog.h:591
virtual void SetDiamond(Float_t xy[2], Float_t cov[3])=0
virtual Int_t EventIndexForPHOSCell(Int_t) const
Definition: AliAODEvent.h:322
virtual ~AliAODEvent()
void GetStdContent()
AliAODVZERO * fAODVZERO
! VZERO AOD
Definition: AliAODEvent.h:373
Double_t GetMagneticField() const
Definition: AliAODEvent.h:130
TClonesArray * fJets
! jets
Definition: AliAODEvent.h:362
AliCentrality * GetCentrality()
Definition: AliAODEvent.h:324
virtual void SetVZEROEqFactors(const Float_t *)=0
format for the TRD tracks calculated in the
Float_t GetTOFResolution() const
Definition: AliTOFHeader.h:47
void SetMuonMagFieldScale(Double_t mf)
Definition: AliAODEvent.h:122
Double32_t GetT0TOF(Int_t i) const
Definition: AliAODTZERO.h:25
AliAODTZERO * GetTZEROData() const
Definition: AliAODEvent.h:328
virtual void SetDAQAttributes(UInt_t)
virtual Double_t GetMagneticField() const =0
void CreateStdFolders()
void GetDiamondCovXY(Float_t cov[3]) const
Definition: AliAODEvent.h:135
Float_t GetTOFTimeResolution() const
Definition: AliAODEvent.h:160
TClonesArray * fDimuons
! dimuons
Definition: AliAODEvent.h:371
AliVTrack * GetTrack(Int_t nTrack) const
Definition: AliAODEvent.h:168
Class to handle the AOD tracks with good HMPID rings.
AOD vertex base class.
Definition: AliAODVertex.h:23
TClonesArray * GetVertices() const
Definition: AliAODEvent.h:176
Int_t GetMuonTracks(TRefArray *muonTracks) const
Int_t GetEMCALClusters(TRefArray *clusters) const
Int_t GetNHMPIDrings() const
const TGeoHMatrix * GetEMCALMatrix(Int_t) const
Definition: AliAODEvent.h:276
Int_t GetNumberOfDimuons() const
Double_t GetMuonMagFieldScale() const
Definition: AliAODEvent.h:131
virtual Double_t GetZDCEMEnergy(Int_t) const =0
virtual Int_t GetNumberOfTPCTracks() const =0
AOD track implementation of AliVTrack.
Definition: AliAODTrack.h:29
UInt_t GetTimeStamp() const
Definition: AliAODEvent.h:129
void SetMagneticField(Double_t mf)
Definition: AliAODEvent.h:121
virtual AliAODVertex * GetPrimaryVertex() const
Definition: AliAODEvent.h:186
TClonesArray * GetDimuons() const
virtual Double_t GetDiamondX() const =0
Int_t GetNumberOfESDTracks() const
Definition: AliAODEvent.h:153
AliAODEvent & operator=(const AliAODEvent &aodevent)
virtual void SetDiamondZ(Float_t z, Float_t sig2z)=0
AliAODAD * GetADData() const
Definition: AliAODEvent.h:344
virtual Bool_t InitMagneticField() const
Definition: AliAODEvent.h:107
UShort_t GetBunchCrossNumber() const
Definition: AliAODEvent.h:128
virtual const AliVVertex * GetPrimaryVertexSPD() const
Definition: AliVEvent.h:248
const TGeoHMatrix * GetPHOSMatrix(Int_t) const
Definition: AliAODEvent.h:275
Int_t GetNumberOfTracks() const
Definition: AliAODEvent.h:167
void SetTriggerCluster(UChar_t n)
Definition: AliAODEvent.h:142
void SetOrbitNumber(UInt_t n)
Definition: AliAODEvent.h:118