56 unsigned int hp,
float q,
float maxAdc,
unsigned char tc);
64 float maxAmplitude()
const;
66 int clusterNumber()
const;
67 unsigned int track()
const;
68 unsigned short numberOfPads()
const;
71 unsigned int reservedLong()
const;
72 float reservedFloat()
const;
77 void setMaxAmplitude(
float);
78 void setClusterNumber(
int);
80 void setNumberOfPads(
unsigned short);
81 void setTrack(
unsigned int);
83 void setReservedLong(
unsigned int);
84 void setReservedFloat(
float);
89 unsigned int flags()
const;
90 StDetectorId detector()
const;
98 Float_t mMaxAmplitude;
103 UInt_t mReservedLong;
104 Float_t mReservedFloat;
106 UInt_t mNumberOfPads;
111 inline StDetectorId StRichHit::detector()
const {
return kRichId;}
113 inline const StThreeVectorF& StRichHit::local()
const {
return mLocal;}
115 inline const StThreeVectorF& StRichHit::internal()
const {
return mInternal;}
117 inline void StRichHit::setMaxAmplitude(
float m) {mMaxAmplitude = m;}
118 inline float StRichHit::maxAmplitude()
const {
return mMaxAmplitude;}
119 inline void StRichHit::setClusterNumber(
int no) {mClusterNumber = no;}
120 inline int StRichHit::clusterNumber()
const {
return mClusterNumber;}
123 inline void StRichHit::setTrack(
unsigned int tck) { mTrack = tck;}
124 inline unsigned int StRichHit::track()
const {
return mTrack;}
125 inline unsigned short StRichHit::numberOfPads()
const {
return mNumberOfPads;}
126 inline void StRichHit::setNumberOfPads(
unsigned short n) { mNumberOfPads = n;}
128 inline unsigned int StRichHit::reservedLong()
const {
return mReservedLong; }
129 inline float StRichHit::reservedFloat()
const {
return mReservedFloat; }
130 inline void StRichHit::setReservedLong(
unsigned int el) {mReservedLong = el;}
131 inline void StRichHit::setReservedFloat(
float fl) {mReservedFloat = fl;}
133 inline bool StRichHit::isSet(
StRichHitFlag f)
const {
return (mReservedLong & f); }
134 inline void StRichHit::setBit(
StRichHitFlag f) { mReservedLong |= f; }
135 inline void StRichHit::unSetBit(
StRichHitFlag f) { mReservedLong &= ~(f);}
136 inline unsigned int StRichHit::flags()
const{
return (mReservedLong); }