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>
inline bool operator()(propagator_state_t &state, const stepper_t &stepper) 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

Parameters
  • state[inout] The propagation state object

  • stepper[in] The stepper object