1 #ifndef CD_KFFittingSmoother_H_
2 #define CD_KFFittingSmoother_H_
25 double estimateCut = -1,
26 double logPixelProbabilityCut = -16.0,
27 int minNumberOfHits = 5,
28 bool rejectTracks =
false,
29 bool BreakTrajWith2ConsecutiveMissing =
false,
30 bool NoInvalidHitsBeginEnd =
false) :
31 theFitter(aFitter.
clone()),
32 theSmoother(aSmoother.
clone()),
33 theEstimateCut(estimateCut),
36 theLogPixelProbabilityCut( logPixelProbabilityCut ),
38 theMinNumberOfHits(minNumberOfHits),
39 rejectTracksFlag(rejectTracks),
40 breakTrajWith2ConsecutiveMissing(BreakTrajWith2ConsecutiveMissing),
41 noInvalidHitsBeginEnd(NoInvalidHitsBeginEnd) {}
47 const RecHitContainer& hits,
50 const RecHitContainer& hits, fitType
type)
const;
57 theEstimateCut,theLogPixelProbabilityCut,
58 theMinNumberOfHits,rejectTracksFlag,
59 breakTrajWith2ConsecutiveMissing,noInvalidHitsBeginEnd);
82 bool checkForNans(
const Trajectory &theTraj)
const;
86 #endif //CD_KFFittingSmoother_H_
bool breakTrajWith2ConsecutiveMissing
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
const TrajectoryFitter * theFitter
TrajectoryStateWithArbitraryError tsosWithError
KFFittingSmoother * clone() const
bool noInvalidHitsBeginEnd
const TrajectorySmoother * theSmoother
const TrajectorySmoother * smoother() const
const TrajectoryFitter * fitter() const
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
double theLogPixelProbabilityCut
Trajectory smoothingStep(Trajectory const &fitted) const
Unlimited (trivial) bounds.