ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
detray::actor::momentum_aborter< scalar_t > Struct Template Reference

Aborter that checks whether the track fell below a minimum momentum. More...

#include <detray/propagator/actors/aborters.hpp>

Inheritance diagram for detray::actor::momentum_aborter< scalar_t >:
[legend]
Collaboration diagram for detray::actor::momentum_aborter< scalar_t >:
[legend]

Classes

struct  state
 Per-propagation minimum momentum thresholds. More...

Public Member Functions

template<typename propagator_state_t>
void operator() (state &abrt_state, propagator_state_t &prop_state) const
 Actor interface: Enforces a minimum momentum magnitude.

Detailed Description

template<concepts::scalar scalar_t>
struct detray::actor::momentum_aborter< scalar_t >

Aborter that checks whether the track fell below a minimum momentum.

Member Function Documentation

◆ operator()()

template<concepts::scalar scalar_t>
template<typename propagator_state_t>
void detray::actor::momentum_aborter< scalar_t >::operator() ( state & abrt_state,
propagator_state_t & prop_state ) const

Actor interface: Enforces a minimum momentum magnitude.

Parameters
abrt_statecontains the momentum limit
prop_statestate of the propagation