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
bool resetOffDiagonals_
Reset the off-diagonals to 0 when blowing up the cov.
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.
int getMaxFailedHits() const
Double_t val[nBoxes][nFEBox]
double getRedChiSqu(const Track *tr, const AbsTrackRep *rep, int direction=-1) const
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.
double getBlowUpFactor() const
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
void setDeltaPval(double deltaPval)
Set Convergence criterion.
void getChiSquNdf(const Track *tr, const AbsTrackRep *rep, double &bChi2, double &fChi2, double &bNdf, double &fNdf) const
AbsKalmanFitter(unsigned int maxIterations=4, double deltaPval=1e-3, double blowUpFactor=1e3)
double getDeltaPval() const
double getRelChi2Change() 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 canIgnoreWeights() const
returns if the fitter can ignore the weights and handle the MeasurementOnPlanes as if they had weight...
virtual void setMaxFailedHits(int val)
void setRelChi2Change(double relChi2Change)
unsigned int getMaxIterations() const
virtual ~AbsKalmanFitter()
unsigned int getMinIterations() const
double getNdf(const Track *tr, const AbsTrackRep *rep, int direction=-1) const
bool isTrackPrepared(const Track *tr, const AbsTrackRep *rep) const
Object containing AbsMeasurement and AbsFitterInfo objects.
eMultipleMeasurementHandling multipleMeasurementHandling_
How to handle if there are multiple MeasurementsOnPlane.
void setResetOffDiagonals(bool resetOffDiagonals)
void setMultipleMeasurementHandling(eMultipleMeasurementHandling mmh)
How should multiple measurements be handled?
double getBlowUpMaxVal() const
unsigned int minIterations_
Minimum number of iterations to attempt. Forward and backward are counted as one iteration.
bool isTrackFitted(const Track *tr, const AbsTrackRep *rep) const
double getChiSqu(const Track *tr, const AbsTrackRep *rep, int direction=-1) const
unsigned int maxIterations_
Maximum number of iterations to attempt. Forward and backward are counted as one iteration.
eMultipleMeasurementHandling getMultipleMeasurementHandling() const
const std::vector< MeasurementOnPlane * > getMeasurements(const KalmanFitterInfo *fi, const TrackPoint *tp, int direction) const
get the measurementsOnPlane taking the multipleMeasurementHandling_ into account
Abstract base class for fitters.
double blowUpMaxVal_
Limit the cov entries to this maxuimum value when blowing up the cov.
bool getResetOffDiagonals() const
Collects information needed and produced by a AbsKalmanFitter implementations and is specific to one ...
eMultipleMeasurementHandling