ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
detray::actor::target_aborter Struct Reference

Aborter checks whether a specific surface was reached. More...

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

Inheritance diagram for detray::actor::target_aborter:
[legend]
Collaboration diagram for detray::actor::target_aborter:
[legend]

Classes

struct  state
 Keeps the index for the target surface. More...

Public Member Functions

template<typename propagator_state_t>
void operator() (const state &abrt_state, propagator_state_t &prop_state) const
 Exits the navigation as soon as the target surface has been found.

Detailed Description

Aborter checks whether a specific surface was reached.

Member Function Documentation

◆ operator()()

template<typename propagator_state_t>
void detray::actor::target_aborter::operator() ( const state & abrt_state,
propagator_state_t & prop_state ) const

Exits the navigation as soon as the target surface has been found.

Parameters
abrt_statecontains the target surface index
prop_statestate of the propagation