9 #ifndef StMuFwdTrack_hh
10 #define StMuFwdTrack_hh
15 #include "TRefArray.h"
17 #include "StMuFcsCluster.h"
28 mDetId = other.mDetId;
29 memcpy( mCov, other.mCov,
sizeof( mCov ) );
35 set( detId, xyz, mom, c );
38 void set(
unsigned short detId,
45 memcpy( mCov, c,
sizeof(mCov) );
48 mDetId = other.mDetId;
51 memcpy( mCov, other.mCov,
sizeof(mCov) );
59 return sqrt( mCov[0] );
62 return sqrt( mCov[4] );
65 return sqrt( mCov[8] );
75 unsigned short trackId,
80 memcpy( mCov, cov,
sizeof( mCov ));
84 unsigned short mTrackId;
97 std::vector<StMuFwdTrackProjection> mProjections;
98 std::vector<StMuFwdTrackSeedPoint> mFTTPoints;
99 std::vector<StMuFwdTrackSeedPoint> mFSTPoints;
101 bool getProjectionFor(
int detectorId,
105 TVector3 momentum()
const;
106 TVector3 momentumAt(
size_t _id = 0)
const;
111 bool didFitConverge()
const;
112 bool didFitConvergeFully()
const;
113 short numberOfFailedPoints()
const;
119 short numberOfFitPoints()
const;
123 short numberOfSeedPoints()
const;
126 void setPrimaryMomentum( TVector3 mom ) { mPrimaryMomentum = mom; }
127 void setDidFitConverge(
bool lDidFitConverge ) { mDidFitConverge = lDidFitConverge; }
128 void setDidFitConvergeFully(
bool lDidFitConvergeFully ) { mDidFitConvergeFully = lDidFitConvergeFully;}
129 void setNumberOfFailedPoints(
short lNumberOfFailedPoints ) { mNumberOfFailedPoints = lNumberOfFailedPoints;}
130 void setNumberOfSeedPoints(
short lNumberOfSeedPoints ) { mNumberOfSeedPoints = lNumberOfSeedPoints;}
131 void setNumberOfFitPoints(
short lNumberOfFitPoints ) { mNumberOfFitPoints = lNumberOfFitPoints;}
132 void setChi2(
float lChi2 ) { mChi2 = lChi2;}
133 void setNDF(
float lNDF ) { mNDF = lNDF;}
134 void setPval(
float lPval ) { mPval = lPval;}
135 void setCharge(
short lCharge ) { mCharge = lCharge;}
153 TRefArray mEcalClusters;
154 TRefArray mHcalClusters;
159 bool mDidFitConverge;
160 bool mDidFitConvergeFully;
161 short mNumberOfFailedPoints;
162 short mNumberOfSeedPoints;
163 short mNumberOfFitPoints;
168 TVector3 mPrimaryMomentum;