21 #include "StBTofPidTraits.h"
22 #include "StMuBTofPidTraits.h"
24 static const char rcsid[] =
"$Id: StMuBTofPidTraits.cxx,v 1.2 2009/12/08 23:24:46 fine Exp $";
34 mTimeOfFlight = -999.;
38 mSigmaElectron = -999.;
42 mProbElectron = -999.;
48 StMuBTofPidTraits::~StMuBTofPidTraits() { }
53 mYLocal = pid->yLocal();
54 mZLocal = pid->zLocal();
55 mThetaLocal = pid->thetaLocal();
56 mTimeOfFlight = pid->timeOfFlight();
57 mPathLength = pid->pathLength();
60 mPosition = pid->position();
63 mSigmaPion = pid->sigmaPion();
64 mSigmaKaon = pid->sigmaKaon();
65 mSigmaProton = pid->sigmaProton();
66 mProbElectron = pid->probElectron();
67 mProbPion = pid->probPion();
68 mProbKaon = pid->probKaon();
69 mProbProton = pid->probProton();
75 traits->setMatchFlag(mMatchFlag);
76 traits->setYLocal(mYLocal);
77 traits->setZLocal(mZLocal);
78 traits->setThetaLocal(mThetaLocal);
79 traits->setTimeOfFlight(mTimeOfFlight);
80 traits->setPathLength(mPathLength);
81 traits->setBeta(mBeta);
82 traits->setPosition(mPosition);
84 traits->setSigmaElectron(mSigmaElectron);
85 traits->setSigmaPion(mSigmaPion);
86 traits->setSigmaKaon(mSigmaKaon);
87 traits->setSigmaProton(mSigmaProton);
88 traits->setProbElectron(mProbElectron);
89 traits->setProbPion(mProbPion);
90 traits->setProbKaon(mProbKaon);
91 traits->setProbProton(mProbProton);
97 StMuBTofPidTraits::position() {
return mPosition; }
100 StMuBTofPidTraits::position()
const {
return mPosition; }
103 StMuBTofPidTraits::setPosition(
const StThreeVectorF& pos) { mPosition = pos; }
float sigmaElectron() const
PID functions.
unsigned char matchFlag() const
Matching information.