11 #ifndef StFlowPicoEvent__h
12 #define StFlowPicoEvent__h
15 #include "StFlowPicoTrack.h"
26 void Clear(Option_t *option =
"");
28 TClonesArray* Tracks()
const {
return fTracks; }
29 Int_t GetNtrack()
const {
return mNtrack; }
31 Int_t Version()
const {
return mVersion; }
32 UInt_t L0TriggerWord()
const {
return mL0TriggerWord; }
33 UInt_t OrigMult()
const {
return mOrigMult; }
34 UInt_t UncorrNegMult()
const {
return mUncorrNegMult; }
35 UInt_t UncorrPosMult()
const {
return mUncorrPosMult; }
36 UInt_t MultEta()
const {
return mMultEta; }
38 UInt_t Centrality()
const {
return mCentrality; }
39 UInt_t CalcCentrality();
40 Float_t VertexX()
const {
return mVertexX; }
41 Float_t VertexY()
const {
return mVertexY; }
42 Float_t VertexZ()
const {
return mVertexZ; }
43 Int_t EventID()
const {
return mEventID; }
44 Int_t RunID()
const {
return mRunID; }
45 Double_t CenterOfMassEnergy()
const {
return mCenterOfMassEnergy; }
46 Double_t MagneticField()
const {
return mMagneticField; }
47 Short_t BeamMassNumberEast()
const {
return mBeamMassNumberEast; }
48 Short_t BeamMassNumberWest()
const {
return mBeamMassNumberWest; }
49 Float_t CTB()
const {
return mCTB; }
50 Float_t ZDCe()
const {
return mZDCe; }
51 Float_t ZDCw()
const {
return mZDCw; }
52 Float_t ZDCSMD(
int eastwest,
int verthori,
int strip)
const;
54 void SetVersion(
const Int_t ver) { mVersion = ver; }
55 void SetEventID(
const Int_t
id) { mEventID = id; }
56 void SetRunID(
const Int_t
id) { mRunID = id; }
57 void SetCenterOfMassEnergy(
const Double_t cms) { mCenterOfMassEnergy = cms; }
58 void SetMagneticField(
const Double_t mf) { mMagneticField = mf; }
59 void SetBeamMassNumberEast(
const Short_t bme) { mBeamMassNumberEast = bme; }
60 void SetBeamMassNumberWest(
const Short_t bmw) { mBeamMassNumberWest = bmw; }
61 void SetNtrack(
const Int_t ntrk) { mNtrack = ntrk; }
62 void SetOrigMult(
const UInt_t mult) { mOrigMult = mult; }
63 void SetL0TriggerWord(
const UInt_t trigger) { mL0TriggerWord = trigger; }
64 void SetUncorrNegMult(
const UInt_t mult) { mUncorrNegMult = mult; }
65 void SetUncorrPosMult(
const UInt_t mult) { mUncorrPosMult = mult; }
66 void SetMultEta(
const UInt_t goodtracks) { mMultEta = goodtracks; }
67 void SetCentrality(
const UInt_t cent) { mCentrality = cent; }
68 void SetVertexPos(
const Float_t x,
const Float_t y,
const Float_t z) {
69 mVertexX=x; mVertexY=y; mVertexZ=z; }
70 void SetCTB(
const Float_t ctb) {mCTB = ctb; }
71 void SetZDCe(
const Float_t zdce) {mZDCe = zdce; }
72 void SetZDCw(
const Float_t zdcw) {mZDCw = zdcw; }
73 void SetZDCSMD(
int eastwest,
int verthori,
int strip,
const Float_t zdcsmd);
81 Double_t mMagneticField;
82 Double_t mCenterOfMassEnergy;
83 Short_t mBeamMassNumberEast;
84 Short_t mBeamMassNumberWest;
86 UInt_t mL0TriggerWord;
87 UInt_t mUncorrNegMult;
88 UInt_t mUncorrPosMult;
98 Float_t mZDCSMD[2][2][8];
100 TClonesArray* fTracks;
101 static TClonesArray* fgTracks;
106 inline void StFlowPicoEvent::SetZDCSMD(
int eastwest,
int verthori,
int strip,
const Float_t zdcsmd) {mZDCSMD[eastwest][verthori][strip-1] = zdcsmd;}
108 inline Float_t StFlowPicoEvent::ZDCSMD(
int eastwest,
int verthori,
int strip)
const {
return mZDCSMD[eastwest][verthori][strip-1];}