1 #ifndef GeomPropagators_SmartPropagator_H
2 #define GeomPropagators_SmartPropagator_H
74 const Plane& plane)
const override;
77 const Cylinder& cylinder)
const override;
80 const Plane& sur)
const override;
114 #endif // SMARTPROPAGATOR_H
virtual void setPropagationDirection(PropagationDirection dir)
void initTkVolume(float epsilon)
build the tracker volume
const Propagator * getTkPropagator() const
return the propagator used inside tracker
SmartPropagator * clone() const override
Virtual constructor (using copy c'tor)
bool insideTkVol(const FreeTrajectoryState &fts) const
true if a fts is inside tracker volume
void setPropagationDirection(PropagationDirection dir) override
setting the direction fo both components
std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &fts, const Plane &plane) const override
const MagneticField * magneticField() const override
return the magneticField
const MagneticField * theField
virtual std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &, const Surface &) const final
SmartPropagator(const Propagator *aTkProp, const Propagator *aGenProp, const MagneticField *field, PropagationDirection dir=alongMomentum, float epsilon=5)
Defines which propagator is used inside Tk and which outside.
ReferenceCountingPointer< Cylinder > theTkVolume
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
~SmartPropagator() override
const Propagator * getGenPropagator() const
return the propagator used outside tracker