3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 //-------------------------------------------------------------------------
7 // Implementation of the Analysis Oriented Data (AOD) event summary
8 // Purpose : container of event important information for soft analysis
9 // Author : Renaud Vernet, IPHC, Strasbourg
10 //-------------------------------------------------------------------------
13 #include <TClonesArray.h>
19 class AliAODevent : public TObject {
24 AliAODevent(AliESD* esd);
25 AliAODevent(const AliAODevent& aodevent);
26 AliAODevent& operator=(const AliAODevent& aodevent);
28 void AddV0(AliAODv0* aodv0);
29 void AddCascade(AliAODxi* aodxi);
30 TClonesArray* GetV0s() const {return fV0s;}
31 TClonesArray* GetCascades() const {return fCascades;}
32 AliAODv0* GetV0 (UInt_t idx) const {return ((AliAODv0*)fV0s->UncheckedAt(idx));}
33 AliAODxi* GetCascade(UInt_t idx) const {return ((AliAODxi*)fCascades->UncheckedAt(idx));}
35 UInt_t GetNumberOfTracks() const {return fNumberOfTracks;}
36 UInt_t GetNumberOfV0s() const {return fV0s->GetEntries();}
37 UInt_t GetNumberOfCascades() const {return fCascades->GetEntries();}
38 UInt_t GetRunNumber() const {return fRunNumber;}
39 UInt_t GetEventNumber() const {return fEventNumber;}
41 Double_t GetPrimVertexX() const {return fPrimVertexX;}
42 Double_t GetPrimVertexY() const {return fPrimVertexY;}
43 Double_t GetPrimVertexZ() const {return fPrimVertexZ;}
46 TClonesArray* fV0s; // List of V0's ?
47 TClonesArray* fCascades; // List of cascades ?
48 Double_t fPrimVertexX; // Vertex X coordinate ?
49 Double_t fPrimVertexY; // Vertex Y coordinate ?
50 Double_t fPrimVertexZ; // Vertex Z coordinate ?
52 UInt_t fRunNumber; // Run number
53 UInt_t fEventNumber; // Event number
54 UInt_t fNumberOfTracks; // Number of tracks
56 ClassDef(AliAODevent,1);