IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 059927b2 authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan: Committed by Maximilian Reininghaus
Browse files

more explicit types

parent 735f386f
No related branches found
No related tags found
1 merge request!116Some improvements here and there
......@@ -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;
......
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