From 27e9b4ac2c673fb25d34624fb56e5c0cac8aad7f Mon Sep 17 00:00:00 2001 From: AAAlvesJr <aalvesju@gmail.com> Date: Sat, 5 Dec 2020 00:24:07 +0100 Subject: [PATCH] [refactory-2020] stack implementations: more cleaning up --- corsika/stack/SuperStupidStack.hpp | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/corsika/stack/SuperStupidStack.hpp b/corsika/stack/SuperStupidStack.hpp index abf79de5d..605415fb1 100644 --- a/corsika/stack/SuperStupidStack.hpp +++ b/corsika/stack/SuperStupidStack.hpp @@ -43,23 +43,11 @@ namespace corsika::simple_stack { } void setParticleData(std::tuple<corsika::Code, HEPEnergyType, MomentumVector, - corsika::Point, TimeType> const& v);/* { - this->setPID(std::get<0>(v)); - this->setEnergy(std::get<1>(v)); - this->setMomentum(std::get<2>(v)); - this->setPosition(std::get<3>(v)); - this->setTime(std::get<4>(v)); - }*/ + corsika::Point, TimeType> const& v); void setParticleData(ParticleInterface<StackIteratorInterface> const&, std::tuple<corsika::Code, HEPEnergyType, MomentumVector, - corsika::Point, TimeType> const& v);/* { - this->setPID(std::get<0>(v)); - this->setEnergy(std::get<1>(v)); - this->setMomentum(std::get<2>(v)); - this->setPosition(std::get<3>(v)); - this->setTime(std::get<4>(v)); - }*/ + corsika::Point, TimeType> const& v); /// individual setters void setPID(corsika::Code const id) { -- GitLab