21 theGeometricalPropagator(useRungeKutta ?
26 theMaterialLocation(atDestination), field(mf),useRungeKutta_(useRungeKutta) {
31 pair<TrajectoryStateOnSurface,double>
33 const Plane& plane)
const {
44 pair<TrajectoryStateOnSurface,double>
58 pair<TrajectoryStateOnSurface,double>
60 const Plane& plane)
const {
69 if UNLIKELY( !newTsosWP.first.isValid() )
return newTsosWP;
85 pair<TrajectoryStateOnSurface,double>
96 if UNLIKELY( !newTsosWP.first.isValid() )
return newTsosWP;
121 "PropagatorWithMaterial: propagation direction = anyDirection is incompatible with adding of material at source");
virtual void setPropagationDirection(PropagationDirection dir)
bool materialAtSource() const
Inclusion of material at the source?
std::pair< TrajectoryStateOnSurface, double > TsosWP
~PropagatorWithMaterial() override
virtual bool updateStateInPlace(TrajectoryStateOnSurface &TSoS, const PropagationDirection propDir) const
virtual PropagationDirection propagationDirection() const final
PropagatorWithMaterial(PropagationDirection dir, const float mass, const MagneticField *mf=0, const float maxDPhi=1.6, bool useRungeKutta=false, float ptMin=-1., bool useOldGeoPropLogic=true)
DeepCopyPointerByClone< MaterialEffectsUpdator > theMEUpdator
virtual std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &, const Surface &) const final
DeepCopyPointerByClone< Propagator > theGeometricalPropagator
MaterialLocation theMaterialLocation
std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const TrajectoryStateOnSurface &tsos, const Plane &plane) const override
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
void setPropagationDirection(PropagationDirection dir) override
Propagation direction.