1 #ifndef STMUFTTCLUSTER_H
2 #define STMUFTTCLUSTER_H
18 UChar_t plane()
const;
19 UChar_t quadrant()
const;
20 UChar_t orientation()
const;
24 int nNeighbors()
const;
28 UShort_t idTruth()
const {
return mIdTruth; }
29 UShort_t qaTruth()
const {
return 0; }
31 void setId(
int cluid);
32 void setPlane(UChar_t plane);
33 void setQuadrant(UChar_t quad);
34 void setOrientation( UChar_t );
35 void setNStrips(
int numStrips);
36 void setSumAdc(
int theSumAdc);
38 void setSigma(
float sigma);
39 void setIdTruth(UShort_t
id) { mIdTruth = id; }
40 void setQaTruth(UShort_t qa) { mQaTruth = qa; }
43 const TRefArray* rawHits()
const;
46 TRefArray* neighbor();
47 const TRefArray* neighbor()
const;
49 const TRefArray* points()
const;
59 UChar_t mOrientation = kFttUnknownOrientation;
74 inline int StMuFttCluster::id()
const {
return mId; }
75 inline UChar_t StMuFttCluster::plane()
const {
return mPlane; }
76 inline UChar_t StMuFttCluster::quadrant()
const {
return mQuadrant; }
77 inline UChar_t StMuFttCluster::orientation()
const {
return mOrientation; }
78 inline int StMuFttCluster::nStrips()
const {
return mNStrips; }
79 inline int StMuFttCluster::nRawHits()
const {
return mRawHits.GetSize(); }
80 inline int StMuFttCluster::nNeighbors()
const {
return mNeighbors.GetSize(); }
81 inline int StMuFttCluster::nPoints()
const {
return mPoints.GetSize(); }
82 inline float StMuFttCluster::sumAdc()
const {
return mSumAdc; }
83 inline float StMuFttCluster::x()
const {
return mX; }
84 inline float StMuFttCluster::sigma()
const {
return mSigma; }
86 inline void StMuFttCluster::setPlane(UChar_t plane) { mPlane = plane; }
87 inline void StMuFttCluster::setQuadrant(UChar_t quadrant) { mQuadrant = quadrant; }
88 inline void StMuFttCluster::setOrientation( UChar_t so ) { mOrientation = so; }
89 inline void StMuFttCluster::setNStrips(
int numStrips) { mNStrips = numStrips; }
90 inline void StMuFttCluster::setSumAdc(
int theSumAdc) { mSumAdc = theSumAdc; }
91 inline void StMuFttCluster::setX(
float x0) { mX = x0; }
92 inline void StMuFttCluster::setSigma(
float sigma) { mSigma = sigma; }
94 inline void StMuFttCluster::setId(
int cluid) { mId = cluid; }
96 inline TRefArray* StMuFttCluster::rawHits() {
return &mRawHits; }
97 inline const TRefArray* StMuFttCluster::rawHits()
const {
return &mRawHits; }
98 inline TRefArray* StMuFttCluster::neighbor() {
return &mNeighbors; }
99 inline const TRefArray* StMuFttCluster::neighbor()
const {
return &mNeighbors; }
100 inline TRefArray* StMuFttCluster::points() {
return &mPoints; }
101 inline const TRefArray* StMuFttCluster::points()
const {
return &mPoints; }
103 #endif // STMUFTTCLUSTER_H