48 #include "StContainers.h"
50 #include "StRichHit.h"
52 #include "StParticleDefinition.hh"
53 #include "StThreeVectorD.hh"
62 float totAzim,
float totArea,
63 unsigned short totHits,
float trunAzim,
64 float trunArea,
unsigned short trunHits);
71 const StPtrVecRichHit& getAssociatedRichHits()
const;
72 StPtrVecRichHit& getAssociatedRichHits();
75 const StSPtrVecRichPhotonInfo& getPhotonInfo();
83 void setTotalAzimuth(
float);
84 void setTotalArea(
float);
85 void setTotalHits(
unsigned short);
86 void setTotalDensity(
float);
88 float getTotalAzimuth()
const;
89 float getTotalArea()
const;
90 unsigned short getTotalHits()
const;
91 float getTotalDensity()
const;
94 void setTruncatedAzimuth(
float);
95 void setTruncatedArea(
float);
96 void setTruncatedHits(
unsigned short);
97 void setTruncatedDensity(
float);
99 float getTruncatedAzimuth()
const;
100 float getTruncatedArea()
const;
101 unsigned short getTruncatedHits()
const;
102 float getTruncatedDensity()
const;
104 float getConstantAreaCut()
const;
105 void setConstantAreaCut(
float);
108 int getParticleNumber()
const;
120 Int_t mParticleNumber;
122 StPtrVecRichHit mAssociatedHits;
123 StSPtrVecRichPhotonInfo mPhotonInfo;
127 Float_t mTotalAzimuth;
130 Float_t mTotalDensity;
132 Float_t mTruncatedAzimuth;
133 Float_t mTruncatedArea;
134 UShort_t mTruncatedHits;
135 Float_t mTruncatedDensity;
137 Float_t mConstantAreaCut;
146 inline void StRichPid::setMipResidual(
StThreeVectorD t) { mMipResidual=t;}
148 inline void StRichPid::setTotalAzimuth(
float t) { mTotalAzimuth=t;}
149 inline void StRichPid::setTotalArea(
float t) { mTotalArea=t;}
150 inline void StRichPid::setTotalHits(
unsigned short t) { mTotalHits=t;}
151 inline void StRichPid::setTotalDensity(
float t) {mTotalDensity=t;}
153 inline void StRichPid::setTruncatedAzimuth(
float t) { mTruncatedAzimuth=t;}
154 inline void StRichPid::setTruncatedArea(
float t) { mTruncatedArea=t;}
155 inline void StRichPid::setTruncatedHits(
unsigned short t) { mTruncatedHits=t;}
156 inline void StRichPid::setTruncatedDensity(
float t) {mTruncatedDensity=t;}
160 inline const StPtrVecRichHit& StRichPid::getAssociatedRichHits()
const {
return mAssociatedHits;}
161 inline StPtrVecRichHit& StRichPid::getAssociatedRichHits() {
return mAssociatedHits;}
162 inline void StRichPid::addHit(
StRichHit*
hit) { mAssociatedHits.push_back(hit); }
167 inline int StRichPid::getParticleNumber()
const {
return mParticleNumber;}
168 inline float StRichPid::getTotalAzimuth()
const {
return mTotalAzimuth;}
169 inline float StRichPid::getTotalArea()
const {
return mTotalArea;}
170 inline unsigned short StRichPid::getTotalHits()
const {
return mTotalHits;}
171 inline float StRichPid::getTotalDensity()
const {
return mTotalDensity;}
173 inline float StRichPid::getTruncatedAzimuth()
const {
return mTruncatedAzimuth;}
174 inline float StRichPid::getTruncatedArea()
const {
return mTruncatedArea;}
175 inline unsigned short StRichPid::getTruncatedHits()
const {
return mTruncatedHits;}
176 inline float StRichPid::getTruncatedDensity()
const {
return mTruncatedDensity;}
178 inline float StRichPid::getConstantAreaCut()
const {
return mConstantAreaCut;}
179 inline void StRichPid::setConstantAreaCut(
float c) { mConstantAreaCut = c;}
183 inline StThreeVectorD StRichPid::getMipResidual()
const {
return mMipResidual;}
187 inline bool StRichPid::isSet(
StRichPidFlag f)
const {
return (mFlags & f);}
188 inline void StRichPid::setBit(
StRichPidFlag f) { (mFlags |= f);}
189 inline void StRichPid::unSetBit(
StRichPidFlag f) { (mFlags &= ~(f));}