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