19 #ifndef STETOFPIDTRAITS_H
20 #define STETOFPIDTRAITS_H
23 #include "StTrackPidTraits.h"
24 #include "StETofHit.h"
25 #include "StThreeVectorF.hh"
42 float thetaLocal()
const;
51 float pathLength()
const;
60 void setMatchFlag(
const unsigned short& flag );
62 void setLocalX(
const float& );
63 void setLocalY(
const float& );
64 void setThetaLocal(
const float& );
65 void setDeltaX(
const float& );
66 void setDeltaY(
const float& );
70 void setTimeOfFlight(
const float& );
71 void setPathLength(
const float& );
72 void setBeta(
const float& );
85 Float_t mTimeOfFlight;
94 inline float StETofPidTraits::localX()
const {
return mLocalX; }
95 inline float StETofPidTraits::localY()
const {
return mLocalY; }
96 inline float StETofPidTraits::deltaX()
const {
return mDeltaX; }
97 inline float StETofPidTraits::deltaY()
const {
return mDeltaY; }
98 inline float StETofPidTraits::thetaLocal()
const {
return mThetaLocal; }
100 inline float StETofPidTraits::pathLength()
const {
return mPathLength; }
101 inline float StETofPidTraits::beta()
const {
return mBeta; }
103 inline void StETofPidTraits::setMatchFlag(
const unsigned short& flag ) { mMatchFlag = flag; }
104 inline void StETofPidTraits::setLocalX(
const float& x ) { mLocalX = x; }
105 inline void StETofPidTraits::setLocalY(
const float& y ) { mLocalY = y; }
106 inline void StETofPidTraits::setDeltaX(
const float& x ) { mDeltaX = x; }
107 inline void StETofPidTraits::setDeltaY(
const float& y ) { mDeltaY = y; }
108 inline void StETofPidTraits::setThetaLocal(
const float& theta ) { mThetaLocal = theta; }
109 inline void StETofPidTraits::setTimeOfFlight(
const float& t ) { mTimeOfFlight = t; }
110 inline void StETofPidTraits::setPathLength(
const float& s ) { mPathLength = s; }
111 inline void StETofPidTraits::setBeta(
const float& beta ) { mBeta = beta; }
void setETofHit(StETofHit *hit)
PID functions – to be added (?)
float timeOfFlight() const
timing for PID
unsigned short matchFlag() const
matching information