ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
detray::perigee_stopper< algebra_t > Struct Template Reference

Actor that exits from a navigation stream, if it has reached the perigee. More...

#include <detray/test/utils/perigee_stopper.hpp>

Inheritance diagram for detray::perigee_stopper< algebra_t >:
[legend]
Collaboration diagram for detray::perigee_stopper< algebra_t >:
[legend]

Classes

struct  state
 Per-actor configuration for checking the perigee. More...

Public Types

using scalar_t = dscalar<algebra_t>
 Scalar type used by the algebra.

Public Member Functions

template<typename propagator_state_t>
void operator() (state &actor_state, propagator_state_t &prop_state) const
 Intersects a linear track approximation with the perigee and exits the navigation, if the perigee is reached.

Detailed Description

template<concepts::algebra algebra_t>
struct detray::perigee_stopper< algebra_t >

Actor that exits from a navigation stream, if it has reached the perigee.

Note
Currently only works with step constraints (will be changed in the future)

Member Function Documentation

◆ operator()()

template<concepts::algebra algebra_t>
template<typename propagator_state_t>
void detray::perigee_stopper< algebra_t >::operator() ( state & actor_state,
propagator_state_t & prop_state ) const

Intersects a linear track approximation with the perigee and exits the navigation, if the perigee is reached.

Parameters
prop_statestate of the propagation
actor_statePerigee stopper state.