1 #ifndef StMuMtdPidTraits_hh
2 #define StMuMtdPidTraits_hh
4 #include "StTrackPidTraits.h"
5 #include "StThreeVectorF.hh"
20 float thetaLocal()
const;
29 float pathLength()
const;
31 float expTimeOfFlight()
const;
35 float probMuon()
const;
40 void setMatchFlag(
unsigned char);
41 void setYLocal(
float);
42 void setZLocal(
float);
43 void setThetaLocal(
float);
45 void setDeltaY(
float);
46 void setDeltaZ(
float);
48 void setTimeOfFlight(
float);
49 void setPathLength(
float);
52 void setSigmaMuon(
float);
54 void setProbMuon(
float);
56 void setExpTimeOfFlight(
float);
65 Float_t mTimeOfFlight;
72 Float_t mExpTimeOfFlight;
80 inline float StMuMtdPidTraits::yLocal()
const {
return mYLocal; }
81 inline float StMuMtdPidTraits::zLocal()
const {
return mZLocal; }
82 inline float StMuMtdPidTraits::deltaY()
const {
return mDeltaY; }
83 inline float StMuMtdPidTraits::deltaZ()
const {
return mDeltaZ; }
84 inline float StMuMtdPidTraits::thetaLocal()
const {
return mThetaLocal; }
86 inline float StMuMtdPidTraits::pathLength()
const {
return mPathLength; }
87 inline float StMuMtdPidTraits::beta()
const {
return mBeta; }
89 inline float StMuMtdPidTraits::probMuon()
const {
return mProbMuon; }
90 inline float StMuMtdPidTraits::expTimeOfFlight()
const {
return mExpTimeOfFlight; }
92 inline void StMuMtdPidTraits::setMatchFlag(
unsigned char flag) { mMatchFlag=flag; }
93 inline void StMuMtdPidTraits::setYLocal(
float y) { mYLocal=y; }
94 inline void StMuMtdPidTraits::setZLocal(
float z) { mZLocal=z; }
95 inline void StMuMtdPidTraits::setDeltaY(
float y) { mDeltaY=y; }
96 inline void StMuMtdPidTraits::setDeltaZ(
float z) { mDeltaZ=z; }
97 inline void StMuMtdPidTraits::setThetaLocal(
float theta) { mThetaLocal=theta; }
98 inline void StMuMtdPidTraits::setTimeOfFlight(
float t) { mTimeOfFlight=t; }
99 inline void StMuMtdPidTraits::setPathLength(
float s) { mPathLength=s; }
100 inline void StMuMtdPidTraits::setBeta(
float beta) { mBeta=beta; }
101 inline void StMuMtdPidTraits::setSigmaMuon(
float sigma) { mSigmaMuon=sigma; }
102 inline void StMuMtdPidTraits::setProbMuon(
float prob) { mProbMuon=prob; }
103 inline void StMuMtdPidTraits::setExpTimeOfFlight(
float time) { mExpTimeOfFlight=time; }
float sigmaMuon() const
PID functions.
unsigned char matchFlag() const
Matching information.
void setMtdPidTraits(const StMtdPidTraits *)
Setters.
float timeOfFlight() const
timing for PID