ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::InteractionVolumeCollector Struct Reference

An Interaction volume collector with unique counting. More...

#include <Acts/Material/PropagatorMaterialAssigner.hpp>

Classes

struct  this_result
 Simple result struct that holds the collected volumes. More...

Public Types

using result_type = this_result
 Type alias for volume collection result.

Public Member Functions

template<typename propagator_state_t, typename stepper_t, typename navigator_t>
Result< void > act (propagator_state_t &state, const stepper_t &stepper, const navigator_t &navigator, result_type &result, const Logger &) const
 Collector action for the ActionList of the Propagator It checks if the propagator state has a current volume, in which case the action is performed:

Detailed Description

An Interaction volume collector with unique counting.

Member Typedef Documentation

◆ result_type

Type alias for volume collection result.

Member Function Documentation

◆ act()

template<typename propagator_state_t, typename stepper_t, typename navigator_t>
Result< void > Acts::InteractionVolumeCollector::act ( propagator_state_t & state,
const stepper_t & stepper,
const navigator_t & navigator,
result_type & result,
const Logger &  ) const

Collector action for the ActionList of the Propagator It checks if the propagator state has a current volume, in which case the action is performed:

  • it records the volume given the configuration
Template Parameters
propagator_state_tis the type of Propagator state
stepper_tType of the stepper used for the propagation
navigator_tType of the navigator used for the propagation
Parameters
[in,out]stateis the mutable stepper state object
[in]stepperThe stepper in use
[in]navigatorThe navigator in use
[in,out]resultis the mutable result object