23 #ifndef genfit_AbsKalmanFitter_h
24 #define genfit_AbsKalmanFitter_h
33 class KalmanFitterInfo;
55 AbsKalmanFitter(
unsigned int maxIterations = 4,
double deltaPval = 1e-3,
double blowUpFactor = 1e3)
183 #endif //genfit_AbsKalmanFitter_h
double blowUpMaxVal_
Limit the cov entries to this maxuimum value when blowing up the cov.
unsigned int maxIterations_
Maximum number of iterations to attempt. Forward and backward are counted as one iteration.
double getNdf(const Track *tr, const AbsTrackRep *rep, int direction=-1) const
virtual void setMaxFailedHits(int val)
virtual ~AbsKalmanFitter()
unsigned int getMaxIterations() const
double getDeltaPval() const
void setBlowUpMaxVal(double blowUpMaxVal)
Limit the cov entries to this maximum value when blowing up the cov. Set to negative value to disable...
bool resetOffDiagonals_
Reset the off-diagonals to 0 when blowing up the cov.
double getBlowUpMaxVal() const
eMultipleMeasurementHandling
eMultipleMeasurementHandling getMultipleMeasurementHandling() const
unsigned int minIterations_
Minimum number of iterations to attempt. Forward and backward are counted as one iteration.
void setMultipleMeasurementHandling(eMultipleMeasurementHandling mmh)
How should multiple measurements be handled?
unsigned int getMinIterations() const
double deltaPval_
Convergence criterion.
void setRelChi2Change(double relChi2Change)
double getRelChi2Change() const
eMultipleMeasurementHandling multipleMeasurementHandling_
How to handle if there are multiple MeasurementsOnPlane.
bool isTrackFitted(const Track *tr, const AbsTrackRep *rep) const
double getBlowUpFactor() const
Abstract base class for fitters.
void setBlowUpFactor(double blowUpFactor)
int getMaxFailedHits() const
bool canIgnoreWeights() const
returns if the fitter can ignore the weights and handle the MeasurementOnPlanes as if they had weight...
Abstract base class for a track representation.
Collects information needed and produced by a AbsKalmanFitter implementations and is specific to one ...
bool getResetOffDiagonals() const
void getChiSquNdf(const Track *tr, const AbsTrackRep *rep, double &bChi2, double &fChi2, double &bNdf, double &fNdf) const
Object containing AbsMeasurement and AbsFitterInfo objects.
bool isTrackPrepared(const Track *tr, const AbsTrackRep *rep) const
double blowUpFactor_
Blow up the covariance of the forward (backward) fit by this factor before seeding the backward (forw...
void setResetOffDiagonals(bool resetOffDiagonals)
double getPVal(const Track *tr, const AbsTrackRep *rep, int direction=-1) const
double getChiSqu(const Track *tr, const AbsTrackRep *rep, int direction=-1) const
Abstract base class for Kalman fitter and derived fitting algorithms.
virtual void setMaxIterations(unsigned int n)
Set the maximum number of iterations.
virtual void setMinIterations(unsigned int n)
Set the minimum number of iterations.
const std::vector< MeasurementOnPlane * > getMeasurements(const KalmanFitterInfo *fi, const TrackPoint *tp, int direction) const
get the measurementsOnPlane taking the multipleMeasurementHandling_ into account
Collection of TrackPoint objects, AbsTrackRep objects and FitStatus objects.
AbsKalmanFitter(unsigned int maxIterations=4, double deltaPval=1e-3, double blowUpFactor=1e3)
double getRedChiSqu(const Track *tr, const AbsTrackRep *rep, int direction=-1) const
void setDeltaPval(double deltaPval)
Set Convergence criterion.
Defines for I/O streams used for error and debug printing.