FairRoot/PandaRoot
|
FitStatus for use with AbsKalmanFitter implementations. More...
#include <KalmanFitStatus.h>
Public Member Functions | |
KalmanFitStatus () | |
virtual | ~KalmanFitStatus () |
virtual FitStatus * | clone () const |
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 |
bool | isFitted () const |
Has the track been fitted? More... | |
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? More... | |
bool | isTrackPruned () const |
Has the track been pruned after the fit? More... | |
double | getCharge () const |
Get the fitted charge. More... | |
double | getChi2 () const |
Get chi^2 of the fit. More... | |
double | getNdf () const |
Get the degrees of freedom of the fit. More... | |
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? More... | |
bool | isFitConvergedFully_ |
did the fit converge with all TrackPoints? More... | |
bool | isFitConvergedPartially_ |
did the fit converge with a subset of all TrackPoints? More... | |
int | nFailedPoints_ |
Number of failed TrackPoints. More... | |
bool | trackHasChanged_ |
has anything in the Track been changed since the fit? -> fit isn't valid anymore More... | |
PruneFlags | pruneFlags_ |
Prune flags. More... | |
double | charge_ |
fitted charge More... | |
double | chi2_ |
double | ndf_ |
FitStatus for use with AbsKalmanFitter implementations.
Definition at line 36 of file KalmanFitStatus.h.
|
inline |
Definition at line 40 of file KalmanFitStatus.h.
Referenced by clone().
|
inlinevirtual |
Definition at line 44 of file KalmanFitStatus.h.
|
protectedinherited |
|
inlinevirtual |
Reimplemented from genfit::FitStatus.
Definition at line 46 of file KalmanFitStatus.h.
References KalmanFitStatus().
|
inline |
|
inline |
Definition at line 55 of file KalmanFitStatus.h.
References genfit::FitStatus::getNdf().
|
inline |
Definition at line 58 of file KalmanFitStatus.h.
References genfit::FitStatus::getPVal().
|
inlineinherited |
Get the fitted charge.
Definition at line 116 of file FitStatus.h.
References genfit::FitStatus::charge_.
|
inlineinherited |
Get chi^2 of the fit.
Definition at line 118 of file FitStatus.h.
References genfit::FitStatus::chi2_.
Referenced by Genfit2Track2PndTrack(), and getBackwardChi2().
|
inline |
|
inline |
|
inline |
|
inlineinherited |
Get the degrees of freedom of the fit.
Definition at line 120 of file FitStatus.h.
References genfit::FitStatus::ndf_.
Referenced by Genfit2Track2PndTrack(), and getBackwardNdf().
|
inlineinherited |
Definition at line 110 of file FitStatus.h.
References genfit::FitStatus::nFailedPoints_.
|
inline |
|
inlineinherited |
|
inlinevirtualinherited |
Get the p value of the fit.
Virtual, because the fitter may use a different probability distribution.
Definition at line 126 of file FitStatus.h.
References genfit::FitStatus::chi2_, max(), and genfit::FitStatus::ndf_.
Referenced by getBackwardPVal().
|
inline |
|
inlineinherited |
Has anything in the Track been changed since the fit?
Definition at line 112 of file FitStatus.h.
References genfit::FitStatus::trackHasChanged_.
|
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.
References genfit::FitStatus::isFitConvergedFully_, and genfit::FitStatus::isFitConvergedPartially_.
Referenced by Genfit2Track2PndTrack().
|
inlineinherited |
Definition at line 108 of file FitStatus.h.
References genfit::FitStatus::isFitConvergedFully_.
|
inlineinherited |
Definition at line 109 of file FitStatus.h.
References genfit::FitStatus::isFitConvergedPartially_.
|
inlineinherited |
Has the track been fitted?
Definition at line 94 of file FitStatus.h.
References genfit::FitStatus::isFitted_.
|
inline |
|
inline |
Definition at line 50 of file KalmanFitStatus.h.
References fittedWithReferenceTrack_.
|
inlineinherited |
Has the track been pruned after the fit?
Definition at line 114 of file FitStatus.h.
References genfit::PruneFlags::isPruned(), and genfit::FitStatus::pruneFlags_.
|
virtual |
Reimplemented from genfit::FitStatus.
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
Definition at line 137 of file FitStatus.h.
References genfit::FitStatus::chi2_.
Referenced by setBackwardChi2().
|
inline |
|
inline |
|
inlineinherited |
Definition at line 132 of file FitStatus.h.
References genfit::FitStatus::trackHasChanged_.
|
inlineinherited |
Definition at line 129 of file FitStatus.h.
References genfit::FitStatus::isFitConvergedFully_.
|
inlineinherited |
Definition at line 130 of file FitStatus.h.
References genfit::FitStatus::isFitConvergedPartially_.
|
inlineinherited |
|
inline |
|
inline |
Definition at line 62 of file KalmanFitStatus.h.
References fittedWithReferenceTrack_.
|
inlineinherited |
Definition at line 138 of file FitStatus.h.
References genfit::FitStatus::ndf_.
Referenced by setBackwardNdf().
|
inlineinherited |
Definition at line 131 of file FitStatus.h.
References genfit::FitStatus::nFailedPoints_.
|
inline |
|
inline |
|
protectedinherited |
fitted charge
Definition at line 157 of file FitStatus.h.
Referenced by genfit::FitStatus::getCharge(), and genfit::FitStatus::setCharge().
|
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 161 of file FitStatus.h.
Referenced by genfit::FitStatus::getChi2(), genfit::FitStatus::getPVal(), and genfit::FitStatus::setChi2().
|
protected |
Definition at line 79 of file KalmanFitStatus.h.
Referenced by getForwardChi2(), getForwardPVal(), and setForwardChi2().
|
protected |
Definition at line 74 of file KalmanFitStatus.h.
Referenced by isFittedWithDaf(), and setIsFittedWithDaf().
|
protected |
Definition at line 75 of file KalmanFitStatus.h.
Referenced by isFittedWithReferenceTrack(), and setIsFittedWithReferenceTrack().
|
protected |
Definition at line 80 of file KalmanFitStatus.h.
Referenced by getForwardNdf(), getForwardPVal(), and setForwardNdf().
|
protected |
Definition at line 81 of file KalmanFitStatus.h.
|
protectedinherited |
did the fit converge with all TrackPoints?
Definition at line 147 of file FitStatus.h.
Referenced by genfit::FitStatus::isFitConverged(), genfit::FitStatus::isFitConvergedFully(), and genfit::FitStatus::setIsFitConvergedFully().
|
protectedinherited |
did the fit converge with a subset of all TrackPoints?
Definition at line 149 of file FitStatus.h.
Referenced by genfit::FitStatus::isFitConverged(), genfit::FitStatus::isFitConvergedPartially(), and genfit::FitStatus::setIsFitConvergedPartially().
|
protectedinherited |
has the track been fitted?
Definition at line 145 of file FitStatus.h.
Referenced by genfit::FitStatus::isFitted(), and genfit::FitStatus::setIsFitted().
|
protectedinherited |
Definition at line 162 of file FitStatus.h.
Referenced by genfit::FitStatus::getNdf(), genfit::FitStatus::getPVal(), and genfit::FitStatus::setNdf().
|
protectedinherited |
Number of failed TrackPoints.
Definition at line 151 of file FitStatus.h.
Referenced by genfit::FitStatus::getNFailedPoints(), and genfit::FitStatus::setNFailedPoints().
|
protected |
Definition at line 73 of file KalmanFitStatus.h.
Referenced by getNumIterations(), and setNumIterations().
|
protectedinherited |
Prune flags.
Definition at line 155 of file FitStatus.h.
Referenced by genfit::FitStatus::getPruneFlags(), and genfit::FitStatus::isTrackPruned().
|
protectedinherited |
has anything in the Track been changed since the fit? -> fit isn't valid anymore
Definition at line 153 of file FitStatus.h.
Referenced by genfit::FitStatus::hasTrackChanged(), and genfit::FitStatus::setHasTrackChanged().
|
protected |
Definition at line 77 of file KalmanFitStatus.h.
Referenced by getTrackLen(), and setTrackLen().