35 #include "StDetectorId.h"
36 #include "StTrackGeometry.h"
37 #include "StThreeVectorF.hh"
38 #include "StPhysicalHelixD.hh"
42 static const
char rcsid[] = "$Id:
StTrackGeometry.cxx,v 2.7 2009/11/23 16:34:07 fisyak Exp $";
46 StTrackGeometry::~StTrackGeometry() { }
48 int StTrackGeometry::bad()
const
52 if (ierr)
return 1+100*ierr;
53 if (fabs(hh.
origin().z()) >kStarMaxTrackRangeZ)
return 21;
54 if ( hh.
origin().perp()>kStarMaxTrackRangeR)
return 31;
55 if (momentum().mag() < 1.e-5 )
return 41;
const StThreeVector< double > & origin() const
-sign(q*B);