#include <RKTestPropagator.h>
Definition at line 65 of file RKTestPropagator.h.
RKTestPropagator::RKTestPropagator | ( | const MagneticField * | field, |
PropagationDirection | dir = alongMomentum , |
||
double | tolerance = 5.e-5 |
||
) | [inline, explicit] |
Definition at line 70 of file RKTestPropagator.h.
Referenced by clone().
: theTolerance(tolerance), theRealField(field), RKField(field), RKVol(RKTestMagVolume(MagVolume::PositionType(0,0,0), MagVolume::RotationType(),ddshapeless, &RKField ) ), theRKProp(new RKPropagatorInS(RKVol, dir, tolerance)) {}
Propagator* RKTestPropagator::clone | ( | void | ) | const [inline, virtual] |
Implements Propagator.
Definition at line 104 of file RKTestPropagator.h.
References magneticField(), propagationDirection(), RKTestPropagator(), and theTolerance.
{ return new RKTestPropagator(magneticField(),propagationDirection(),theTolerance); }
virtual const MagneticField* RKTestPropagator::magneticField | ( | ) | const [inline, virtual] |
Implements Propagator.
Definition at line 111 of file RKTestPropagator.h.
References theRealField.
Referenced by clone().
{ return theRealField;}
virtual TrajectoryStateOnSurface RKTestPropagator::propagate | ( | const FreeTrajectoryState & | state, |
const Cylinder & | cyl | ||
) | const [inline, virtual] |
Implements Propagator.
Definition at line 82 of file RKTestPropagator.h.
References theRKProp.
{ return theRKProp->propagate(state,cyl);}
virtual TrajectoryStateOnSurface RKTestPropagator::propagate | ( | const FreeTrajectoryState & | state, |
const Plane & | plane | ||
) | const [inline, virtual] |
Implements Propagator.
Definition at line 79 of file RKTestPropagator.h.
References theRKProp.
{return theRKProp->propagate(state,plane);}
TrajectoryStateOnSurface RKTestPropagator::propagate | ( | const TrajectoryStateOnSurface & | ts, |
const Plane & | plane | ||
) | const [inline, virtual] |
Reimplemented from Propagator.
Definition at line 92 of file RKTestPropagator.h.
References theRKProp.
{return theRKProp->propagate(ts,plane);}
virtual std::pair< TrajectoryStateOnSurface, double> RKTestPropagator::propagateWithPath | ( | const FreeTrajectoryState & | state, |
const Cylinder & | cyl | ||
) | const [inline, virtual] |
Implements Propagator.
Definition at line 90 of file RKTestPropagator.h.
References theRKProp.
{return theRKProp->propagateWithPath(state,cyl);}
virtual std::pair< TrajectoryStateOnSurface, double> RKTestPropagator::propagateWithPath | ( | const FreeTrajectoryState & | state, |
const Plane & | plane | ||
) | const [inline, virtual] |
Implements Propagator.
Definition at line 86 of file RKTestPropagator.h.
References theRKProp.
{ return theRKProp->propagateWithPath(state,plane);}
virtual PropagationDirection RKTestPropagator::propagationDirection | ( | void | ) | const [inline, virtual] |
Returns the current value of the propagation direction. If you need to know the actual direction used for a given propagation in case "propagationDirection() == anyDirection", you should use propagateWithPath. A positive sign of path lengt means "alongMomentum", an egeative sign means "oppositeToMomentum".
Reimplemented from Propagator.
Definition at line 99 of file RKTestPropagator.h.
References theRKProp.
Referenced by clone().
{ return theRKProp->propagationDirection(); }
virtual void RKTestPropagator::setPropagationDirection | ( | PropagationDirection | dir | ) | const [inline, virtual] |
The propagation direction can now be set for every propagator. There is no more distinction between unidirectional and bidirectional at class level. The value "anyDiriction" for PropagationDirection provides the functionality of the ex-BidirectionalPropagator. The values "alongMomentum" and "oppositeToMomentum" provide the functionality of the ex-UnidirectionalPropagator.
Reimplemented from Propagator.
Definition at line 95 of file RKTestPropagator.h.
References theRKProp.
RKTestFieldProvider RKTestPropagator::RKField [private] |
Definition at line 117 of file RKTestPropagator.h.
RKTestMagVolume RKTestPropagator::RKVol [private] |
Definition at line 118 of file RKTestPropagator.h.
const MagneticField* RKTestPropagator::theRealField [private] |
Definition at line 116 of file RKTestPropagator.h.
Referenced by magneticField().
Definition at line 119 of file RKTestPropagator.h.
Referenced by propagate(), propagateWithPath(), propagationDirection(), and setPropagationDirection().
float RKTestPropagator::theTolerance [private] |
Definition at line 115 of file RKTestPropagator.h.
Referenced by clone().