Temporary: do not link AliHLTMUON.so
[u/mrichter/AliRoot.git] / ANALYSIS / AliAODevent.h
CommitLineData
c028b974 1#ifndef ALIAODEVENT_H
2#define ALIAODEVENT_H
bd4febd5 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
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//-------------------------------------------------------------------------
c028b974 11
12#include <TObject.h>
13#include <TClonesArray.h>
14
15class AliESD;
16class AliAODv0;
17class AliAODxi;
18
19class AliAODevent : public TObject {
20
c028b974 21 public :
22 AliAODevent();
23 ~AliAODevent();
bd4febd5 24 AliAODevent(AliESD* esd);
25 AliAODevent(const AliAODevent& aodevent);
26 AliAODevent& operator=(const AliAODevent& aodevent);
27
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));}
34
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;}
40
41 Double_t GetPrimVertexX() const {return fPrimVertexX;}
42 Double_t GetPrimVertexY() const {return fPrimVertexY;}
43 Double_t GetPrimVertexZ() const {return fPrimVertexZ;}
44
45 private :
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 ?
c028b974 51
bd4febd5 52 UInt_t fRunNumber; // Run number
53 UInt_t fEventNumber; // Event number
54 UInt_t fNumberOfTracks; // Number of tracks
c028b974 55
56 ClassDef(AliAODevent,1);
57};
58
59#endif