23 #ifndef genfit_KalmanFitterRefTrack_h
24 #define genfit_KalmanFitterRefTrack_h
26 #include "AbsKalmanFitter.h"
31 class KalmanFitterInfo;
39 KalmanFitterRefTrack(
unsigned int maxIterations = 4,
double deltaPval = 1e-3,
double blowUpFactor = 1e3,
40 bool squareRootFormalism =
false)
41 :
AbsKalmanFitter(maxIterations, deltaPval, blowUpFactor), refitAll_(
false), deltaChi2Ref_(1),
42 squareRootFormalism_(squareRootFormalism)
92 TMatrixD FTransportMatrix_;
93 TMatrixD BTransportMatrix_;
94 TMatrixDSym FNoiseMatrix_;
95 TMatrixDSym BNoiseMatrix_;
96 TVectorD forwardDeltaState_;
97 TVectorD backwardDeltaState_;
102 TMatrixDSym covSumInv_;
109 bool squareRootFormalism_;
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.
TrackPoint * fitTrack(Track *tr, const AbsTrackRep *rep, double &chi2, double &ndf, int direction)
Fit the track.
void processTrackWithRep(Track *tr, const AbsTrackRep *rep, bool resortHits=false) override
Process Track with one AbsTrackRep of the Track.
bool prepareTrack(Track *tr, const AbsTrackRep *rep, bool setSortingParams, int &nFailedHits)
Prepare the track.
void setRefitAll(bool refit=true)
If true always refit all points, otherwise fit points only if reference states have changed.
void removeForwardBackwardInfo(Track *tr, const AbsTrackRep *rep, int notChangedUntil, int notChangedFrom) const
If refitAll_, remove all information.
void setDeltaChi2Ref(double dChi2)
When will the reference track be updated? If (smoothedState - referenceState) * smoothedCov^(-1) * (s...
bool removeOutdated(Track *tr, const AbsTrackRep *rep, int ¬ChangedUntil, int ¬ChangedFrom)
Remove referenceStates if they are too far from smoothed states.
Object containing AbsMeasurement and AbsFitterInfo objects.
Collection of TrackPoint objects, AbsTrackRep objects and FitStatus objects.
Defines for I/O streams used for error and debug printing.