1 #include "StMtdPidTraits.h"
2 #include "StMuMtdPidTraits.h"
3 #include "StMuMtdHit.h"
5 static const char rcsid[] =
"$Id: StMuMtdPidTraits.cxx,v 1.3 2014/07/22 19:04:00 jdb Exp $";
15 mTimeOfFlight = -999.;
22 mExpTimeOfFlight = -999.;
27 StMuMtdPidTraits::~StMuMtdPidTraits() { }
33 mYLocal = pid->yLocal();
34 mZLocal = pid->zLocal();
35 mDeltaY = pid->deltaY();
36 mDeltaZ = pid->deltaZ();
37 mThetaLocal = pid->thetaLocal();
39 mExpTimeOfFlight = pid->expTimeOfFlight();
40 mPathLength = pid->pathLength();
42 mPosition = pid->position();
45 mProbMuon = pid->probMuon();
51 traits->setMatchFlag(mMatchFlag);
52 traits->setYLocal(mYLocal);
53 traits->setZLocal(mZLocal);
54 traits->setDeltaY(mDeltaY);
55 traits->setDeltaZ(mDeltaZ);
56 traits->setThetaLocal(mThetaLocal);
57 traits->setTimeOfFlight(mTimeOfFlight);
58 traits->setExpTimeOfFlight(mExpTimeOfFlight);
59 traits->setPathLength(mPathLength);
60 traits->setBeta(mBeta);
61 traits->setPosition(mPosition);
62 traits->setSigmaMuon(mSigmaMuon);
63 traits->setProbMuon(mProbMuon);
70 StMuMtdPidTraits::position() {
return mPosition; }
73 StMuMtdPidTraits::position()
const {
return mPosition; }
76 StMuMtdPidTraits::setPosition(
const StThreeVectorF& pos) { mPosition = pos; }
float sigmaMuon() const
PID functions.
void setMtdPidTraits(const StMtdPidTraits *)
Setters.
float timeOfFlight() const
timing for PID
unsigned char matchFlag() const
Matching information.