17 #include "StHltTrack.h"
18 #include "StHltTrackNode.h"
31 mChi2[0]=0; mChi2[1]=0;
47 StHltTrack::~StHltTrack(){}
50 StHltTrack::setType(StTrackType val)
56 StHltTrack::setId(
int val)
62 StHltTrack::setFlag(
unsigned short val)
68 StHltTrack::setInnerMostRow(
char val)
74 StHltTrack::setOuterMostRow(
char val)
80 StHltTrack::setNHits(
unsigned char val)
86 StHltTrack::setNDedx(
unsigned char val)
92 StHltTrack::setQ(
char val)
98 StHltTrack::setChi2(
int i,
float val)
100 if (i==0 || i==1)
mChi2[i]=val;
else return;
104 StHltTrack::setDedx(
float val)
110 StHltTrack::setPt(
float val)
116 StHltTrack::setPhi0(
float val)
122 StHltTrack::setPsi(
float val)
128 StHltTrack::setR0(
float val)
134 StHltTrack::setTanl(
float val)
140 StHltTrack::setZ0(
float val)
146 StHltTrack::setLength(
float val)
152 StHltTrack::setDpt(
float val)
158 StHltTrack::setDpsi(
float val)
164 StHltTrack::setDz0(
float val)
170 StHltTrack::setDtanl(
float val)
183 operator<<(ostream &os,
const StHltTrack& trk)
185 os <<
" primary key " << trk.id()<<
" innerMostRow "<<trk.innerMostRow()
186 <<
" outerMostRow " << trk.outerMostRow()<<endl
187 <<
" nhits "<<trk.nHits() <<
" ndedx "<<trk.ndedx() <<
" q "<< trk.q()<<endl
188 <<
" chi2[0] "<<trk.chi2(0)<<
" chi2[1] "<<trk.chi2(1)
189 <<
" dedx "<<trk.dedx()<<
" pt "<<trk.pt()<<
" phi0 "<<trk.phi0()
190 <<
" psi "<<trk.psi()<<
" r0 "<<trk.r0()<<
" tanl "<<trk.tanl()
191 <<
" z0 "<<trk.z0()<<
" length "<<trk.length()<<
" dpt "<<trk.dpt()
192 <<
" dz0 "<<trk.dz0()<<
" dtanl "<<trk.dtanl()<<endl;
float mZ0
z coordinate of point where parameters are given
float mR0
r (in cyl. coord.) for point where parameters are given
float mPhi0
azimuthal angle of point where parameters are given
StTrackType mType
track Type
float mPsi
azimuthal angle of the momentum at (r,...
float mPt
pt at (r, phi,z)
float mChi2[2]
chi squared of the momentum fit
float mTanl
tg of the dip angle at (r,phi,z)