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