IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 7536dd9d authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan:
Browse files

more explicit types

parent 906526ce
No related branches found
No related tags found
1 merge request!100Resolve "Low energy hadronic interactions: UrQMD interface"
...@@ -29,8 +29,8 @@ using std::tuple; ...@@ -29,8 +29,8 @@ using std::tuple;
using namespace corsika; using namespace corsika;
using namespace corsika::setup; using namespace corsika::setup;
using Particle = Stack::StackIterator; // ParticleType; using SetupParticle = setup::Stack::StackIterator;
using Projectile = StackView::StackIterator; // ParticleType; using SetupProjectile = setup::StackView::StackIterator;
using Track = Trajectory; using Track = Trajectory;
namespace corsika::process::sibyll { namespace corsika::process::sibyll {
...@@ -118,7 +118,7 @@ namespace corsika::process::sibyll { ...@@ -118,7 +118,7 @@ namespace corsika::process::sibyll {
} }
template <> 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;
using namespace units::si; using namespace units::si;
...@@ -163,7 +163,7 @@ namespace corsika::process::sibyll { ...@@ -163,7 +163,7 @@ namespace corsika::process::sibyll {
and the boosts can be defined.. and the boosts can be defined..
*/ */
auto const* currentNode = p.GetNode(); auto const* currentNode = vP.GetNode();
const auto& mediumComposition = const auto& mediumComposition =
currentNode->GetModelProperties().GetNuclearComposition(); currentNode->GetModelProperties().GetNuclearComposition();
...@@ -195,7 +195,7 @@ namespace corsika::process::sibyll { ...@@ -195,7 +195,7 @@ namespace corsika::process::sibyll {
*/ */
template <> template <>
process::EProcessReturn Interaction::DoInteraction(Projectile& vP) { process::EProcessReturn Interaction::DoInteraction(SetupProjectile& vP) {
using namespace units; using namespace units;
using namespace utl; using namespace utl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment