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

Actor that records sensitive or material-bearing surfaces along a propagation. More...

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

Inheritance diagram for detray::actor::surface_sequencer< sf_descriptor_t >:
[legend]
Collaboration diagram for detray::actor::surface_sequencer< sf_descriptor_t >:
[legend]

Classes

struct  state
 Buffer and collection options maintained for one propagation. More...

Public Member Functions

template<typename propagator_state_t>
requires std::same_as< sf_descriptor_t, typename propagator_state_t::detector_type::surface_type>
void operator() (state &actor_state, propagator_state_t &propagation) const
 Record detector surfaces in sequence if they are sensitive or have material.

Detailed Description

template<typename sf_descriptor_t>
struct detray::actor::surface_sequencer< sf_descriptor_t >

Actor that records sensitive or material-bearing surfaces along a propagation.

Member Function Documentation

◆ operator()()

template<typename sf_descriptor_t>
template<typename propagator_state_t>
requires std::same_as< sf_descriptor_t, typename propagator_state_t::detector_type::surface_type>
void detray::actor::surface_sequencer< sf_descriptor_t >::operator() ( state & actor_state,
propagator_state_t & propagation ) const

Record detector surfaces in sequence if they are sensitive or have material.

Template Parameters
propagator_state_tpropagation state providing navigation data
Parameters
actor_statesequence buffer and collection options
propagationcurrent navigation and stepping state