91 template <
typename propagator_state_t,
typename stepper_t>
102 if (state.navigation.targetReached) {
133 using namespace UnitLiterals;
134 std::stringstream dstream;
136 dstream <<
" pdg=" << d.
pdg;
137 dstream <<
" mass=" << d.
mass / 1
_MeV <<
"MeV";
139 dstream <<
" energyloss=" << d.
Eloss / 1
_MeV <<
"MeV";
140 return dstream.str();
147 stepper.covarianceTransport(state.stepping);
153 }
else if (recordInteractions && volume and volume->
volumeMaterial()) {
167 template <
typename propagator_state_t>
222 template <
typename propagator_state_t,
typename stepper_t>
226 Vector3D shift = stepper.position(state.stepping) -
228 double momentum = stepper.direction(state.stepping).norm();
251 template <
typename propagator_state_t>
254 if (state.options.debug) {
255 std::stringstream dstream;
256 dstream <<
" " << std::setw(state.options.debugPfxWidth);
257 dstream <<
"material interaction"
259 dstream << std::setw(state.options.debugMsgWidth) << logAction() <<
'\n';
260 state.options.debugString += dstream.str();