From c935ba7b0110ac2903db5064a58b8bb9af498225 Mon Sep 17 00:00:00 2001 From: Maximilian Reininghaus <maximilian.reininghaus@tu-dortmund.de> Date: Fri, 2 Oct 2020 15:34:48 +0200 Subject: [PATCH] SecondaryParticle as struct --- Stack/History/SecondaryParticle.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Stack/History/SecondaryParticle.hpp b/Stack/History/SecondaryParticle.hpp index b6db7e8fd..249ea95bf 100644 --- a/Stack/History/SecondaryParticle.hpp +++ b/Stack/History/SecondaryParticle.hpp @@ -20,14 +20,11 @@ namespace corsika::history { * This class stores the non-common properties of secondaries in an event. All * other (common) properties are available via the event itself or its projectile. */ - class SecondaryParticle { + struct SecondaryParticle { units::si::HEPEnergyType const energy_; geometry::Vector<units::si::hepmomentum_d> const momentum_; particles::Code const pid_; - // what else...? - // - polarization? - public: SecondaryParticle(units::si::HEPEnergyType energy, geometry::Vector<units::si::hepmomentum_d> momentum, -- GitLab