19 #include "StETofPidTraits.h"
20 #include "StMuETofPidTraits.h"
22 StMuETofPidTraits::StMuETofPidTraits()
28 mPosition.set( 0., 0., 0. );
31 mTimeOfFlight = -999.;
36 StMuETofPidTraits::~StMuETofPidTraits()
48 mPosition.set( 0., 0., 0. );
51 mTimeOfFlight = -999.;
57 mLocalX = pid->localX();
58 mLocalY = pid->localY();
59 mThetaLocal = pid->thetaLocal();
60 mPosition = pid->position();
61 mDeltaX = pid->deltaX();
62 mDeltaY = pid->deltaY();
64 mPathLength = pid->pathLength();
70 StMuETofPidTraits::createETofPidTraits()
const
74 traits->setMatchFlag( mMatchFlag );
75 traits->setLocalX( mLocalX );
76 traits->setLocalY( mLocalY );
77 traits->setThetaLocal( mThetaLocal );
78 traits->setPosition( mPosition );
79 traits->setDeltaX( mDeltaX );
80 traits->setDeltaY( mDeltaY );
81 traits->setTimeOfFlight( mTimeOfFlight );
82 traits->setPathLength( mPathLength );
83 traits->setBeta( mBeta );
89 StMuETofPidTraits::position() {
94 StMuETofPidTraits::position()
const {
void setETofPidTraits(const StETofPidTraits *)
PID functions – to be added (?)
float timeOfFlight() const
timing for PID
unsigned short matchFlag() const
matching information