From 56aab330ecf99b44e529962e828e72ffec6f5cd3 Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Sun, 9 May 2021 00:52:27 +0200 Subject: [PATCH] std --- corsika/detail/modules/proposal/ContinuousProcess.inl | 6 +++--- corsika/detail/modules/proposal/Interaction.inl | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/corsika/detail/modules/proposal/ContinuousProcess.inl b/corsika/detail/modules/proposal/ContinuousProcess.inl index 165f0dd60..b8403dc14 100644 --- a/corsika/detail/modules/proposal/ContinuousProcess.inl +++ b/corsika/detail/modules/proposal/ContinuousProcess.inl @@ -133,9 +133,9 @@ namespace corsika::proposal { std::max(energy * 0.9, // either 10% relative loss max., or get_kinetic_energy_threshold( code) // energy thresholds globally defined for individual particles - * 0.9999 // need to go slightly below global e-cut to assure removal in - // ParticleCut. This does not matter since at cut-time the - // entire energy is removed. + * 0.9999 // need to go slightly below global e-cut to assure removal + // in ParticleCut. This does not matter since at cut-time + // the entire energy is removed. ); // solving the track integral for giving energy lim diff --git a/corsika/detail/modules/proposal/Interaction.inl b/corsika/detail/modules/proposal/Interaction.inl index 44e7bc5a1..019d31270 100644 --- a/corsika/detail/modules/proposal/Interaction.inl +++ b/corsika/detail/modules/proposal/Interaction.inl @@ -98,8 +98,7 @@ namespace corsika::proposal { auto vec = QuantityVector(vecProposal.GetX() * E, vecProposal.GetY() * E, vecProposal.GetZ() * E); auto p = MomentumVector(labCS, vec); - auto sec_code = - convert_from_PDG(static_cast<PDGCode>(s.type)); + auto sec_code = convert_from_PDG(static_cast<PDGCode>(s.type)); view.addSecondary( std::make_tuple(sec_code, p, projectile.getPosition(), projectile.getTime())); } -- GitLab