12 #ifndef StMuFcsCluster_hh
13 #define StMuFcsCluster_hh
16 #include <TRefArray.h>
17 #include <TLorentzVector.h>
31 unsigned short detectorId()
const;
34 int nNeighbor()
const;
39 float sigmaMax()
const;
40 float sigmaMin()
const;
42 float chi2Ndf1Photon()
const;
43 float chi2Ndf2Photon()
const;
44 const TLorentzVector& fourMomentum()
const;
46 void setId(
int cluid);
47 void setDetectorId(
unsigned short detector);
48 void setCategory(
int catag);
49 void setNTowers(
int numbTower);
50 void setEnergy(
float energy);
53 void setSigmaMin(
float sigmaMax);
54 void setSigmaMax(
float sigmaMax);
55 void setTheta(
float theta);
56 void setChi2Ndf1Photon(
float chi2ndfph1);
57 void setChi2Ndf2Photon(
float chi2ndfph2);
58 void setFourMomentum(TLorentzVector p4);
62 const TRefArray* hits()
const;
64 TRefArray* neighbor();
65 const TRefArray* neighbor()
const;
67 const TRefArray* points()
const;
70 void print(Option_t *option=
"")
const;
74 UShort_t mDetectorId=0;
80 Float_t mSigmaMin=0.0;
81 Float_t mSigmaMax=0.0;
83 Float_t mChi2Ndf1Photon=0.0;
84 Float_t mChi2Ndf2Photon=0.0;
85 TLorentzVector mFourMomentum;
93 inline int StMuFcsCluster::id()
const {
return mId; }
94 inline unsigned short StMuFcsCluster::detectorId()
const {
return mDetectorId; }
95 inline int StMuFcsCluster::category()
const {
return mCategory; }
96 inline int StMuFcsCluster::nTowers()
const {
return mNTowers; }
97 inline int StMuFcsCluster::nNeighbor()
const {
return mNeighbor.GetSize(); }
98 inline int StMuFcsCluster::nPoints()
const {
return mPoints.GetSize(); }
99 inline float StMuFcsCluster::energy()
const {
return mEnergy; }
100 inline float StMuFcsCluster::x()
const {
return mX; }
101 inline float StMuFcsCluster::y()
const {
return mY; }
102 inline float StMuFcsCluster::sigmaMax()
const {
return mSigmaMax; }
103 inline float StMuFcsCluster::sigmaMin()
const {
return mSigmaMin; }
104 inline float StMuFcsCluster::theta()
const {
return mTheta; }
105 inline float StMuFcsCluster::chi2Ndf1Photon()
const {
return mChi2Ndf1Photon; }
106 inline float StMuFcsCluster::chi2Ndf2Photon()
const {
return mChi2Ndf2Photon; }
107 inline const TLorentzVector& StMuFcsCluster::fourMomentum()
const {
return mFourMomentum; }
108 inline void StMuFcsCluster::setDetectorId(
unsigned short detector) { mDetectorId = detector; }
109 inline void StMuFcsCluster::setCategory(
int catag) { mCategory = catag; }
110 inline void StMuFcsCluster::setNTowers(
int numbTower) { mNTowers = numbTower; }
111 inline void StMuFcsCluster::setEnergy(
float energy) { mEnergy = energy; }
112 inline void StMuFcsCluster::setX(
float x0) { mX = x0; }
113 inline void StMuFcsCluster::setY(
float y0) { mY = y0; }
114 inline void StMuFcsCluster::setSigmaMin(
float sigmaMax) { mSigmaMin = sigmaMax; }
115 inline void StMuFcsCluster::setSigmaMax(
float sigmaMax) { mSigmaMax = sigmaMax; }
116 inline void StMuFcsCluster::setTheta(
float theta) { mTheta = theta; }
117 inline void StMuFcsCluster::setChi2Ndf1Photon(
float chi2ndfph1) { mChi2Ndf1Photon = chi2ndfph1; }
118 inline void StMuFcsCluster::setChi2Ndf2Photon(
float chi2ndfph2) { mChi2Ndf2Photon = chi2ndfph2; }
119 inline void StMuFcsCluster::setId(
int cluid) { mId = cluid; }
120 inline void StMuFcsCluster::setFourMomentum(TLorentzVector p4) { mFourMomentum = p4; }
121 inline TRefArray* StMuFcsCluster::hits() {
return &mHits; }
122 inline const TRefArray* StMuFcsCluster::hits()
const {
return &mHits; }
123 inline TRefArray* StMuFcsCluster::neighbor() {
return &mNeighbor; }
124 inline const TRefArray* StMuFcsCluster::neighbor()
const {
return &mNeighbor; }
125 inline TRefArray* StMuFcsCluster::points() {
return &mPoints; }
126 inline const TRefArray* StMuFcsCluster::points()
const {
return &mPoints; }
129 #endif // StMuFcsCluster_hh