23 #ifndef genfit_KalmanFitter_h
24 #define genfit_KalmanFitter_h
26 #include "AbsKalmanFitter.h"
33 class KalmanFitterInfo;
34 class MeasuredStateOnPlane;
50 KalmanFitter(
unsigned int maxIterations = 4,
double deltaPval = 1e-3,
double blowUpFactor = 1e3,
bool squareRootFormalism =
false)
51 :
AbsKalmanFitter(maxIterations, deltaPval, blowUpFactor), currentState_(
nullptr),
52 squareRootFormalism_(squareRootFormalism)
64 void useSquareRootFormalism(
bool squareRootFormalism =
true) {squareRootFormalism_ = squareRootFormalism;}
67 bool fitTrack(
Track* tr,
const AbsTrackRep* rep,
double& chi2,
double& ndf,
int startId,
int endId,
int& nFailedHits);
69 const AbsTrackRep* rep,
double& chi2,
double& ndf,
int direction);
71 std::unique_ptr<MeasuredStateOnPlane> currentState_;
73 bool squareRootFormalism_;
Abstract base class for Kalman fitter and derived fitting algorithms.
Abstract base class for a track representation.
Simple Kalman filter implementation.
void processTrackPartially(Track *tr, const AbsTrackRep *rep, int startId=0, int endId=-1)
process only a part of the track.
void processTrackWithRep(Track *tr, const AbsTrackRep *rep, bool resortHits=false) override
Hit resorting currently NOT supported.
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.