1 #include "StMuTofHit.h"
18 mTOFExpectedAsElectron = 0;
19 mTOFExpectedAsPion = 0;
20 mTOFExpectedAsKaon = 0;
21 mTOFExpectedAsProton = 0;
22 mSigmaElectron = 999.;
28 mAssociatedTrackId = 0;
29 mParticleHypothesis = 0;
32 StMuTofHit::~StMuTofHit()
35 int StMuTofHit::Iconf()
const {
return mIconf; }
37 int StMuTofHit::trayIndex()
const {
return mTrayIndex; }
39 int StMuTofHit::moduleIndex()
const {
return mModuleIndex; }
41 int StMuTofHit::cellIndex()
const {
return mCellIndex; }
43 int StMuTofHit::daqIndex()
const {
return mDaqIndex; }
45 int StMuTofHit::adc()
const {
return mADC; }
47 float StMuTofHit::timeOfFlight()
const {
return mTimeOfFlight; }
49 float StMuTofHit::pathLength()
const {
return mPathLength; }
51 float StMuTofHit::beta()
const {
return mBeta; }
57 int StMuTofHit::associatedTrackId()
const {
return mAssociatedTrackId; }
59 StThreeVectorF StMuTofHit::projectedPoint()
const {
return mProjectedPoint; }
61 float StMuTofHit::tofExpectedAsElectron()
const {
return mTOFExpectedAsElectron; }
63 float StMuTofHit::tofExpectedAsPion()
const {
return mTOFExpectedAsPion; }
65 float StMuTofHit::tofExpectedAsKaon()
const {
return mTOFExpectedAsKaon; }
67 float StMuTofHit::tofExpectedAsProton()
const {
return mTOFExpectedAsProton; }
69 float StMuTofHit::sigmaElectron()
const {
return mSigmaElectron; }
71 float StMuTofHit::sigmaPion()
const {
return mSigmaPion; }
73 float StMuTofHit::sigmaKaon()
const {
return mSigmaKaon; }
75 float StMuTofHit::sigmaProton()
const {
return mSigmaProton; }
81 int StMuTofHit::particleHypothesis()
const {
return mParticleHypothesis; }
84 void StMuTofHit::setIconf(
int iconf) { mIconf = iconf; }
86 void StMuTofHit::setTrayIndex(
int trayId) { mTrayIndex = trayId; }
88 void StMuTofHit::setModuleIndex(
int moduleId) { mModuleIndex = moduleId; }
90 void StMuTofHit::setCellIndex(
int cellId) { mCellIndex = cellId; }
92 void StMuTofHit::setDaqIndex(
int daqId) { mDaqIndex = daqId; }
94 void StMuTofHit::setADC(
int adc) { mADC = adc; }
96 void StMuTofHit::setTimeOfFlight(
float tof) { mTimeOfFlight = tof; }
98 void StMuTofHit::setPathLength(
float length) { mPathLength = length; }
100 void StMuTofHit::setBeta(
float b) { mBeta = b; }
108 void StMuTofHit::setAssociatedTrackId(
int trkId) { mAssociatedTrackId = trkId; }
110 void StMuTofHit::setProjectedPoint(
const StThreeVectorF& val) { mProjectedPoint = val; }
112 void StMuTofHit::settofExpectedAsElectron(
float tofexp) { mTOFExpectedAsElectron = tofexp; }
114 void StMuTofHit::settofExpectedAsPion(
float tofexp) { mTOFExpectedAsPion = tofexp; }
116 void StMuTofHit::settofExpectedAsKaon(
float tofexp) { mTOFExpectedAsKaon = tofexp; }
118 void StMuTofHit::settofExpectedAsProton(
float tofexp) { mTOFExpectedAsProton = tofexp; }
120 void StMuTofHit::setsigmaElectron(
float sigma) { mSigmaElectron = sigma; }
122 void StMuTofHit::setsigmaPion(
float sigma) { mSigmaPion = sigma; }
124 void StMuTofHit::setsigmaKaon(
float sigma) { mSigmaKaon = sigma; }
126 void StMuTofHit::setsigmaProton(
float sigma) { mSigmaProton = sigma; }
134 void StMuTofHit::setparticleHypothesis(
int val) { mParticleHypothesis = val; }