Class Acts::Experimental::NextNavigator¶
-
class NextNavigator¶
Public Functions
-
inline explicit NextNavigator(Config cfg, std::shared_ptr<const Logger> _logger = getDefaultLogger("NextNavigator", Logging::Level::INFO))¶
Constructor with configuration object.
- Parameters
cfg – The navigator configuration
_logger – a logger instance
-
inline const TrackingVolume *currentVolume(const State&) const¶
-
inline const IVolumeMaterial *currentVolumeMaterial(const State &state) const¶
-
inline void insertExternalSurface(State&, GeometryIdentifier) const¶
-
inline void resetState(State &state, const GeometryContext&, const Vector3&, const Vector3&, NavigationDirection, const Surface*, const Surface*) const¶
-
template<typename propagator_state_t, typename stepper_t>
inline void status(propagator_state_t &state, const stepper_t &stepper) const¶ Navigator status call.
- Template Parameters
propagator_state_t – is the type of Propagatgor state
stepper_t – is the used type of the Stepper by the Propagator
- Parameters
state – [inout] is the mutable propagator state object
stepper – [in] Stepper in use
-
template<typename propagator_state_t, typename stepper_t>
inline void target(propagator_state_t &state, const stepper_t &stepper) const¶ Navigator target call.
This will invalide the current surface and current portal in order to navigate to the next ones.
- Template Parameters
propagator_state_t – is the type of Propagatgor state
stepper_t – is the used type of the Stepper by the Propagator
- Parameters
state – [inout] is the mutable propagator state object
stepper – [in] Stepper in use
-
struct Config¶
Public Members
-
bool resolveMaterial = true¶
stop at every material surface (whether it is passive or not)
-
bool resolvePassive = false¶
stop at every surface regardless what it is
-
bool resolveSensitive = true¶
Configuration for this Navigator stop at every sensitive surface (whether it has material or not)
-
double tolerance = s_onSurfaceTolerance¶
The tolerance used to defined “reached”.
-
bool resolveMaterial = true¶
-
struct State : public Acts::Experimental::NavigationState¶
Nested State struct.
It acts as an internal state which is created for every propagation/extrapolation step and keep thread-local navigation information
-
inline explicit NextNavigator(Config cfg, std::shared_ptr<const Logger> _logger = getDefaultLogger("NextNavigator", Logging::Level::INFO))¶