template<typename Selector = VolumeSelector>
struct Acts::VolumeCollector< Selector >
A Volume Collector struct templated with a Selector type.
Whenever a volume is passed in the propagation that satisfies the selector, it is recorded for further usage in the flow.
template<typename Selector = VolumeSelector>
template<typename propagator_state_t, typename stepper_t, typename navigator_t>
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 |
| logger | the logger object |
- Returns
- Result of the action