19 float ptMin,
bool useOldAnalPropLogic) :
21 theGeometricalPropagator(),
23 theMaterialLocation(atDestination), field(mf),useRungeKutta_(useRungeKutta) {
28 useOldAnalPropLogic));
36 Propagator(aPropagator.propagationDirection()),
37 theGeometricalPropagator(aPropagator.
clone()),
38 theMEUpdator(aMEUpdator.
clone()),
39 theMaterialLocation(atDestination), field(mf),useRungeKutta_(useRungeKutta) {}
41 pair<TrajectoryStateOnSurface,double>
43 const Plane& plane)
const {
54 pair<TrajectoryStateOnSurface,double>
68 pair<TrajectoryStateOnSurface,double>
70 const Plane& plane)
const {
79 if ( !newTsosWP.first.isValid() )
return newTsosWP;
95 pair<TrajectoryStateOnSurface,double>
101 TsosWP newTsosWP(tsos,0.);
106 if ( !newTsosWP.first.isValid() )
return newTsosWP;
131 string message(
"PropagatorWithMaterial: propagation direction = anyDirection is ");
132 message +=
"incompatible with adding of material at source";
bool materialAtSource() const
Inclusion of material at the source?
virtual PropagationDirection propagationDirection() const
std::pair< TrajectoryStateOnSurface, double > TsosWP
virtual bool updateStateInPlace(TrajectoryStateOnSurface &TSoS, const PropagationDirection propDir) const
virtual std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &, const Surface &) const
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
DeepCopyPointerByClone< Propagator > theGeometricalPropagator
virtual ~PropagatorWithMaterial()
MaterialLocation theMaterialLocation
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
virtual void setPropagationDirection(PropagationDirection dir) const
Propagation direction.
virtual void setPropagationDirection(PropagationDirection dir) const
virtual std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const TrajectoryStateOnSurface &tsos, const Plane &plane) const
tuple AnalyticalPropagator