23#ifndef genfit_KalmanFitterRefTrack_h
24#define genfit_KalmanFitterRefTrack_h
31class KalmanFitterInfo;
Abstract base class for Kalman fitter and derived fitting algorithms.
Abstract base class for a track representation.
Collects information needed and produced by a AbsKalmanFitter implementations and is specific to one ...
Kalman filter implementation with linearization around a reference track.
void processTrackPoint(KalmanFitterInfo *fi, const KalmanFitterInfo *prevFi, const TrackPoint *tp, double &chi2, double &ndf, int direction)
virtual ~KalmanFitterRefTrack()
void processTrackWithRep(Track *tr, const AbsTrackRep *rep, bool resortHits=false)
TVectorD backwardDeltaState_
TMatrixDSym BNoiseMatrix_
void removeForwardBackwardInfo(Track *tr, const AbsTrackRep *rep, int notChangedUntil, int notChangedFrom) const
If refitAll_, remove all information.
bool removeOutdated(Track *tr, const AbsTrackRep *rep, int ¬ChangedUntil, int ¬ChangedFrom)
Remove referenceStates if they are too far from smoothed states.
void setRefitAll(bool refit=true)
If true always refit all points, otherwise fit points only if reference states have changed.
TVectorD forwardDeltaState_
KalmanFitterRefTrack(unsigned int maxIterations=4, double deltaPval=1e-3, double blowUpFactor=1e3)
TMatrixD BTransportMatrix_
bool prepareTrack(Track *tr, const AbsTrackRep *rep, bool setSortingParams, int &nFailedHits)
Prepare the track.
void setDeltaChi2Ref(double dChi2)
TMatrixD FTransportMatrix_
TMatrixDSym FNoiseMatrix_
TrackPoint * fitTrack(Track *tr, const AbsTrackRep *rep, double &chi2, double &ndf, int direction)
Fit the track.
Object containing AbsMeasurement and AbsFitterInfo objects.
Collection of TrackPoint objects, AbsTrackRep objects and FitStatus objects.