CMS 3D CMS Logo

KFSplittingFitter.h
Go to the documentation of this file.
1 #ifndef CD_KFSplittingFitter_H_
2 #define CD_KFSplittingFitter_H_
3 
13 
14 class KFSplittingFitter final : public TrajectoryFitter {
15 private:
17 
21 
22 public:
23  KFSplittingFitter(const Propagator& aPropagator,
24  const TrajectoryStateUpdator& aUpdator,
25  const MeasurementEstimator& aEstimator)
26  : fitter(aPropagator, aUpdator, aEstimator) {}
27 
28  KFSplittingFitter(const Propagator* aPropagator,
29  const TrajectoryStateUpdator* aUpdator,
30  const MeasurementEstimator* aEstimator)
31  : fitter(aPropagator, aUpdator, aEstimator) {}
32 
33  std::unique_ptr<TrajectoryFitter> clone() const override {
34  return std::unique_ptr<TrajectoryFitter>(
36  }
37 
38  Trajectory fitOne(const Trajectory& aTraj, fitType type) const override;
39  Trajectory fitOne(const TrajectorySeed& aSeed, const RecHitContainer& hits, fitType type) const override;
40  Trajectory fitOne(const TrajectorySeed& aSeed,
41  const RecHitContainer& hits,
42  const TSOS& firstPredTsos,
43  fitType type) const override;
44 
45  void setHitCloner(TkCloner const* hc) override { fitter.setHitCloner(hc); }
46 
47 private:
49 
51 };
52 
53 #endif //CD_KFSplittingFitter_H_
TransientTrackingRecHit::ConstRecHitContainer RecHitContainer
void setHitCloner(TkCloner const *hc) override
PropagationDirection
TrajectoryStateOnSurface TSOS
FreeTrajectoryState FTS
void sorter(const RecHitContainer &hits, PropagationDirection dir, RecHitContainer &result) const
KFSplittingFitter(const Propagator *aPropagator, const TrajectoryStateUpdator *aUpdator, const MeasurementEstimator *aEstimator)
RecHitSplitter::RecHitContainer RecHitContainer
const MeasurementEstimator * estimator() const
KFSplittingFitter(const Propagator &aPropagator, const TrajectoryStateUpdator &aUpdator, const MeasurementEstimator &aEstimator)
KFTrajectoryFitter fitter
void setHitCloner(TkCloner const *hc) override
std::unique_ptr< TrajectoryFitter > clone() const override
Trajectory fitOne(const Trajectory &aTraj, fitType type) const override
TrajectoryMeasurement TM
const TrajectoryStateUpdator * updator() const
const Propagator * propagator() const