11 #ifndef STROOT_STMUDSTMAKER_COMMON_STMUFMSPOINT_H_
12 #define STROOT_STMUDSTMAKER_COMMON_STMUFMSPOINT_H_
14 #include <TLorentzVector.h>
36 float x = 0.f,
float y = 0.f,
float z = 0.f);
46 float x()
const {
return mX; }
48 float y()
const {
return mY; }
50 float z()
const {
return mZ; }
52 TVector3
xyz()
const {
return TVector3(
mX,
mY,
mZ); }
58 TVector3
momentum(
float m = 0.f)
const;
103 #endif // STROOT_STMUDSTMAKER_COMMON_STMUFMSPOINT_H_
void setCluster(StMuFmsCluster *cluster)
StMuFmsCluster * cluster()
StMuFmsPoint(int detectorId=0, float energy=0.f, float x=0.f, float y=0.f, float z=0.f)
void setEnergy(float energy)
TRef mCluster
Parent cluster of this photon.
Float_t mZ
z at front face of sub-detector
TVector3 momentum(float m=0.f) const
void setDetectorId(UShort_t detector)
TLorentzVector fourMomentum(float m=0.f) const
UShort_t detectorId() const
void set(const StFmsPoint &)
StMuFmsPoint & operator=(const StMuFmsPoint &)
Float_t mY
Mean y ("center of gravity")
UShort_t mDetectorId
Detector ID as defined in database.
Float_t mX
Mean x ("center of gravity")
Float_t mEnergy
Total energy contained in the point.