Belle II Software
release-08-01-10
|
FitStatus for use with AbsKalmanFitter implementations. More...
#include <KalmanFitStatus.h>
Public Member Functions | |
virtual FitStatus * | clone () const override |
unsigned int | getNumIterations () const |
bool | isFittedWithDaf () const |
bool | isFittedWithReferenceTrack () const |
double | getTrackLen () const |
double | getForwardChi2 () const |
double | getBackwardChi2 () const |
double | getForwardNdf () const |
double | getBackwardNdf () const |
double | getForwardPVal () const |
double | getBackwardPVal () const |
void | setNumIterations (unsigned int numIterations) |
void | setIsFittedWithDaf (bool fittedWithDaf=true) |
void | setIsFittedWithReferenceTrack (bool fittedWithReferenceTrack=true) |
void | setTrackLen (double trackLen) |
void | setForwardChi2 (double fChi2) |
void | setBackwardChi2 (double bChi2) |
void | setForwardNdf (double fNdf) |
void | setBackwardNdf (double bNdf) |
virtual void | Print (const Option_t *="") const override |
bool | isFitted () const |
Has the track been fitted? | |
bool | isFitConverged (bool inAllPoints=true) const |
Did the fit converge (in all Points or only partially)? More... | |
bool | isFitConvergedFully () const |
bool | isFitConvergedPartially () const |
int | getNFailedPoints () const |
bool | hasTrackChanged () const |
Has anything in the Track been changed since the fit? | |
bool | isTrackPruned () const |
Has the track been pruned after the fit? | |
double | getCharge () const |
Get the fitted charge. | |
double | getChi2 () const |
Get chi^2 of the fit. | |
double | getNdf () const |
Get the degrees of freedom of the fit. | |
virtual double | getPVal () const |
Get the p value of the fit. More... | |
void | setIsFitted (bool fitted=true) |
void | setIsFitConvergedFully (bool fitConverged=true) |
void | setIsFitConvergedPartially (bool fitConverged=true) |
void | setNFailedPoints (int nFailedPoints) |
void | setHasTrackChanged (bool trackChanged=true) |
void | setCharge (double charge) |
PruneFlags & | getPruneFlags () |
void | setChi2 (const double &chi2) |
void | setNdf (const double &ndf) |
Protected Member Functions | |
ClassDef (FitStatus, 3) | |
Protected Attributes | |
unsigned int | numIterations_ |
bool | fittedWithDaf_ |
bool | fittedWithReferenceTrack_ |
double | trackLen_ |
double | fChi2_ |
double | fNdf_ |
double | fPval_ |
bool | isFitted_ |
has the track been fitted? | |
bool | isFitConvergedFully_ |
did the fit converge with all TrackPoints? | |
bool | isFitConvergedPartially_ |
did the fit converge with a subset of all TrackPoints? | |
int | nFailedPoints_ |
Number of failed TrackPoints. | |
bool | trackHasChanged_ |
has anything in the Track been changed since the fit? -> fit isn't valid anymore | |
PruneFlags | pruneFlags_ |
Prune flags. | |
double | charge_ |
fitted charge | |
double | chi2_ |
These are provided for the sake of the fitter, and their interpretation may vary. More... | |
double | ndf_ |
FitStatus for use with AbsKalmanFitter implementations.
Definition at line 36 of file KalmanFitStatus.h.
|
inlinevirtualinherited |
Get the p value of the fit.
Virtual, because the fitter may use a different probability distribution.
Definition at line 128 of file FitStatus.h.
|
inlineinherited |
Did the fit converge (in all Points or only partially)?
Per default, this function will only be true, if all TrackPoints (with measurements) have been used in the fit, and the fit has converged.
If one or more TrackPoints have been skipped (e.g. plane could not be constructed or extrapolation to plane failed), but the fit otherwise met the convergence criteria, isFitConverged(false) will return true.
Definition at line 105 of file FitStatus.h.
|
protectedinherited |
These are provided for the sake of the fitter, and their interpretation may vary.
For the Kalman-derived fitters in particular, this corresponds to the backwards fit.
Definition at line 163 of file FitStatus.h.