23 #ifndef STFMSCLUSTER_H
24 #define STFMSCLUSTER_H
26 #include "StLorentzVectorF.hh"
30 #include "StContainers.h"
39 unsigned short detectorId()
const;
46 float sigmaMax()
const;
47 float sigmaMin()
const;
48 float chi2Ndf1Photon()
const;
49 float chi2Ndf2Photon()
const;
52 void setDetectorId(
unsigned short detector);
53 void setCategory(
int catag);
54 void setNTowers(
int numbTower);
55 void setEnergy(
float energy);
58 void setSigmaMin(
float sigmaMax);
59 void setSigmaMax(
float sigmaMax);
60 void setChi2Ndf1Photon(
float chi2ndfph1);
61 void setChi2Ndf2Photon(
float chi2ndfph2);
62 void setId(
float cluid);
64 StPtrVecFmsHit& hits();
65 const StPtrVecFmsHit& hits()
const;
66 StPtrVecFmsPoint& points();
67 const StPtrVecFmsPoint& points()
const;
69 void print(Option_t *option=
"")
const;
80 Float_t mChi2Ndf1Photon;
81 Float_t mChi2Ndf2Photon;
84 StPtrVecFmsPoint mPhotons;
95 inline unsigned short StFmsCluster::detectorId()
const {
return mDetectorId; }
96 inline int StFmsCluster::category()
const {
return mCategory; }
97 inline int StFmsCluster::nTowers()
const {
return mNTowers; }
98 inline int StFmsCluster::nPhotons()
const {
return mPhotons.size(); }
99 inline float StFmsCluster::energy()
const {
return mEnergy; }
100 inline float StFmsCluster::x()
const {
return mX; }
101 inline float StFmsCluster::y()
const {
return mY; }
102 inline float StFmsCluster::sigmaMax()
const {
return mSigmaMax; }
103 inline float StFmsCluster::sigmaMin()
const {
return mSigmaMin; }
104 inline float StFmsCluster::chi2Ndf1Photon()
const {
return mChi2Ndf1Photon; }
105 inline float StFmsCluster::chi2Ndf2Photon()
const {
return mChi2Ndf2Photon; }
106 inline int StFmsCluster::id()
const {
return mId; }
107 inline const StLorentzVectorF& StFmsCluster::fourMomentum()
const {
return mFourMomentum; }
108 inline void StFmsCluster::setDetectorId(
unsigned short detector) { mDetectorId = detector; }
109 inline void StFmsCluster::setCategory(
int catag) { mCategory = catag; }
110 inline void StFmsCluster::setNTowers(
int numbTower) { mNTowers = numbTower; }
111 inline void StFmsCluster::setEnergy(
float energy) { mEnergy = energy; }
112 inline void StFmsCluster::setX(
float x0) { mX = x0; }
113 inline void StFmsCluster::setY(
float y0) { mY = y0; }
114 inline void StFmsCluster::setSigmaMin(
float sigmaMax) { mSigmaMin = sigmaMax; }
115 inline void StFmsCluster::setSigmaMax(
float sigmaMax) { mSigmaMax = sigmaMax; }
116 inline void StFmsCluster::setChi2Ndf1Photon(
float chi2ndfph1) { mChi2Ndf1Photon = chi2ndfph1; }
117 inline void StFmsCluster::setChi2Ndf2Photon(
float chi2ndfph2) { mChi2Ndf2Photon = chi2ndfph2; }
118 inline void StFmsCluster::setId(
float cluid) { mId = cluid; }
119 inline void StFmsCluster::setFourMomentum(
StLorentzVectorF p4) { mFourMomentum = p4; }
120 inline StPtrVecFmsHit& StFmsCluster::hits() {
return mHits; }
121 inline const StPtrVecFmsHit& StFmsCluster::hits()
const {
return mHits; }
122 inline StPtrVecFmsPoint& StFmsCluster::points() {
return mPhotons; }
123 inline const StPtrVecFmsPoint& StFmsCluster::points()
const {
return mPhotons; }
126 #endif // STFMSCLUSTER_H