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 
16 private:
17 
19 
23 
24 public:
25 
26  KFSplittingFitter(const Propagator& aPropagator,
27  const TrajectoryStateUpdator& aUpdator,
28  const MeasurementEstimator& aEstimator) :
29  fitter(aPropagator, aUpdator, aEstimator) {}
30 
31 
32  KFSplittingFitter(const Propagator* aPropagator,
33  const TrajectoryStateUpdator* aUpdator,
34  const MeasurementEstimator* aEstimator) :
35  fitter(aPropagator, aUpdator, aEstimator) {}
36 
37  virtual std::unique_ptr<TrajectoryFitter> clone() const override {
38  return std::unique_ptr<TrajectoryFitter>(
40  fitter.updator(),
41  fitter.estimator()));
42  }
43 
44  Trajectory fitOne(const Trajectory& aTraj,
45  fitType type) const override;
46  Trajectory fitOne(const TrajectorySeed& aSeed,
47  const RecHitContainer& hits,
48  fitType type) const override;
49  Trajectory fitOne(const TrajectorySeed& aSeed,
50  const RecHitContainer& hits,
51  const TSOS& firstPredTsos,
52  fitType type) const override;
53 
54  virtual void setHitCloner(TkCloner const * hc) override{
55  fitter.setHitCloner(hc);
56  }
57 
58  private :
59 
60  void sorter(const RecHitContainer& hits, PropagationDirection dir, RecHitContainer & result) const;
61 
63 
64 };
65 
66 #endif //CD_KFSplittingFitter_H_
type
Definition: HCALResponse.h:21
TransientTrackingRecHit::ConstRecHitContainer RecHitContainer
virtual std::unique_ptr< TrajectoryFitter > clone() const override
const TrajectoryStateUpdator * updator() const
virtual void setHitCloner(TkCloner const *hc) override
const MeasurementEstimator * estimator() const
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
KFSplittingFitter(const Propagator &aPropagator, const TrajectoryStateUpdator &aUpdator, const MeasurementEstimator &aEstimator)
KFTrajectoryFitter fitter
Trajectory fitOne(const Trajectory &aTraj, fitType type) const override
virtual void setHitCloner(TkCloner const *hc) override
TrajectoryMeasurement TM
const Propagator * propagator() const
susybsm::HSCParticleCollection hc
Definition: classes.h:25
dbl *** dir
Definition: mlp_gen.cc:35