21 #include "StLorentzVectorD.hh"
22 #include "StThreeVectorD.hh"
24 #include "StFcsCluster.h"
32 unsigned short detectorId()
const;
36 unsigned int parentClusterId()
const;
38 int nParentClusterPhotons()
const;
42 void setDetectorId(
unsigned short detectorId);
43 void setEnergy(
float energy);
47 void setNParentClusterPhotons(
int nclph);
51 void print(
int option=0);
54 UShort_t mDetectorId=0;
58 Int_t mNParentClusterPhotons=0;
66 inline unsigned short StFcsPoint::detectorId()
const {
return mDetectorId; }
67 inline float StFcsPoint::energy()
const {
return mEnergy; }
68 inline float StFcsPoint::x()
const {
return mX; }
69 inline float StFcsPoint::y()
const {
return mY; }
70 inline unsigned int StFcsPoint::parentClusterId()
const {
return mCluster->id(); }
71 inline StFcsCluster* StFcsPoint::cluster() {
return mCluster; }
72 inline int StFcsPoint::nParentClusterPhotons()
const {
return mNParentClusterPhotons; }
73 inline const StThreeVectorD& StFcsPoint::xyz()
const {
return mXYZ; }
74 inline const StLorentzVectorD& StFcsPoint::fourMomentum()
const {
return mFourMomentum; }
75 inline void StFcsPoint::setDetectorId(
unsigned short det) { mDetectorId = det; }
76 inline void StFcsPoint::setEnergy(
float energy) { mEnergy = energy; }
77 inline void StFcsPoint::setX(
float xpos) { mX = xpos; }
78 inline void StFcsPoint::setY(
float ypos) { mY = ypos; }
79 inline void StFcsPoint::setCluster(
StFcsCluster* cluster) { mCluster = cluster; }
80 inline void StFcsPoint::setNParentClusterPhotons(
int nclph) { mNParentClusterPhotons = nclph; }
81 inline void StFcsPoint::setXYZ(
const StThreeVectorD& p3) { mXYZ = p3; }
82 inline void StFcsPoint::setFourMomentum(
const StLorentzVectorD& p4) { mFourMomentum = p4; }
84 #endif // StFcsPoint_h