43 #ifndef _ST_FGT_POINT_H_
44 #define _ST_FGT_POINT_H_
57 const bool operator < (
const StFgtPoint& rhs)
const;
58 const bool operator > (
const StFgtPoint& rhs)
const;
59 const bool operator >= (
const StFgtPoint& rhs)
const;
60 const bool operator <= (
const StFgtPoint& rhs)
const;
64 StDetectorId detector()
const;
65 void setHardwarePosition(
short disc,
short quad);
74 float getPositionR()
const;
75 float getPositionPhi()
const;
76 float getChargeAsymmetry()
const;
78 void setRank(
int rank);
83 Float_t mChargeAsymmetry;
96 inline StFgtPoint::StFgtPoint() :
StHit(), mHitR(0), mHitPhi(0) {
100 inline int StFgtPoint::getDisc() {
101 return static_cast< int >(mHardwarePosition/8);
104 inline int StFgtPoint::getQuad() {
105 return static_cast< int >((mHardwarePosition/2)%4);
108 inline StDetectorId StFgtPoint::detector()
const {
return kFgtId;}
110 inline int StFgtPoint::getKey() {
114 inline const StFgtHit* StFgtPoint::getHitR()
const {
118 inline const StFgtHit* StFgtPoint::getHitPhi()
const {
122 inline float StFgtPoint::getPositionR()
const {
123 return mHitR->getPositionR();
126 inline float StFgtPoint::getPositionPhi()
const {
127 return mHitPhi->getPositionPhi();
130 inline float StFgtPoint::getChargeAsymmetry()
const {
131 return mChargeAsymmetry;
134 inline int StFgtPoint::getRank()
const {
138 inline void StFgtPoint::setRank(
int rank) {
142 inline const bool StFgtPoint::operator >(
const StFgtPoint& rhs)
const {
143 return mRank>rhs.mRank;
146 inline const bool StFgtPoint::operator >=(
const StFgtPoint& rhs)
const {
147 return mRank>=rhs.mRank;
150 inline const bool StFgtPoint::operator <(
const StFgtPoint& rhs)
const {
151 return mRank<rhs.mRank;
154 inline const bool StFgtPoint::operator <=(
const StFgtPoint& rhs)
const {
155 return mRank<=rhs.mRank;
158 inline void StFgtPoint::setHardwarePosition(
short disc,
short quad){
159 mHardwarePosition = disc*4+quad+1;
StFgtHit * mHitPhi
do not stream pointers
Represents a point in the FGT.