21 #include "StBTofPidTraits.h"
23 static const char rcsid[] =
"$Id: StBTofPidTraits.cxx,v 2.2 2009/12/08 23:24:46 fine Exp $";
35 mTimeOfFlight = -999.;
39 mSigmaElectron = -999.;
43 mProbElectron = -999.;
49 StBTofPidTraits::~StBTofPidTraits() { }
52 StBTofPidTraits::tofHit() {
return mBTofHit; }
55 StBTofPidTraits::tofHit()
const {
return mBTofHit; }
58 StBTofPidTraits::position() {
return mPosition; }
61 StBTofPidTraits::position()
const {
return mPosition; }
66 if(mBTofHit)
return mBTofHit->tot();
71 StBTofPidTraits::setTofHit(
StBTofHit*
hit) { mBTofHit = hit; }
74 StBTofPidTraits::setPosition(
const StThreeVectorF& pos) { mPosition = pos; }
float tot() const
timing for PID