From 36ade5d125e7cc19b9df78d8df9835cba29829fb Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Wed, 27 Oct 2021 11:18:26 +0200 Subject: [PATCH] fixed includes --- corsika/detail/modules/qgsjetII/InteractionModel.inl | 4 +++- corsika/modules/sibyll/InteractionModel.hpp | 1 - tests/modules/testSibyll.cpp | 6 +----- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/corsika/detail/modules/qgsjetII/InteractionModel.inl b/corsika/detail/modules/qgsjetII/InteractionModel.inl index 3d5209d8e..0b9bb370a 100644 --- a/corsika/detail/modules/qgsjetII/InteractionModel.inl +++ b/corsika/detail/modules/qgsjetII/InteractionModel.inl @@ -8,11 +8,13 @@ #include <corsika/modules/qgsjetII/InteractionModel.hpp> -#include <corsika/framework/geometry/QuantityVector.hpp> #include <corsika/framework/geometry/FourVector.hpp> +#include <corsika/framework/geometry/Point.hpp> + #include <corsika/modules/qgsjetII/ParticleConversion.hpp> #include <corsika/modules/qgsjetII/QGSJetIIFragmentsStack.hpp> #include <corsika/modules/qgsjetII/QGSJetIIStack.hpp> + #include <corsika/framework/utility/COMBoost.hpp> #include <sstream> diff --git a/corsika/modules/sibyll/InteractionModel.hpp b/corsika/modules/sibyll/InteractionModel.hpp index 91b4c98a9..16b713696 100644 --- a/corsika/modules/sibyll/InteractionModel.hpp +++ b/corsika/modules/sibyll/InteractionModel.hpp @@ -11,7 +11,6 @@ #include <corsika/framework/core/ParticleProperties.hpp> #include <corsika/framework/core/PhysicalUnits.hpp> #include <corsika/framework/random/RNGManager.hpp> -#include <corsika/framework/utility/COMBoost.hpp> #include <tuple> namespace corsika::sibyll { diff --git a/tests/modules/testSibyll.cpp b/tests/modules/testSibyll.cpp index 9bad95c2f..957ddac0f 100644 --- a/tests/modules/testSibyll.cpp +++ b/tests/modules/testSibyll.cpp @@ -269,11 +269,7 @@ TEST_CASE("SibyllInterface", "modules") { MomentumVector(cs, {0_eV, 0_eV, 0_eV})); model.doInteraction(view, pid, Code::Oxygen, P4, targetP4); CrossSectionType const cx = model.getCrossSection(pid, Code::Oxygen, P4, targetP4); - // Felix, are those changes OK? Below are the checks before refactory-2020 - // CHECK(length / 1_g * 1_cm * 1_cm == Approx(44.2).margin(.1)); - // CHECK(view.getSize() == 11); - CHECK(cx / 1_mb == Approx(1100).margin(100)); // this is not physics validation - // CHECK(view.getSize() == 20); // also sibyll not stable wrt. to compiler changes + CHECK(cx / 1_mb == Approx(1100).margin(100)); // this is not physics validation CHECK(view.getSize() == Approx(40).margin(30)); // this is not physics validation } } -- GitLab