16#ifdef TRKRECO_DEBUG_DETAIL
25#include "TrkReco/TLineFitter.h"
26#include "TrkReco/TMLink.h"
27#include "TrkReco/TTrackBase.h"
47 void dump(
const std::string& message = std::string(
"" ),
48 const std::string& prefix = std::string(
"" ) )
const;
51 double a(
void )
const;
54 double b(
void )
const;
104 mutable bool _fittedUpdated;
113 mutable double _chi2;
114 mutable double _reducedChi2;
119#ifdef TLine0_NO_INLINE
123# define TLine0_INLINE_DEFINE_HERE
126#ifdef TLine0_INLINE_DEFINE_HERE
130 if ( !
_fitted ) std::cout <<
"TLine0::a !!! fit not performed" << std::endl;
137 if ( !
_fitted ) std::cout <<
"TLine0::b !!! fit not performed" << std::endl;
144 if ( !
_fitted ) std::cout <<
"TLine0::distance !!! fit not performed" << std::endl;
147 double invCos = sqrt( 1. + _a * _a );
A class to represent a track in tracking.
void appendSLY(AList< TMLink > &list)
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.
virtual ~TLine0()
Destructor.
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.
void removeChits()
remove extremly bad points.
void removeSLY(AList< TMLink > &list)
TLine0(const AList< TMLink > &)
Constructor.
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)
virtual unsigned objectType(void) const
returns type.
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.