28 bool sPassive =
false)
63 template <
typename Selector = VolumeSelector>
88 template <
typename propagator_state_t,
typename stepper_t>
92 if (state.navigation.currentVolume &&
93 selector(*state.navigation.currentVolume)) {
96 volume_hit.
volume = state.navigation.currentVolume;
97 volume_hit.
position = stepper.position(state.stepping);
98 volume_hit.
direction = stepper.direction(state.stepping);
103 std::stringstream dstream;
104 dstream <<
"Collect volume "
105 << state.navigation.currentVolume->geoID();
106 return dstream.str();
113 template <
typename propagator_state_t,
typename stepper_t>
115 const stepper_t& )
const {}
129 template <
typename propagator_state_t>
132 if (state.options.debug) {
133 std::stringstream dstream;
134 dstream <<
" " << std::setw(state.options.debugPfxWidth);
135 dstream <<
"volume collector"
137 dstream << std::setw(state.options.debugMsgWidth) << logAction() <<
'\n';
138 state.options.debugString += dstream.str();