ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::PathLimitReached Struct Reference

This is the condition that the pathLimit has been reached. More...

#include <Acts/Propagator/StandardAborters.hpp>

Public Member Functions

template<typename propagator_state_t, typename stepper_t, typename navigator_t>
bool checkAbort (propagator_state_t &state, const stepper_t &stepper, const navigator_t &navigator, const Logger &logger) const
 boolean operator for abort condition without using the result

Public Attributes

double internalLimit = std::numeric_limits<double>::max()
 Internal path limit for loop protection.

Detailed Description

This is the condition that the pathLimit has been reached.

Member Function Documentation

◆ checkAbort()

template<typename propagator_state_t, typename stepper_t, typename navigator_t>
bool Acts::PathLimitReached::checkAbort ( propagator_state_t & state,
const stepper_t & stepper,
const navigator_t & navigator,
const Logger & logger ) const

boolean operator for abort condition without using the result

Template Parameters
propagator_state_tType of the propagator state
stepper_tType of the stepper
navigator_tType of the navigator
Parameters
[in,out]stateThe propagation state object
[in]stepperStepper used for propagation
[in]navigatorNavigator used for propagation
loggera logger instance
Returns
True if path limit exceeded and propagation should abort

Member Data Documentation

◆ internalLimit

double Acts::PathLimitReached::internalLimit = std::numeric_limits<double>::max()

Internal path limit for loop protection.