SND@LHC Software
|
Class where important numbers and properties of a fit can be stored. More...
#include <FitStatus.h>
Public Member Functions | |
FitStatus () | |
virtual | ~FitStatus () |
virtual FitStatus * | clone () const |
bool | isFitted () const |
Has the track been fitted? | |
bool | isFitConverged (bool inAllPoints=true) const |
Did the fit converge (in all Points or only partially)? | |
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. | |
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 | setIsTrackPruned (bool pruned=true) |
void | setCharge (double charge) |
void | setChi2 (const double &chi2) |
void | setNdf (const double &ndf) |
virtual void | Print (const Option_t *="") const |
Protected Member Functions | |
ClassDef (FitStatus, 1) | |
Protected Attributes | |
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 | |
bool | trackIsPruned_ |
Information has been stripped off, no refitting possible! | |
double | charge_ |
fitted charge | |
double | chi2_ |
double | ndf_ |
Class where important numbers and properties of a fit can be stored.
Definition at line 36 of file FitStatus.h.
|
inline |
Definition at line 40 of file FitStatus.h.
|
inlinevirtual |
Definition at line 45 of file FitStatus.h.
|
protected |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 66 of file FitStatus.h.
|
inlinevirtual |
Get the p value of the fit.
Virtual, because the fitter may use a different probability distribution.
Definition at line 82 of file FitStatus.h.
|
inline |
|
inline |
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 61 of file FitStatus.h.
|
inline |
Definition at line 64 of file FitStatus.h.
|
inline |
Definition at line 65 of file FitStatus.h.
|
inline |
|
inline |
|
virtual |
Reimplemented in genfit::KalmanFitStatus.
Definition at line 27 of file FitStatus.cc.
|
inline |
Definition at line 90 of file FitStatus.h.
|
inline |
Definition at line 92 of file FitStatus.h.
|
inline |
Definition at line 88 of file FitStatus.h.
|
inline |
Definition at line 85 of file FitStatus.h.
|
inline |
Definition at line 86 of file FitStatus.h.
|
inline |
Definition at line 84 of file FitStatus.h.
|
inline |
Definition at line 89 of file FitStatus.h.
|
inline |
Definition at line 93 of file FitStatus.h.
|
inline |
Definition at line 87 of file FitStatus.h.
|
protected |
fitted charge
Definition at line 112 of file FitStatus.h.
|
protected |
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 116 of file FitStatus.h.
|
protected |
did the fit converge with all TrackPoints?
Definition at line 102 of file FitStatus.h.
|
protected |
did the fit converge with a subset of all TrackPoints?
Definition at line 104 of file FitStatus.h.
|
protected |
has the track been fitted?
Definition at line 100 of file FitStatus.h.
|
protected |
Definition at line 117 of file FitStatus.h.
|
protected |
Number of failed TrackPoints.
Definition at line 106 of file FitStatus.h.
|
protected |
has anything in the Track been changed since the fit? -> fit isn't valid anymore
Definition at line 108 of file FitStatus.h.
|
protected |
Information has been stripped off, no refitting possible!
Definition at line 110 of file FitStatus.h.