26 #ifndef StMtdPidTraits_hh
27 #define StMtdPidTraits_hh
29 #include "StTrackPidTraits.h"
31 #include "StThreeVectorF.hh"
45 float thetaLocal()
const;
54 float expTimeOfFlight()
const;
55 float pathLength()
const;
61 float probMuon()
const;
66 void setMatchFlag(
unsigned char);
67 void setYLocal(
float);
68 void setZLocal(
float);
69 void setThetaLocal(
float);
71 void setDeltaY(
float);
72 void setDeltaZ(
float);
74 void setTimeOfFlight(
float);
75 void setExpTimeOfFlight(
float);
76 void setPathLength(
float);
79 void setSigmaMuon(
float);
81 void setProbMuon(
float);
96 Float_t mTimeOfFlight;
103 Float_t mExpTimeOfFlight;
113 inline float StMtdPidTraits::yLocal()
const {
return mYLocal; }
114 inline float StMtdPidTraits::zLocal()
const {
return mZLocal; }
115 inline float StMtdPidTraits::deltaY()
const {
return mDeltaY; }
116 inline float StMtdPidTraits::deltaZ()
const {
return mDeltaZ; }
117 inline float StMtdPidTraits::thetaLocal()
const {
return mThetaLocal; }
119 inline float StMtdPidTraits::expTimeOfFlight()
const {
return mExpTimeOfFlight; }
120 inline float StMtdPidTraits::pathLength()
const {
return mPathLength; }
121 inline float StMtdPidTraits::beta()
const {
return mBeta; }
123 inline float StMtdPidTraits::probMuon()
const {
return mProbMuon; }
125 inline void StMtdPidTraits::setMatchFlag(
unsigned char flag) { mMatchFlag=flag; }
126 inline void StMtdPidTraits::setYLocal(
float y) { mYLocal=y; }
127 inline void StMtdPidTraits::setZLocal(
float z) { mZLocal=z; }
128 inline void StMtdPidTraits::setDeltaY(
float y) { mDeltaY=y; }
129 inline void StMtdPidTraits::setDeltaZ(
float z) { mDeltaZ=z; }
130 inline void StMtdPidTraits::setThetaLocal(
float theta) { mThetaLocal=theta; }
131 inline void StMtdPidTraits::setTimeOfFlight(
float t) { mTimeOfFlight=t; }
132 inline void StMtdPidTraits::setExpTimeOfFlight(
float t) { mExpTimeOfFlight=t; }
133 inline void StMtdPidTraits::setPathLength(
float s) { mPathLength=s; }
134 inline void StMtdPidTraits::setBeta(
float beta) { mBeta=beta; }
135 inline void StMtdPidTraits::setSigmaMuon(
float sigma) { mSigmaMuon=sigma; }
136 inline void StMtdPidTraits::setProbMuon(
float prob) { mProbMuon=prob; }
float sigmaMuon() const
PID functions.
float timeOfFlight() const
timing for PID
unsigned char matchFlag() const
Matching information.