21 #ifndef STROOT_STMUDSTMAKER_COMMON_STMUFMSPOINT_H_
22 #define STROOT_STMUDSTMAKER_COMMON_STMUFMSPOINT_H_
24 #include "StLorentzVectorF.hh"
25 #include "StThreeVectorF.hh"
45 float x = 0.f,
float y = 0.f,
int id = 0);
53 unsigned short detectorId()
const;
59 void setDetectorId(
unsigned short detector);
60 void setEnergy(
float energy);
93 inline unsigned short StMuFmsPoint::detectorId()
const {
return mDetectorId; }
94 inline float StMuFmsPoint::energy()
const {
return mEnergy; }
95 inline float StMuFmsPoint::x()
const {
return mX; }
96 inline float StMuFmsPoint::y()
const {
return mY; }
97 inline int StMuFmsPoint::id()
const {
return mId; }
99 inline void StMuFmsPoint::setDetectorId(
unsigned short detector) {
mDetectorId = detector; }
100 inline void StMuFmsPoint::setEnergy(
float energy) {
mEnergy = energy; }
101 inline void StMuFmsPoint::setX(
float x) {
mX = x; }
102 inline void StMuFmsPoint::setY(
float y) {
mY = y; }
103 inline void StMuFmsPoint::setId(
int id) { mId = id; }
106 #endif // STROOT_STMUDSTMAKER_COMMON_STMUFMSPOINT_H_
Float_t mEnergy
Total energy contained in the point.
Float_t mX
Mean x ("center of gravity")
TRef mCluster
Parent cluster of this photon.
Float_t mY
Mean y ("center of gravity")
StThreeVectorF mXYZ
point Id
UShort_t mDetectorId
Detector ID as defined in database.