25 #ifndef StBTofPidTraits_hh
26 #define StBTofPidTraits_hh
28 #include "StTrackPidTraits.h"
29 #include "StBTofHit.h"
30 #include "StThreeVectorF.hh"
44 float thetaLocal()
const;
51 float timeOfFlight()
const;
52 float pathLength()
const;
57 float sigmaPion()
const;
58 float sigmaKaon()
const;
59 float sigmaProton()
const;
61 float probElectron()
const;
62 float probPion()
const;
63 float probKaon()
const;
64 float probProton()
const;
69 void setMatchFlag(
unsigned char);
70 void setYLocal(
float);
71 void setZLocal(
float);
72 void setThetaLocal(
float);
75 void setTimeOfFlight(
float);
76 void setPathLength(
float);
79 void setSigmaElectron(
float);
80 void setSigmaPion(
float);
81 void setSigmaKaon(
float);
82 void setSigmaProton(
float);
84 void setProbElectron(
float);
85 void setProbPion(
float);
86 void setProbKaon(
float);
87 void setProbProton(
float);
103 Float_t mTimeOfFlight;
107 Float_t mSigmaElectron;
110 Float_t mSigmaProton;
112 Float_t mProbElectron;
121 inline float StBTofPidTraits::yLocal()
const {
return mYLocal; }
122 inline float StBTofPidTraits::zLocal()
const {
return mZLocal; }
123 inline float StBTofPidTraits::thetaLocal()
const {
return mThetaLocal; }
124 inline float StBTofPidTraits::timeOfFlight()
const {
return mTimeOfFlight; }
125 inline float StBTofPidTraits::pathLength()
const {
return mPathLength; }
126 inline float StBTofPidTraits::beta()
const {
return mBeta; }
128 inline float StBTofPidTraits::sigmaPion()
const {
return mSigmaPion; }
129 inline float StBTofPidTraits::sigmaKaon()
const {
return mSigmaKaon; }
130 inline float StBTofPidTraits::sigmaProton()
const {
return mSigmaProton; }
131 inline float StBTofPidTraits::probElectron()
const {
return mProbElectron; }
132 inline float StBTofPidTraits::probPion()
const {
return mProbPion; }
133 inline float StBTofPidTraits::probKaon()
const {
return mProbKaon; }
134 inline float StBTofPidTraits::probProton()
const {
return mProbProton; }
136 inline void StBTofPidTraits::setMatchFlag(
unsigned char flag) { mMatchFlag=flag; }
137 inline void StBTofPidTraits::setYLocal(
float y) { mYLocal=y; }
138 inline void StBTofPidTraits::setZLocal(
float z) { mZLocal=z; }
139 inline void StBTofPidTraits::setThetaLocal(
float theta) { mThetaLocal=theta; }
140 inline void StBTofPidTraits::setTimeOfFlight(
float t) { mTimeOfFlight=t; }
141 inline void StBTofPidTraits::setPathLength(
float s) { mPathLength=s; }
142 inline void StBTofPidTraits::setBeta(
float beta) { mBeta=beta; }
143 inline void StBTofPidTraits::setSigmaElectron(
float sigma) { mSigmaElectron=sigma; }
144 inline void StBTofPidTraits::setSigmaPion(
float sigma) { mSigmaPion=sigma; }
145 inline void StBTofPidTraits::setSigmaKaon(
float sigma) { mSigmaKaon=sigma; }
146 inline void StBTofPidTraits::setSigmaProton(
float sigma) { mSigmaProton=sigma; }
147 inline void StBTofPidTraits::setProbElectron(
float prob) { mProbElectron=prob; }
148 inline void StBTofPidTraits::setProbPion(
float prob) { mProbPion=prob; }
149 inline void StBTofPidTraits::setProbKaon(
float prob) { mProbKaon=prob; }
150 inline void StBTofPidTraits::setProbProton(
float prob) { mProbProton=prob; }
float sigmaElectron() const
PID functions.
unsigned char matchFlag() const
Matching information.
float tot() const
timing for PID