31 #ifndef StMuBTofPidTraits_hh
32 #define StMuBTofPidTraits_hh
35 #include "StThreeVectorF.hh"
48 float thetaLocal()
const;
55 float pathLength()
const;
60 float sigmaPion()
const;
61 float sigmaKaon()
const;
62 float sigmaProton()
const;
64 float probElectron()
const;
65 float probPion()
const;
66 float probKaon()
const;
67 float probProton()
const;
71 void setMatchFlag(
unsigned char);
72 void setYLocal(
float);
73 void setZLocal(
float);
74 void setThetaLocal(
float);
77 void setTimeOfFlight(
float);
78 void setPathLength(
float);
81 void setSigmaElectron(
float);
82 void setSigmaPion(
float);
83 void setSigmaKaon(
float);
84 void setSigmaProton(
float);
86 void setProbElectron(
float);
87 void setProbPion(
float);
88 void setProbKaon(
float);
89 void setProbProton(
float);
98 Float_t mTimeOfFlight;
102 Float_t mSigmaElectron;
105 Float_t mSigmaProton;
107 Float_t mProbElectron;
116 inline float StMuBTofPidTraits::yLocal()
const {
return mYLocal; }
117 inline float StMuBTofPidTraits::zLocal()
const {
return mZLocal; }
118 inline float StMuBTofPidTraits::thetaLocal()
const {
return mThetaLocal; }
120 inline float StMuBTofPidTraits::pathLength()
const {
return mPathLength; }
121 inline float StMuBTofPidTraits::beta()
const {
return mBeta; }
123 inline float StMuBTofPidTraits::sigmaPion()
const {
return mSigmaPion; }
124 inline float StMuBTofPidTraits::sigmaKaon()
const {
return mSigmaKaon; }
125 inline float StMuBTofPidTraits::sigmaProton()
const {
return mSigmaProton; }
126 inline float StMuBTofPidTraits::probElectron()
const {
return mProbElectron; }
127 inline float StMuBTofPidTraits::probPion()
const {
return mProbPion; }
128 inline float StMuBTofPidTraits::probKaon()
const {
return mProbKaon; }
129 inline float StMuBTofPidTraits::probProton()
const {
return mProbProton; }
131 inline void StMuBTofPidTraits::setMatchFlag(
unsigned char flag) { mMatchFlag=flag; }
132 inline void StMuBTofPidTraits::setYLocal(
float y) { mYLocal=y; }
133 inline void StMuBTofPidTraits::setZLocal(
float z) { mZLocal=z; }
134 inline void StMuBTofPidTraits::setThetaLocal(
float theta) { mThetaLocal=theta; }
135 inline void StMuBTofPidTraits::setTimeOfFlight(
float t) { mTimeOfFlight=t; }
136 inline void StMuBTofPidTraits::setPathLength(
float s) { mPathLength=s; }
137 inline void StMuBTofPidTraits::setBeta(
float beta) { mBeta=beta; }
138 inline void StMuBTofPidTraits::setSigmaElectron(
float sigma) { mSigmaElectron=sigma; }
139 inline void StMuBTofPidTraits::setSigmaPion(
float sigma) { mSigmaPion=sigma; }
140 inline void StMuBTofPidTraits::setSigmaKaon(
float sigma) { mSigmaKaon=sigma; }
141 inline void StMuBTofPidTraits::setSigmaProton(
float sigma) { mSigmaProton=sigma; }
142 inline void StMuBTofPidTraits::setProbElectron(
float prob) { mProbElectron=prob; }
143 inline void StMuBTofPidTraits::setProbPion(
float prob) { mProbPion=prob; }
144 inline void StMuBTofPidTraits::setProbKaon(
float prob) { mProbKaon=prob; }
145 inline void StMuBTofPidTraits::setProbProton(
float prob) { mProbProton=prob; }
unsigned char matchFlag() const
Matching information.
float timeOfFlight() const
timing for PID
float sigmaElectron() const
PID functions.