From 7536dd9df7b19067e7f80edca70c934a3967edae Mon Sep 17 00:00:00 2001 From: Maximilian Reininghaus <maximilian.reininghaus@kit.edu> Date: Tue, 16 Apr 2019 18:07:09 -0300 Subject: [PATCH] more explicit types --- Processes/Sibyll/Interaction.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Processes/Sibyll/Interaction.cc b/Processes/Sibyll/Interaction.cc index 1fa35e59e..949086012 100644 --- a/Processes/Sibyll/Interaction.cc +++ b/Processes/Sibyll/Interaction.cc @@ -29,8 +29,8 @@ using std::tuple; using namespace corsika; using namespace corsika::setup; -using Particle = Stack::StackIterator; // ParticleType; -using Projectile = StackView::StackIterator; // ParticleType; +using SetupParticle = setup::Stack::StackIterator; +using SetupProjectile = setup::StackView::StackIterator; using Track = Trajectory; namespace corsika::process::sibyll { @@ -118,7 +118,7 @@ namespace corsika::process::sibyll { } template <> - units::si::GrammageType Interaction::GetInteractionLength(Particle& vP, Track&) const { + units::si::GrammageType Interaction::GetInteractionLength(SetupParticle& vP, Track&) const { using namespace units; using namespace units::si; @@ -163,7 +163,7 @@ namespace corsika::process::sibyll { and the boosts can be defined.. */ - auto const* currentNode = p.GetNode(); + auto const* currentNode = vP.GetNode(); const auto& mediumComposition = currentNode->GetModelProperties().GetNuclearComposition(); @@ -195,7 +195,7 @@ namespace corsika::process::sibyll { */ template <> - process::EProcessReturn Interaction::DoInteraction(Projectile& vP) { + process::EProcessReturn Interaction::DoInteraction(SetupProjectile& vP) { using namespace units; using namespace utl; -- GitLab