6 #ifndef StEmcMicroEvent__h
7 #define StEmcMicroEvent__h
10 #include "StEmcMicroCollection.h"
11 #include "StFpdMicroCollection.h"
12 #include "StEmcMicroTrack.h"
13 #include "StEmcMicroV0.h"
14 #include "TObjArray.h"
35 Int_t
getNV0()
const {
return fV0->GetEntries(); }
50 Int_t
getCTB()
const {
return mCTB; }
63 Int_t
getPatch(Int_t i)
const {
return (Int_t)mPATCH[i]; }
81 void setVersion(
const Int_t ver) { mVersion = ver; }
83 void setOrigMult(
const UInt_t mult) { mOrigMult = mult; }
84 void setCentrality(
const UInt_t cent) { mCentrality = cent; }
85 void setVertexPos(
const Float_t x,
const Float_t y,
const Float_t z) { mVertexX=x; mVertexY=y; mVertexZ=z; }
87 void setL0TriggerWord(
const UInt_t trigger) { mL0TriggerWord = trigger; }
88 void setEventID(
const Int_t
id) { mEventID = id; }
89 void setRunID(
const Int_t
id) { mRunID = id; }
90 void setEventTime(
const Int_t time) { mEventTime = time; }
91 void setToken(
const Int_t token) { mToken = token; }
93 void setCTB(
const Int_t ctb) { mCTB = ctb; }
95 void setZDCe(
const Int_t zdce) { mZDCe = zdce; }
96 void setZDCw(
const Int_t zdcw) { mZDCw = zdcw; }
97 void setZVertexZDC(
const Float_t ZVZDC) { mZVertexZDC = ZVZDC; }
99 void setBBCe(
const Int_t bbce) { mBBCe = bbce; }
100 void setBBCw(
const Int_t bbcw) { mBBCw = bbcw; }
101 void setBBCNHits(
const Int_t BBCNH) { mBBCNHits = BBCNH; }
102 void setZVertexBBC(
const Float_t ZVBBC) { mZVertexBBC = ZVBBC; }
104 void setHighTower(
const Int_t i,
const Int_t HT) { mHT[i] = (Char_t)HT; }
105 void setPatch(
const Int_t i,
const Int_t PATCH) { mPATCH[i] = (Char_t)PATCH; }
107 void setBunchCrossing7bit(
const UInt_t BX7) { mBX7bit = BX7; }
108 void setBunchCrossing(
const UInt_t BX) { mBX = BX; }
109 void setSpinBits(
const Int_t Spin) { mSpinBits = Spin; }
111 void setBField(
const Float_t bf) { mBField = bf; }
115 void clear(Option_t *option=
"");
125 UInt_t mL0TriggerWord;
Int_t getZDCe() const
Return ZDC east.
Int_t getBBCe() const
Return BBC east.
StEmcMicroTrack * getGlobalTrack(Int_t i) const
Return Global track.
Int_t getEventTime() const
Return event time (unix time)
Int_t getNV0() const
Return Number of V0.
StFpdMicroCollection * getFpd() const
Return FPD Information.
Float_t getVertexY() const
Return Vertex Y.
Float_t getZVertexZDC() const
Return Z vertex from ZDC.
StEmcMicroTrack * getPrimaryTrack(Int_t i) const
Return Primary track.
Int_t getZDCw() const
Return ZDC west.
Int_t getEventID() const
Return Event Id.
Int_t getHighTower(Int_t i) const
Return EMC High tower ADC.
Int_t getSpinBits() const
Return Spin bits.
Int_t getNPrimaryTrack() const
Return Number of Primary track.
UInt_t getL0TriggerWord() const
Return L0 trigger word.
Int_t getSpinBitYellowDown() const
Return Spin bit yellow down.
Int_t getSpinBitBlueDown() const
Return Spin bit blue down.
Float_t getVertexX() const
Return Vertex X.
Int_t getBBCNHits() const
Return BBC number of hits.
Int_t getSpinBitYellowUp() const
Return Spin bit yellow up.
UInt_t getCentrality() const
Return centrality (not defined yet)
Float_t getBField() const
Return Magnetic field (tesla)
Int_t getVersion() const
Return EMC Micro Event version.
Int_t getBBCw() const
Return BBC west.
UInt_t getOrigMult() const
Return Multiplicity (number of primaries before cut)
Int_t getPatch(Int_t i) const
Return EMC Patch ADC.
Int_t getNGlobalTrack() const
Return Number of Global track.
Float_t getVertexZ() const
Return Vertex Z.
UInt_t getBunchCrossing7bit() const
Return Bunch Crossing Id 7 bits.
Int_t getToken() const
Return event Token.
Int_t getBBCSum() const
Return BBC sum.
Float_t getZVertexBBC() const
Return BBC Z Vertex.
StEmcMicroV0 * getV0(Int_t i) const
Return V0.
StEmcMicroCollection * getEmc() const
Return micro EMC collection.
Int_t getRunID() const
Return run number.
UInt_t getBunchCrossing() const
Return Bunch Crossing.
Int_t getSpinBitBlueUp() const
Return Spin bit blue up.
Int_t getCTB() const
Return CTB sum.