14 #ifndef _StEStructEvent
15 #define _StEStructEvent
19 #include "TClonesArray.h"
20 #include "StEStructTrackCollection.h"
43 Float_t mZDCCoincidence;
45 unsigned short mRefMult;
49 TClonesArray *fTracks;
54 StEStructTrackCollection *mTrackCollectionM;
55 StEStructTrackCollection *mTrackCollectionP;
66 void Clear(Option_t *option =
"");
68 Int_t EventID()
const {
return mEventID; };
69 Int_t RunID()
const {
return mRunID; };
70 Int_t EventTime()
const {
return mEventTime; }
72 Double_t Centrality()
const {
return mCentrality; };
74 Float_t Vx()
const {
return mVx; }
75 Float_t Vy()
const {
return mVy; }
76 Float_t Vz()
const {
return mVz; }
77 Float_t VertexZ()
const {
return mVz; }
78 Float_t BField()
const {
return mBField; };
80 Float_t ZDCe()
const {
return mZDCe; }
81 Float_t ZDCw()
const {
return mZDCw; }
82 Float_t ZDCCoincidence()
const {
return mZDCCoincidence; }
84 unsigned short RefMult()
const {
return mRefMult; }
85 double ctbMult()
const {
return mctbMult; }
86 int NumPrim()
const {
return mNumPrim; }
93 void SetPhiWgt(
const char* weightFile);
97 void SetEventID(
const Int_t
id) { mEventID = id; }
98 void SetRunID(
const Int_t
id) { mRunID = id; }
100 void SetVx(
const Float_t vx) { mVx = vx; }
101 void SetVy(
const Float_t vy) { mVy = vy; }
102 void SetVz(
const Float_t vz) { mVz = vz; }
104 void SetVertex(
const Float_t vx,
const Float_t vy,
const Float_t vz) {
105 mVx = vx; mVy = vy; mVz = vz; }
106 void SetBField(
const float bfield){ mBField=bfield; };
108 void SetZDCe(
const Float_t zdce) { mZDCe = zdce; }
109 void SetZDCw(
const Float_t zdcw) { mZDCw = zdcw; }
110 void SetZDCCoincidence(
const Float_t zdccoincidence) { mZDCCoincidence = zdccoincidence; }
112 void SetRefMult(
const unsigned short mult) { mRefMult = mult; }
113 void SetctbMult(
const double mult) { mctbMult = mult; }
114 void SetNumPrim(
const int mult) { mNumPrim = mult; }
116 Int_t Ntrack() {
return mNtrack; }
117 Int_t Npos() {
return (Int_t)mTrackCollectionP->size(); }
118 Int_t Nneg() {
return (Int_t)mTrackCollectionM->size(); }
120 TClonesArray *Tracks() {
return fTracks; }
122 virtual StEStructTrackCollection * TrackCollectionM()
const;
123 virtual StEStructTrackCollection * TrackCollectionP()
const;
124 void SetCentrality(
const Double_t N) { mCentrality = N; }
126 virtual void FillChargeCollections();
StEStructEvent()
Phi weights.