TrackPropagation
RungeKutta
interface
RKPropagatorInR.h
Go to the documentation of this file.
1
#ifndef RKPropagatorInR_H
2
#define RKPropagatorInR_H
3
4
#include "
TrackingTools/GeomPropagators/interface/Propagator.h
"
5
#include "
MagneticField/VolumeGeometry/interface/MagVolume.h
"
6
7
class
RKPropagatorInR
final :
public
Propagator
{
8
public
:
9
RKPropagatorInR
(
const
MagVolume
& vol,
PropagationDirection
dir
=
alongMomentum
) :
Propagator
(
dir
),
theVolume
(&vol) {}
10
11
TrajectoryStateOnSurface
myPropagate
(
const
FreeTrajectoryState
&,
const
Plane
&)
const
;
12
13
TrajectoryStateOnSurface
myPropagate
(
const
FreeTrajectoryState
&,
const
Cylinder
&)
const
;
14
15
std::pair<TrajectoryStateOnSurface, double>
propagateWithPath
(
const
FreeTrajectoryState
&,
16
const
Plane
&)
const override
;
17
18
std::pair<TrajectoryStateOnSurface, double>
propagateWithPath
(
const
FreeTrajectoryState
&,
19
const
Cylinder
&)
const override
;
20
21
Propagator
*
clone
()
const override
;
22
23
const
MagneticField
*
magneticField
()
const override
{
return
theVolume
; }
24
25
private
:
26
const
MagVolume
*
theVolume
;
27
};
28
29
#endif
MagVolume.h
Propagator.h
Propagator
Definition:
Propagator.h:44
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
RKPropagatorInR::theVolume
const MagVolume * theVolume
Definition:
RKPropagatorInR.h:26
RKPropagatorInR::myPropagate
TrajectoryStateOnSurface myPropagate(const FreeTrajectoryState &, const Plane &) const
Definition:
RKPropagatorInR.cc:52
RKPropagatorInR::magneticField
const MagneticField * magneticField() const override
Definition:
RKPropagatorInR.h:23
RKPropagatorInR::clone
Propagator * clone() const override
Definition:
RKPropagatorInR.cc:66
MagVolume
Definition:
MagVolume.h:13
FreeTrajectoryState
Definition:
FreeTrajectoryState.h:27
RKPropagatorInR::propagateWithPath
std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &, const Plane &) const override
Definition:
RKPropagatorInR.cc:56
PropagationDirection
PropagationDirection
Definition:
PropagationDirection.h:4
Plane
Definition:
Plane.h:16
Cylinder
Definition:
Cylinder.h:19
MagneticField
Definition:
MagneticField.h:19
RKPropagatorInR::RKPropagatorInR
RKPropagatorInR(const MagVolume &vol, PropagationDirection dir=alongMomentum)
Definition:
RKPropagatorInR.h:9
RKPropagatorInR
Definition:
RKPropagatorInR.h:7
alongMomentum
Definition:
PropagationDirection.h:4
DeadROC_duringRun.dir
dir
Definition:
DeadROC_duringRun.py:23
Generated for CMSSW Reference Manual by
1.8.16