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 public:
18 
19  ~GsfPropagatorAdapter() override {}
20 
23 
24  std::pair<TrajectoryStateOnSurface, double> propagateWithPath(const TrajectoryStateOnSurface&,
25  const Plane&) const override;
26 
29  std::pair<TrajectoryStateOnSurface, double> propagateWithPath(const TrajectoryStateOnSurface&,
30  const Cylinder&) const override;
31 
35  std::pair<TrajectoryStateOnSurface, double> propagateWithPath(const FreeTrajectoryState&,
36  const Plane&) const override;
37 
41  std::pair<TrajectoryStateOnSurface, double> propagateWithPath(const FreeTrajectoryState&,
42  const Cylinder&) const override;
43 
44 public:
46 
48 
50  inline const Propagator& propagator() const { return *thePropagator; }
51 
52  GsfPropagatorAdapter* clone() const override { return new GsfPropagatorAdapter(*thePropagator); }
53 
54  const MagneticField* magneticField() const override { return thePropagator->magneticField(); }
55 
56 private:
57  // Single state propagator
59 };
60 
61 #endif
Propagator.h
TrajectoryStateOnSurface.h
GsfPropagatorAdapter::propagateWithPath
std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const TrajectoryStateOnSurface &, const Plane &) const override
Definition: GsfPropagatorAdapter.cc:11
DeepCopyPointerByClone.h
Propagator::magneticField
virtual const MagneticField * magneticField() const =0
Propagator
Definition: Propagator.h:44
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
DeepCopyPointerByClone< Propagator >
GsfPropagatorAdapter::GsfPropagatorAdapter
GsfPropagatorAdapter(const Propagator &Propagator)
Constructor with explicit propagator.
Definition: GsfPropagatorAdapter.cc:8
GsfPropagatorAdapter::thePropagator
DeepCopyPointerByClone< Propagator > thePropagator
Definition: GsfPropagatorAdapter.h:58
GsfPropagatorAdapter::magneticField
const MagneticField * magneticField() const override
Definition: GsfPropagatorAdapter.h:54
AlignmentTrackSelector_cfi.phiMax
phiMax
Definition: AlignmentTrackSelector_cfi.py:17
GsfPropagatorAdapter::clone
GsfPropagatorAdapter * clone() const override
Definition: GsfPropagatorAdapter.h:52
GsfPropagatorAdapter::propagator
const Propagator & propagator() const
access to single state propagator
Definition: GsfPropagatorAdapter.h:50
GsfPropagatorAdapter::~GsfPropagatorAdapter
~GsfPropagatorAdapter() override
Definition: GsfPropagatorAdapter.h:19
Propagator::propagate
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
Definition: Propagator.h:50
GsfPropagatorAdapter::setPropagationDirection
void setPropagationDirection(PropagationDirection dir) override
Definition: GsfPropagatorAdapter.cc:41
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
GsfPropagatorAdapter::setMaxDirectionChange
bool setMaxDirectionChange(float phiMax) override
Definition: GsfPropagatorAdapter.h:45
PropagationDirection
PropagationDirection
Definition: PropagationDirection.h:4
Plane
Definition: Plane.h:16
Propagator::propagateWithPath
virtual std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &, const Surface &) const final
Definition: Propagator.cc:10
Cylinder
Definition: Cylinder.h:19
GsfPropagatorAdapter
Definition: GsfPropagatorAdapter.h:14
MagneticField
Definition: MagneticField.h:19
Propagator::setMaxDirectionChange
virtual bool setMaxDirectionChange(float phiMax)
Definition: Propagator.h:151
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23