CMS 3D CMS Logo

GsfPropagatorAdapter.h
Go to the documentation of this file.
1 #ifndef GsfPropagatorAdapter_h_
2 #define GsfPropagatorAdapter_h_
3 
7 
8 class MagneticField;
9 
14 class GsfPropagatorAdapter final : public Propagator {
15 
16 public:
19 
20  ~GsfPropagatorAdapter() override {}
21 
24 
25 
26  std::pair<TrajectoryStateOnSurface,double>
28  const Plane&) const override;
29 
32  std::pair<TrajectoryStateOnSurface,double>
34  const Cylinder&) const override;
35 
39  std::pair<TrajectoryStateOnSurface,double> propagateWithPath (const FreeTrajectoryState&,
40  const Plane&) const override;
41 
42 
46  std::pair<TrajectoryStateOnSurface,double> propagateWithPath (const FreeTrajectoryState&,
47  const Cylinder&) const override;
48 
49 public:
50 
51  bool setMaxDirectionChange( float phiMax) override {
52  return thePropagator->setMaxDirectionChange(phiMax);
53  }
54 
56 
58  inline const Propagator& propagator () const
59  {
60  return *thePropagator;
61  }
62 
63  GsfPropagatorAdapter* clone() const override
64  {
66  }
67 
68  const MagneticField* magneticField() const override {
69  return thePropagator->magneticField();
70  }
71 
72 private:
73  // Single state propagator
75 };
76 
77 #endif
bool setMaxDirectionChange(float phiMax) override
GsfPropagatorAdapter(const Propagator &Propagator)
Constructor with explicit propagator.
const Propagator & propagator() const
access to single state propagator
PropagationDirection
virtual bool setMaxDirectionChange(float phiMax)
Definition: Propagator.h:165
Definition: Plane.h:17
virtual const MagneticField * magneticField() const =0
GsfPropagatorAdapter * clone() const override
std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const TrajectoryStateOnSurface &, const Plane &) const override
virtual std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &, const Surface &) const final
Definition: Propagator.cc:15
void setPropagationDirection(PropagationDirection dir) override
DeepCopyPointerByClone< Propagator > thePropagator
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
Definition: Propagator.h:53
dbl *** dir
Definition: mlp_gen.cc:35
const MagneticField * magneticField() const override