TrackPropagation
RungeKutta
interface
RKPropagatorInZ.h
Go to the documentation of this file.
1
#ifndef RKPropagatorInZ_H
2
#define RKPropagatorInZ_H
3
4
#include "
TrackingTools/GeomPropagators/interface/Propagator.h
"
5
#include "
MagneticField/VolumeGeometry/interface/MagVolume.h
"
6
7
class
RKPropagatorInZ
final :
public
Propagator
{
8
public
:
9
RKPropagatorInZ
(
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
RKPropagatorInZ::RKPropagatorInZ
RKPropagatorInZ(const MagVolume &vol, PropagationDirection dir=alongMomentum)
Definition:
RKPropagatorInZ.h:9
Propagator
Definition:
Propagator.h:44
RKPropagatorInZ::propagateWithPath
std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &, const Plane &) const override
Definition:
RKPropagatorInZ.cc:63
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
RKPropagatorInZ::theVolume
const MagVolume * theVolume
Definition:
RKPropagatorInZ.h:26
MagVolume
Definition:
MagVolume.h:13
RKPropagatorInZ::myPropagate
TrajectoryStateOnSurface myPropagate(const FreeTrajectoryState &, const Plane &) const
Definition:
RKPropagatorInZ.cc:12
RKPropagatorInZ::clone
Propagator * clone() const override
Definition:
RKPropagatorInZ.cc:73
RKPropagatorInZ
Definition:
RKPropagatorInZ.h:7
RKPropagatorInZ::magneticField
const MagneticField * magneticField() const override
Definition:
RKPropagatorInZ.h:23
FreeTrajectoryState
Definition:
FreeTrajectoryState.h:27
PropagationDirection
PropagationDirection
Definition:
PropagationDirection.h:4
Plane
Definition:
Plane.h:16
Cylinder
Definition:
Cylinder.h:19
MagneticField
Definition:
MagneticField.h:19
alongMomentum
Definition:
PropagationDirection.h:4
DeadROC_duringRun.dir
dir
Definition:
DeadROC_duringRun.py:23
Generated for CMSSW Reference Manual by
1.8.16