12 #include "cetlib_except/exception.h" 72 throw cet::exception(
"KFitTrack") <<
"Track combination surfaces are not the same.\n";
117 if (doTitle) out <<
"KFitTrack:\n";
121 out <<
" Distance = " <<
fPath <<
"\n";
122 out <<
" Chisquare = " <<
fChisq <<
"\n";
131 "FORWARD_PREDICTED" :
135 "BACKWARD_PREDICTED" :
136 (fStat ==
OPTIMAL ?
"OPTIMAL" :
"OPTIMAL_PREDICTED")))))))
bool isEqual(float x1, float x2)
const std::shared_ptr< const Surface > & getSurface() const
Surface.
FitStatus
Fit status enum.
FitStatus fStat
Fit status.
virtual std::ostream & Print(std::ostream &out, bool doTitle=true) const
Printout.
std::optional< double > combineTrack(const KETrack &tre)
Combine two tracks.
double fChisq
Fit chisquare.
KFitTrack()
Default constructor.
virtual ~KFitTrack()
Destructor.
bool combineFit(const KFitTrack &trf)
Combine two tracks.
virtual std::ostream & Print(std::ostream &out, bool doTitle=true) const
Printout.
double fPath
Propagation distance.
Basic Kalman filter track class, with fit information.
double getChisq() const
Fit chisquare.
cet::coded_exception< error, detail::translate > exception
FitStatus getStat() const
Fit status.