An Interaction volume collector with unique counting.
More...
#include <Acts/Material/PropagatorMaterialAssigner.hpp>
|
|
using | result_type = this_result |
| | Type alias for volume collection result.
|
|
| 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:
|
An Interaction volume collector with unique counting.
◆ 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_t | is the type of Propagator state |
| stepper_t | Type of the stepper used for the propagation |
| navigator_t | Type of the navigator used for the propagation |
- Parameters
-
| [in,out] | state | is the mutable stepper state object |
| [in] | stepper | The stepper in use |
| [in] | navigator | The navigator in use |
| [in,out] | result | is the mutable result object |
- Returns
- Result object indicating success or failure