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.
bool isTrackFitted(const Track *tr, const AbsTrackRep *rep) const
virtual void setMaxFailedHits(int val)
virtual ~AbsKalmanFitter()
double getPVal(const Track *tr, const AbsTrackRep *rep, int direction=-1) const
bool isTrackPrepared(const Track *tr, const AbsTrackRep *rep) const
double getRelChi2Change() 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 getNdf(const Track *tr, const AbsTrackRep *rep, int direction=-1) 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?
double deltaPval_
Convergence criterion.
void setRelChi2Change(double relChi2Change)
bool getResetOffDiagonals() const
eMultipleMeasurementHandling multipleMeasurementHandling_
How to handle if there are multiple MeasurementsOnPlane.
double getChiSqu(const Track *tr, const AbsTrackRep *rep, int direction=-1) const
Abstract base class for fitters.
void setBlowUpFactor(double blowUpFactor)
int getMaxFailedHits() const
eMultipleMeasurementHandling getMultipleMeasurementHandling() const
double getDeltaPval() const
unsigned int getMinIterations() const
Abstract base class for a track representation.
unsigned int getMaxIterations() const
Collects information needed and produced by a AbsKalmanFitter implementations and is specific to one ...
void getChiSquNdf(const Track *tr, const AbsTrackRep *rep, double &bChi2, double &fChi2, double &bNdf, double &fNdf) const
Object containing AbsMeasurement and AbsFitterInfo objects.
double getBlowUpMaxVal() const
double blowUpFactor_
Blow up the covariance of the forward (backward) fit by this factor before seeding the backward (forw...
double getBlowUpFactor() const
void setResetOffDiagonals(bool resetOffDiagonals)
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.
bool canIgnoreWeights() const
returns if the fitter can ignore the weights and handle the MeasurementOnPlanes as if they had weight...
double getRedChiSqu(const Track *tr, const AbsTrackRep *rep, int direction=-1) const
Collection of TrackPoint objects, AbsTrackRep objects and FitStatus objects.
const std::vector< MeasurementOnPlane * > getMeasurements(const KalmanFitterInfo *fi, const TrackPoint *tp, int direction) const
get the measurementsOnPlane taking the multipleMeasurementHandling_ into account
AbsKalmanFitter(unsigned int maxIterations=4, double deltaPval=1e-3, double blowUpFactor=1e3)
eMultipleMeasurementHandling
void setDeltaPval(double deltaPval)
Set Convergence criterion.
Defines for I/O streams used for error and debug printing.