#include <KFFittingSmoother.h>
Public Member Functions | |
std::unique_ptr< TrajectoryFitter > | clone () const override |
Trajectory | fitOne (const Trajectory &t, fitType type) const |
Trajectory | fitOne (const TrajectorySeed &aSeed, const RecHitContainer &hits, const TrajectoryStateOnSurface &firstPredTsos, fitType type) const |
Trajectory | fitOne (const TrajectorySeed &aSeed, const RecHitContainer &hits, fitType type) const |
const TrajectoryFitter * | fitter () const |
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 More... | |
virtual void | setHitCloner (TkCloner const *hc) |
const TrajectorySmoother * | smoother () const |
virtual | ~KFFittingSmoother () |
Public Member Functions inherited from TrajectoryFitter | |
std::vector< Trajectory > | fit (const Trajectory &traj, fitType type=standard) const |
std::vector< Trajectory > | fit (const TrajectorySeed &seed, const RecHitContainer &hits, fitType type=standard) const |
std::vector< Trajectory > | fit (const TrajectorySeed &seed, const RecHitContainer &hits, const TrajectoryStateOnSurface &tsos, fitType type=standard) const |
virtual | ~TrajectoryFitter () |
Private Member Functions | |
bool | checkForNans (const Trajectory &theTraj) const |
Method to check that the trajectory has no NaN in the states and chi2. More... | |
Trajectory | smoothingStep (Trajectory const &fitted) const |
Private Attributes | |
bool | breakTrajWith2ConsecutiveMissing |
bool | noInvalidHitsBeginEnd |
bool | rejectTracksFlag |
double | theEstimateCut |
const std::unique_ptr < TrajectoryFitter > | theFitter |
double | theLogPixelProbabilityCut |
int | theMinNumberOfHits |
const std::unique_ptr < TrajectorySmoother > | theSmoother |
TrajectoryStateWithArbitraryError | tsosWithError |
Additional Inherited Members | |
Public Types inherited from TrajectoryFitter | |
enum | fitType { standard =0, looper =1 } |
typedef Trajectory::RecHitContainer | RecHitContainer |
typedef TrajectoryFitterRecord | Record |
A TrajectorySmoother that rpeats the forward fit before smoothing. This is necessary e.g. when the seed introduced a bias (by using a beam contraint etc.). Ported from ORCA
Definition at line 17 of file KFFittingSmoother.h.
|
inline |
constructor with predefined fitter and smoother and propagator
Definition at line 21 of file KFFittingSmoother.h.
Referenced by clone().
|
inlinevirtual |
Definition at line 41 of file KFFittingSmoother.h.
|
private |
Method to check that the trajectory has no NaN in the states and chi2.
Definition at line 22 of file KFFittingSmoother.cc.
References Trajectory::chiSquared(), i, edm::isNotFinite(), j, visualization-live-secondInstance_cfg::m, Trajectory::measurements(), and findQualityFiles::v.
|
inlineoverridevirtual |
Implements TrajectoryFitter.
Definition at line 53 of file KFFittingSmoother.h.
References breakTrajWith2ConsecutiveMissing, KFFittingSmoother(), noInvalidHitsBeginEnd, rejectTracksFlag, theEstimateCut, theFitter, theLogPixelProbabilityCut, theMinNumberOfHits, and theSmoother.
|
virtual |
Implements TrajectoryFitter.
Definition at line 17 of file KFFittingSmoother.cc.
References Trajectory::isValid().
|
virtual |
Implements TrajectoryFitter.
Definition at line 37 of file KFFittingSmoother.cc.
References Trajectory::chiSquared(), SiPixelRecHit::clusterProbability(), GOODCOLL_filter_cfg::cut, Trajectory::direction(), Trajectory::firstMeasurement(), Trajectory::foundHits(), TrackingRecHit::hit(), TrackingRecHit::isValid(), Trajectory::isValid(), j, Trajectory::lastMeasurement(), LogDebug, LogTrace, Trajectory::measurements(), TrackingRecHit::missing, eostools::move(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, Trajectory::pop(), SiPixelRecHit::qBin(), TrajectoryMeasurement::recHitR(), Trajectory::seed(), std::swap(), and DetId::Tracker.
|
virtual |
Implements TrajectoryFitter.
Definition at line 309 of file KFFittingSmoother.cc.
References Exception.
|
inline |
Definition at line 50 of file KFFittingSmoother.h.
References theFitter.
Referenced by KalmanAlignmentAlgorithm::initializeAlignmentSetups().
|
inlinevirtual |
Implements TrajectoryFitter.
Definition at line 63 of file KFFittingSmoother.h.
References theFitter, and theSmoother.
|
inline |
Definition at line 51 of file KFFittingSmoother.h.
References theSmoother.
Referenced by KalmanAlignmentAlgorithm::initializeAlignmentSetups().
|
inlineprivate |
Definition at line 71 of file KFFittingSmoother.h.
References theSmoother.
|
private |
Definition at line 83 of file KFFittingSmoother.h.
Referenced by clone().
|
private |
Definition at line 84 of file KFFittingSmoother.h.
Referenced by clone().
|
private |
Definition at line 82 of file KFFittingSmoother.h.
Referenced by clone().
|
private |
Definition at line 77 of file KFFittingSmoother.h.
Referenced by clone().
|
private |
Definition at line 75 of file KFFittingSmoother.h.
Referenced by clone(), fitter(), and setHitCloner().
|
private |
Definition at line 79 of file KFFittingSmoother.h.
Referenced by clone().
|
private |
Definition at line 81 of file KFFittingSmoother.h.
Referenced by clone().
|
private |
Definition at line 76 of file KFFittingSmoother.h.
Referenced by clone(), setHitCloner(), smoother(), and smoothingStep().
|
private |
Definition at line 86 of file KFFittingSmoother.h.