Struct Acts::ParticleStopped

struct ParticleStopped

If the particle stopped (p=0) abort the propagation.

Public Functions

ParticleStopped() = default
template<typename propagator_state_t, typename stepper_t, typename navigator_t>
inline bool operator()(propagator_state_t &state, const stepper_t &stepper, const navigator_t &navigator, const Logger&) const

boolean operator for abort condition without using the result

Template Parameters
  • propagator_state_t – Type of the propagator state

  • stepper_t – Type of the stepper

  • navigator_t – Type of the navigator

  • state[inout] The propagation state object

  • stepper[in] The stepper object

  • navigator[in] The navigator object