StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
TGeVSimEvent.h
1 #ifndef TGeVSimEvent_h
2 #define TGeVSimEvent_h
3 
5 //
6 // HEADER doc here
7 //
8 // MSD
9 //
11 
12 #include "TROOT.h"
13 #include "TClonesArray.h"
14 #include "TObjArray.h"
15 
16 class TClonesArray;
17 
18 class TGeVSimEvent : public TObject {
19 
20 private:
21 
22  Float_t evPsi; // Reaction Plane Angle
23  Int_t evNum; // Event Number
24 
25 
26  public:
27 
29 
30  TGeVSimEvent() {evNum = 0; evParts = 0;} // Default for use by ROOT. Do not use.
31  TGeVSimEvent(Int_t numParts);
32  ~TGeVSimEvent();
33 
35 
36  Float_t Psi() const {return evPsi;}
37  void SetPsi(Float_t psi) {evPsi = psi;}
38 
39  Float_t EventNumber() const {return evNum;}
40  void SetEventNumber(Int_t num) {evNum = num;}
41 
42  Double_t MeanPt() const;
43  Int_t GetMult() const;
44 
45  void NextEvent();
46 
47  void Print(Option_t* option="") const; // argument to remove compiler warning about overloaded virtual functions
48 
49  TClonesArray *evParts; // The particles in this event
50  TObjArray *evParams; // The parameters of each particle type, holds TGeVSimParams objects
51 
52  ClassDef(TGeVSimEvent, 1)
53 
54 };
55 
57 
58 #endif
59 
60