CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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;
46  Trajectory fitOne(const TrajectorySeed& aSeed,
47  const RecHitContainer& hits,
48  fitType type) const;
49  Trajectory fitOne(const TrajectorySeed& aSeed,
50  const RecHitContainer& hits,
51  const TSOS& firstPredTsos,
52  fitType type) const;
53 
54  virtual void setHitCloner(TkCloner const * hc) {
55  fitter.setHitCloner(hc);
56  }
57 
58  private :
59 
61 
63 
64 };
65 
66 #endif //CD_KFSplittingFitter_H_
type
Definition: HCALResponse.h:21
virtual void setHitCloner(TkCloner const *hc)
TransientTrackingRecHit::ConstRecHitContainer RecHitContainer
virtual std::unique_ptr< TrajectoryFitter > clone() const override
const TrajectoryStateUpdator * updator() const
const MeasurementEstimator * estimator() const
PropagationDirection
TrajectoryStateOnSurface TSOS
FreeTrajectoryState FTS
tuple result
Definition: mps_fire.py:84
virtual void setHitCloner(TkCloner const *hc)
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
TrajectoryMeasurement TM
const Propagator * propagator() const
susybsm::HSCParticleCollection hc
Definition: classes.h:25
dbl *** dir
Definition: mlp_gen.cc:35
Trajectory fitOne(const Trajectory &aTraj, fitType type) const