5 #include <TClonesArray.h>
11 class AliAODevent : public TObject {
15 TClonesArray* fCascades;
16 Double_t fPrimVertexX; // here put the whole AliESDVertex ?
17 Double_t fPrimVertexY;
18 Double_t fPrimVertexZ;
22 UInt_t fNumberOfTracks;
28 AliAODevent(const AliAODevent&);
29 AliAODevent& operator=(const AliAODevent&);
31 void AddV0(AliAODv0*);
32 void AddCascade(AliAODxi*);
33 inline TClonesArray* GetV0s() {return fV0s;}
34 inline TClonesArray* GetCascades() {return fCascades;}
35 inline AliAODv0* GetV0 (UInt_t idx) {return ((AliAODv0*)fV0s->UncheckedAt(idx));}
36 inline AliAODxi* GetCascade(UInt_t idx) {return ((AliAODxi*)fCascades->UncheckedAt(idx));}
38 inline UInt_t GetNumberOfTracks() {return fNumberOfTracks;}
39 inline UInt_t GetNumberOfV0s() {return fV0s->GetEntries();}
40 inline UInt_t GetNumberOfCascades() {return fCascades->GetEntries();}
41 inline UInt_t GetRunNumber() {return fRunNumber;}
42 inline UInt_t GetEventNumber() {return fEventNumber;}
44 inline Double_t GetPrimVertexX() {return fPrimVertexX;}
45 inline Double_t GetPrimVertexY() {return fPrimVertexY;}
46 inline Double_t GetPrimVertexZ() {return fPrimVertexZ;}
48 ClassDef(AliAODevent,1);