StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
AliStHbtEvent.h
1 // any problems, send an email to chajecki@mps.ohio-state.edu
2 #ifndef ALICESTHBTEVENT_H
3 #define ALICESTHBTEVENT_H
4 #include "TObject.h"
5 #include "TClonesArray.h"
6 
7 class AliStHbtTrack;
8 
9 class AliStHbtEvent : public TObject {
10  public:
11 
12  AliStHbtEvent();
13  ~AliStHbtEvent() {}
14 
15  void SetVertex(float vx, float vy, float vz) {mVertexX = vx; mVertexY = vy; mVertexZ = vz;}
16  float GetVertexX () {return mVertexX;}
17  float GetVertexY () {return mVertexY;}
18  float GetVertexZ () {return mVertexZ;}
19 
20  int GetRunNumber();
21  void SetRunNumber(int number);
22 
23  int GetEventNumber();
24  void SetEventNumber(int number);
25 
26  int GetMultiplicity() {return mRefMult;}
27  void SetMultiplicity(int mult) {mRefMult = mult;}
28 
29  float GetMagField() {return mMagField;}
30  void SetMagField(float field) {mMagField = field;}
31 
32  int GetTrigger() { return mTrigger;}
33  void SetTrigger(int trg) { mTrigger = trg;}
34 
35  float GetZdcNEnergy () { return mZdcNEnergy;}
36  void SetZdcNEnergy (float en) {mZdcNEnergy = en;}
37 
38  float GetZdcPEnergy () { return mZdcPEnergy;}
39  void SetZdcPEnergy (float en) {mZdcPEnergy = en;}
40 
41  float GetZdcGammaEnergy () { return mZdcGammaEnergy;}
42  void SetZdcGammaEnergy (float en) {mZdcGammaEnergy = en;}
43 
44  int GetZdcParticipants () { return mZdcParticipants;}
45  void SetZdcParticipants (int part) {mZdcParticipants = part;}
46 
47 
48  void Clear(const Option_t* option);
49 
50  AliStHbtTrack* AddTrack();
51 
52  TClonesArray* Tracks() {return fTracks;}
53 
54  private:
55 
56  int mRunNumber; // run number
57  int mEventNumber; // event number
58  float mVertexX; // x comp. of vertex position
59  float mVertexY; // y comp. of vertex position
60  float mVertexZ; // z comp. of vertex position
61  float mMagField; // magnetic field
62  unsigned short mRefMult; // Tpc multiplicity
63  TClonesArray *fTracks; // Array of Track objects
64  unsigned short mNTracks; // Number of Track's in event
65 
66  int mTrigger; // triger word
67  float mZdcNEnergy; // energy of neutrons deposited in ZDC
68  float mZdcPEnergy; // energy of protons deposited in ZDC
69  float mZdcGammaEnergy; // energy of gammas deposited in ZDC
70  int mZdcParticipants; // zdc participants
71 
72  ClassDef(AliStHbtEvent,1)
73 };
74 
75 #endif