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
const MagneticField * magneticField() const override
return the magneticField
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
virtual std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &, const Surface &) const final
const MagneticField * theField
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
std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &fts, const Plane &plane) const override
SmartPropagator * clone() const override
Virtual constructor (using copy c'tor)
const Propagator * getGenPropagator() const
return the propagator used outside tracker