16#ifdef TRKRECO_DEBUG_DETAIL
24#define HEP_SHORT_NAMES
47 void dump(
const std::string & message = std::string(
""),
48 const std::string & prefix = std::string(
""))
const;
57 double chi2(
void)
const;
101 mutable bool _fittedUpdated;
110 mutable double _chi2;
111 mutable double _reducedChi2;
116#ifdef TLine0_NO_INLINE
120#define TLine0_INLINE_DEFINE_HERE
123#ifdef TLine0_INLINE_DEFINE_HERE
129 if (!
_fitted) std::cout <<
"TLine0::a !!! fit not performed" << std::endl;
138 if (!
_fitted) std::cout <<
"TLine0::b !!! fit not performed" << std::endl;
147 if (!
_fitted) std::cout <<
"TLine0::distance !!! fit not performed" << std::endl;
150 double invCos = sqrt(1. + _a * _a);
A class to represent a track in tracking.
void appendSLY(AList< TMLink > &list)
int fit2sp()
fits itself using single hits in a wire-layer. Error was happened if return value is not zero.
double chi2(void) const
returns chi2.
double distance(const TMLink &) const
returns distance to a position of TMLink itself. (not to a wire)
void appendByszdistance(AList< TMLink > &list, unsigned isl, float maxSigma)
double b(void) const
returns coefficient b.
void property(double a, double b, double det)
sets circle properties.
double reducedChi2(void) const
returns reduced-chi2.
int fit2()
fits itself. Error was happened if return value is not zero.
virtual ~TLine0()
Destructor.
void removeChits()
remove extremly bad points.
void removeSLY(AList< TMLink > &list)
int fit2p()
fits itself using isolated hits. Error was happened if return value is not zero.
virtual unsigned objectType(void) const
returns type.
void refine(AList< TMLink > &list, float maxSigma)
remove bad points by chi2. Bad points are returned in a 'list'. fit() should be called before calling...
int fit2s()
fits itself using single hits in a wire-layer. Error was happened if return value is not zero.
double a(void) const
returns coefficient a.
void dump(const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
dumps debug information.
A class to fit a TTrackBase object to a line.
A class to relate TMDCWireHit and TTrack objects.
const HepPoint3D & position(void) const
returns position.
A virtual class for a track class in tracking.