18 #include "StMuFmsPoint.h"
23 #include "StFmsPoint.h"
24 #include "StMuFmsCluster.h"
26 StMuFmsPoint::StMuFmsPoint(
int detectorId,
float energy,
27 float x,
float y,
int id)
28 : mDetectorId(detectorId), mEnergy(energy), mX(x), mY(y), mId(id) { }
30 StMuFmsPoint::StMuFmsPoint(
const StFmsPoint& point) {
34 StMuFmsPoint::~StMuFmsPoint() { }
36 StThreeVectorF StMuFmsPoint::momentum(
float m,
float zvertex)
const {
39 if (std::fabs(m) > 0.f) {
40 v.setMag(std::sqrt(std::pow(
mEnergy, 2.f) - std::pow(m, 2.f)));
59 void StMuFmsPoint::set(
const StFmsPoint& point) {
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.