20 float x,
float y,
float z)
21 : mDetectorId(detectorId), mEnergy(energy), mX(x), mY(y), mZ(z) { }
32 if (std::fabs(m) > 0.f) {
33 v.SetMag(std::sqrt(std::pow(
mEnergy, 2.f) - std::pow(m, 2.f)));
60 mZ = point.
x() * vec4.Pz() / vec4.Px();
void setCluster(StMuFmsCluster *cluster)
Declaration of StMuFmsPoint, the MuDST FMS "point" class.
StMuFmsCluster * cluster()
StMuFmsPoint(int detectorId=0, float energy=0.f, float x=0.f, float y=0.f, float z=0.f)
TRef mCluster
Parent cluster of this photon.
Float_t mZ
z at front face of sub-detector
TVector3 momentum(float m=0.f) const
Declaration of StFmsPoint, the StEvent FMS photon structure.
TLorentzVector fourMomentum(float m=0.f) const
void set(const StFmsPoint &)
UShort_t detectorId() const
Declaration of StMuFmsCluster, the MuDST FMS cluster class.
TLorentzVector fourMomentum() const
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.