CMS 3D CMS Logo

GsfTrajectoryFitter.h
Go to the documentation of this file.
1 #ifndef GsfTrajectoryFitter_H_
2 #define GsfTrajectoryFitter_H_
3 
12 
13 #include <vector>
14 
16 
20 class GsfTrajectoryFitter final : public TrajectoryFitter {
21 
22 private:
25 
26 public:
27 
31  GsfTrajectoryFitter(const Propagator& aPropagator,
32  const TrajectoryStateUpdator& aUpdator,
33  const MeasurementEstimator& aEstimator,
34  const MultiTrajectoryStateMerger& aMerger,
35  const DetLayerGeometry* detLayerGeometry=0);
36 
37  virtual ~GsfTrajectoryFitter();
38 
39  Trajectory fitOne(const Trajectory& t, fitType type) const override;
40  Trajectory fitOne(const TrajectorySeed& aSeed,
41  const RecHitContainer& hits,
42  const TrajectoryStateOnSurface& firstPredTsos, fitType type) const override;
43  Trajectory fitOne(const TrajectorySeed& aSeed,
44  const RecHitContainer& hits, fitType type) const override;
45 
46 
47 
48 
49  const Propagator* propagator() const {return thePropagator;}
50  const TrajectoryStateUpdator* updator() const {return theUpdator;}
51  const MeasurementEstimator* estimator() const {return theEstimator;}
52  const MultiTrajectoryStateMerger* merger() const {return theMerger;}
53 
54  virtual std::unique_ptr<TrajectoryFitter> clone() const override
55  {
56  return std::unique_ptr<TrajectoryFitter>(
58  *theUpdator,
59  *theEstimator,
60  *theMerger,
61  theGeometry));
62  }
63 
64  virtual void setHitCloner(TkCloner const * hc) override {
65  theHitCloner = hc;
66  }
67 
68 
69 private:
74  TkCloner const * theHitCloner=nullptr;
77 
78  bool theTiming;
79 };
80 
81 #endif //TR_GsfTrajectoryFitter_H_
Trajectory fitOne(const Trajectory &t, fitType type) const override
const Propagator * thePropagator
type
Definition: HCALResponse.h:21
const MultiTrajectoryStateMerger * theMerger
GsfTrajectoryFitter(const Propagator &aPropagator, const TrajectoryStateUpdator &aUpdator, const MeasurementEstimator &aEstimator, const MultiTrajectoryStateMerger &aMerger, const DetLayerGeometry *detLayerGeometry=0)
virtual std::unique_ptr< TrajectoryFitter > clone() const override
const DetLayerGeometry * theGeometry
const MeasurementEstimator * theEstimator
TrajectoryMeasurement TM
const MultiTrajectoryStateMerger * merger() const
TrajectoryStateOnSurface TSOS
const Propagator * propagator() const
const TrajectoryStateUpdator * updator() const
susybsm::HSCParticleCollection hc
Definition: classes.h:25
const TrajectoryStateUpdator * theUpdator
Trajectory::RecHitContainer RecHitContainer
const MeasurementEstimator * estimator() const
virtual void setHitCloner(TkCloner const *hc) override
const DetLayerGeometry dummyGeometry
TkCloner const * theHitCloner