|
ACTS
Experiment-independent tracking
|
The interface to the actors and aborters in the propagation. More...
#include <detray/propagator/actor_chain.hpp>
Public Types | |
| using | actor_tuple = dtuple<actors_t...> |
| Types of the actors that are registered in the chain. | |
| using | state_ref_tuple |
| Tuple of state references that is used in the propagator. | |
| using | state_tuple |
| Tuple of actor states (including states of observing actors, if present). | |
Public Member Functions | |
| constexpr const actor_tuple & | actors () const |
| template<typename actor_states_t, typename propagator_state_t> | |
| void | operator() (actor_states_t &states, propagator_state_t &p_state) const |
| Call all actors in the chain. | |
Static Public Member Functions | |
| static constexpr auto | make_default_actor_states () |
| static constexpr state_ref_tuple | setup_actor_states (state_tuple &t) |
| Create references to each actor state in the tuple. | |
The interface to the actors and aborters in the propagation.
It can hold both simple actors, as well as an actor with its observers. The states of the actors need to be passed to the chain in an external tuple
| actors_t | the types of the actors in the chain. |
| using detray::actor_chain< actors_t >::state_ref_tuple |
Tuple of state references that is used in the propagator.
| using detray::actor_chain< actors_t >::state_tuple |
Tuple of actor states (including states of observing actors, if present).
|
constexpr |
|
staticconstexpr |
| void detray::actor_chain< actors_t >::operator() | ( | actor_states_t & | states, |
| propagator_state_t & | p_state ) const |
Call all actors in the chain.
| states | the states of the actors. |
| p_state | the propagation state. |
|
staticconstexpr |
Create references to each actor state in the tuple.
| t | Tuple of actor states. |
t