CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
21 
24 
25 
26  virtual std::pair<TrajectoryStateOnSurface,double>
28  const Plane&) const override;
29 
32  virtual std::pair<TrajectoryStateOnSurface,double>
34  const Cylinder&) const override;
35 
39  virtual std::pair<TrajectoryStateOnSurface,double> propagateWithPath (const FreeTrajectoryState&,
40  const Plane&) const override;
41 
42 
46  virtual std::pair<TrajectoryStateOnSurface,double> propagateWithPath (const FreeTrajectoryState&,
47  const Cylinder&) const override;
48 
49 public:
50 
51  virtual bool setMaxDirectionChange( float phiMax) {
52  return thePropagator->setMaxDirectionChange(phiMax);
53  }
54 
55  virtual void setPropagationDirection (PropagationDirection dir) override;
56 
58  inline const Propagator& propagator () const
59  {
60  return *thePropagator;
61  }
62 
63  virtual GsfPropagatorAdapter* clone() const
64  {
66  }
67 
68  virtual const MagneticField* magneticField() const {
69  return thePropagator->magneticField();
70  }
71 
72 private:
73  // Single state propagator
75 };
76 
77 #endif
virtual GsfPropagatorAdapter * clone() const
GsfPropagatorAdapter(const Propagator &Propagator)
Constructor with explicit propagator.
virtual std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const TrajectoryStateOnSurface &, const Plane &) const override
const Propagator & propagator() const
access to single state propagator
PropagationDirection
virtual bool setMaxDirectionChange(float phiMax)
Definition: Propagator.h:169
Definition: Plane.h:17
virtual std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &, const Surface &) const final
Definition: Propagator.cc:15
virtual void setPropagationDirection(PropagationDirection dir) override
DeepCopyPointerByClone< Propagator > thePropagator
virtual bool setMaxDirectionChange(float phiMax)
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
Definition: Propagator.h:56
virtual const MagneticField * magneticField() const =0
dbl *** dir
Definition: mlp_gen.cc:35
virtual const MagneticField * magneticField() const