23#ifndef genfit_FitStatus_h
24#define genfit_FitStatus_h
27#include <Math/ProbFuncMathCore.h>
95 virtual void Print(
const Option_t* =
"")
const;
Class where important numbers and properties of a fit can be stored.
void setNdf(const double &ndf)
int getNFailedPoints() const
bool isFitConvergedPartially() const
int nFailedPoints_
Number of failed TrackPoints.
void setIsFitConvergedPartially(bool fitConverged=true)
bool trackIsPruned_
Information has been stripped off, no refitting possible!
virtual double getPVal() const
Get the p value of the fit.
double getCharge() const
Get the fitted charge.
virtual FitStatus * clone() const
double getNdf() const
Get the degrees of freedom of the fit.
bool isFitConvergedPartially_
did the fit converge with a subset of all TrackPoints?
void setIsTrackPruned(bool pruned=true)
bool hasTrackChanged() const
Has anything in the Track been changed since the fit?
bool isFitConverged(bool inAllPoints=true) const
Did the fit converge (in all Points or only partially)?
double charge_
fitted charge
bool isFitted() const
Has the track been fitted?
void setIsFitted(bool fitted=true)
bool trackHasChanged_
has anything in the Track been changed since the fit? -> fit isn't valid anymore
void setNFailedPoints(int nFailedPoints)
bool isTrackPruned() const
Has the track been pruned after the fit?
bool isFitted_
has the track been fitted?
bool isFitConvergedFully_
did the fit converge with all TrackPoints?
bool isFitConvergedFully() const
void setHasTrackChanged(bool trackChanged=true)
void setIsFitConvergedFully(bool fitConverged=true)
double getChi2() const
Get chi^2 of the fit.
virtual void Print(const Option_t *="") const
void setChi2(const double &chi2)
void setCharge(double charge)