1 #ifndef CD_KFFittingSmoother_H_
2 #define CD_KFFittingSmoother_H_
23 double estimateCut = -1,
24 double logPixelProbabilityCut = -16.0,
25 int minNumberOfHits = 5,
26 bool rejectTracks =
false,
27 bool BreakTrajWith2ConsecutiveMissing =
false,
28 bool NoInvalidHitsBeginEnd =
false) :
53 std::unique_ptr<TrajectoryFitter>
clone()
const override {
54 return std::unique_ptr<TrajectoryFitter>(
93 #endif //CD_KFFittingSmoother_H_
double theLogPixelProbabilityCut
const std::unique_ptr< TrajectoryFitter > theFitter
virtual ~KFFittingSmoother()
TrajectoryStateWithArbitraryError tsosWithError
const TrajectorySmoother * smoother() const
bool checkForNans(const Trajectory &theTraj) const
Method to check that the trajectory has no NaN in the states and chi2.
bool breakTrajWith2ConsecutiveMissing
virtual void setHitCloner(TkCloner const *hc)
Trajectory fitOne(const Trajectory &t, fitType type) const
std::unique_ptr< TrajectoryFitter > clone() const override
bool noInvalidHitsBeginEnd
const TrajectoryFitter * fitter() const
const std::unique_ptr< TrajectorySmoother > theSmoother
KFFittingSmoother(const TrajectoryFitter &aFitter, const TrajectorySmoother &aSmoother, double estimateCut=-1, double logPixelProbabilityCut=-16.0, int minNumberOfHits=5, bool rejectTracks=false, bool BreakTrajWith2ConsecutiveMissing=false, bool NoInvalidHitsBeginEnd=false)
constructor with predefined fitter and smoother and propagator
Trajectory::RecHitContainer RecHitContainer
Trajectory smoothingStep(Trajectory const &fitted) const