Go to the documentation of this file. 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
const MagneticField * theField
void initTkVolume(float epsilon)
build the tracker volume
SmartPropagator * clone() const override
Virtual constructor (using copy c'tor)
~SmartPropagator() override
void setPropagationDirection(PropagationDirection dir) override
setting the direction fo both components
const Propagator * getGenPropagator() const
return the propagator used outside tracker
const Propagator * getTkPropagator() const
return the propagator used inside tracker
virtual void setPropagationDirection(PropagationDirection dir)
std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &fts, const Plane &plane) const override
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.
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
ReferenceCountingPointer< Cylinder > theTkVolume
bool insideTkVol(const FreeTrajectoryState &fts) const
true if a fts is inside tracker volume
virtual std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &, const Surface &) const final
const MagneticField * magneticField() const override
return the magneticField