36 default:
return "UNKNOWN" ;
56 str <<
" ------------------- MarlinDDKalTestTrack: ------------------------ " <<
std::endl ;
58 str <<
" ndf: " << ndf << std::endl
59 <<
" chi2: " << chi2 << std::endl
60 <<
" number of hits in fit : " << hits.
size() << std::endl
61 <<
" last constraned hit id : " << ( lcHit ? lcHit->id() : -9999 ) << std::endl ;
63 for(
unsigned i=0,n= hits.
size() ; i<n ; ++i ){
65 str <<
" hit at index: " << i <<
" " <<
UTIL::toString( hits[i].first ) << std::endl
69 str <<
" --------------------- " <<
std::endl ;
71 str <<
" --------------------- " <<
std::endl ;
std::string toString(const T *obj)
virtual int getTrackState(IMPL::TrackStateImpl &ts, double &chi2, int &ndf)=0
get track state, returning TrackState, chi2 and ndf via reference
static const bool backward
boolean constant for defining backward direction - to be used for intitialise
static const bool forward
boolean constant for defining backward direction - to be used for intitialise
virtual std::string toString()
Dump this track to a string for debugging - implementation dependant.
static const int modeClosest
static const int bad_intputs
virtual int getTrackerHitAtPositiveNDF(EVENT::TrackerHit *&trkhit)=0
get TrackeHit at which fit became constrained, i.e.
static const int all_sites_fail_fit
static const int site_discarded
virtual int getHitsInFit(std::vector< std::pair< EVENT::TrackerHit *, double > > &hits)=0
get the list of hits included in the fit, together with the chi2 contributions of the hits...
static const int no_intersection
static const int modeBackward
std::string errorCode(int error)
Helper function to convert error return code to string.
static const int site_fails_chi2_cut
static const int modeForward