CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GsfTrajectoryFitter.h
Go to the documentation of this file.
1 #ifndef GsfTrajectoryFitter_H_
2 #define GsfTrajectoryFitter_H_
3 
12 
13 #include <vector>
14 
16 
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;
40  Trajectory fitOne(const TrajectorySeed& aSeed,
41  const RecHitContainer& hits,
42  const TrajectoryStateOnSurface& firstPredTsos, fitType type) const;
43  Trajectory fitOne(const TrajectorySeed& aSeed,
44  const RecHitContainer& hits, fitType type) const;
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) {
65  theHitCloner = hc;
66  }
67 
68 
69 private:
74  TkCloner const * theHitCloner=nullptr;
77 
78  bool theTiming;
79 };
80 
81 #endif //TR_GsfTrajectoryFitter_H_
const Propagator * thePropagator
type
Definition: HCALResponse.h:21
const MultiTrajectoryStateMerger * theMerger
tuple t
Definition: tree.py:139
#define GCC11_FINAL
GsfTrajectoryFitter(const Propagator &aPropagator, const TrajectoryStateUpdator &aUpdator, const MeasurementEstimator &aEstimator, const MultiTrajectoryStateMerger &aMerger, const DetLayerGeometry *detLayerGeometry=0)
const DetLayerGeometry * theGeometry
const MeasurementEstimator * theEstimator
TrajectoryMeasurement TM
virtual void setHitCloner(TkCloner const *hc)
const MultiTrajectoryStateMerger * merger() const
virtual std::unique_ptr< TrajectoryFitter > clone() const override
Trajectory fitOne(const Trajectory &t, fitType type) 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
const DetLayerGeometry dummyGeometry
TkCloner const * theHitCloner