14 #ifndef StMuFcsPoint_hh
15 #define StMuFcsPoint_hh
17 #include "StLorentzVectorF.hh"
18 #include "StThreeVectorF.hh"
22 #include <TLorentzVector.h>
38 unsigned short detectorId()
const;
42 unsigned int parentClusterId()
const;
44 int nParentClusterPhotons()
const;
45 const TVector3& xyz()
const;
46 const TLorentzVector& fourMomentum()
const;
48 void setDetectorId(
unsigned short detectorId);
49 void setEnergy(
float energy);
53 void setNParentClusterPhotons(
int nclph);
54 void setXYZ(
const TVector3& p3);
55 void setFourMomentum(
const TLorentzVector& p4);
57 void print(
int option=0);
60 UShort_t mDetectorId=0;
64 Int_t mNParentClusterPhotons=0;
66 TLorentzVector mFourMomentum;
72 inline unsigned short StMuFcsPoint::detectorId()
const {
return mDetectorId; }
73 inline float StMuFcsPoint::energy()
const {
return mEnergy; }
74 inline float StMuFcsPoint::x()
const {
return mX; }
75 inline float StMuFcsPoint::y()
const {
return mY; }
76 inline int StMuFcsPoint::nParentClusterPhotons()
const {
return mNParentClusterPhotons; }
77 inline const TVector3& StMuFcsPoint::xyz()
const {
return mXYZ; }
78 inline const TLorentzVector& StMuFcsPoint::fourMomentum()
const {
return mFourMomentum; }
79 inline void StMuFcsPoint::setDetectorId(
unsigned short det) { mDetectorId = det; }
80 inline void StMuFcsPoint::setEnergy(
float energy) { mEnergy = energy; }
81 inline void StMuFcsPoint::setX(
float xpos) { mX = xpos; }
82 inline void StMuFcsPoint::setY(
float ypos) { mY = ypos; }
83 inline void StMuFcsPoint::setNParentClusterPhotons(
int nclph) { mNParentClusterPhotons = nclph; }
84 inline void StMuFcsPoint::setXYZ(
const TVector3& p3) { mXYZ = p3; }
85 inline void StMuFcsPoint::setFourMomentum(
const TLorentzVector& p4) { mFourMomentum = p4; }
87 #endif // STROOT_STMUDSTMAKER_COMMON_STMUFMSPOINT_H_