From c0dbcf57d5ba78d4a1734ae820638f2ab64a5473 Mon Sep 17 00:00:00 2001 From: Felix Riehn <felix@matilda> Date: Fri, 22 Jan 2021 13:32:34 +0000 Subject: [PATCH] testPythia8 --- tests/modules/testPythia8.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/modules/testPythia8.cpp b/tests/modules/testPythia8.cpp index 2ad4b1edb..8e178affc 100644 --- a/tests/modules/testPythia8.cpp +++ b/tests/modules/testPythia8.cpp @@ -27,8 +27,6 @@ TEST_CASE("Pythia", "[processes]") { SECTION("linking pythia") { using namespace Pythia8; - using std::cout; - using std::endl; // Generator. Process selection. LHC initialization. Histogram. Pythia pythia; @@ -50,15 +48,15 @@ TEST_CASE("Pythia", "[processes]") { event.append(321, 1, 0, 0, 0., 0., 100., sqrt(pz * pz + m * m), m); if (!pythia.next()) - cout << "decay failed!" << endl; + CORSIKA_LOG_CRITICAL("decay failed!"); else - cout << "particles after decay: " << event.size() << endl; + CORSIKA_LOG_DEBUG("particles after decay: {}", event.size()); event.list(); // loop over final state for (int i = 0; i < pythia.event.size(); ++i) if (pythia.event[i].isFinal()) { - cout << "particle: id=" << pythia.event[i].id() << endl; + CORSIKA_LOG_DEBUG("particle: id= {}", pythia.event[i].id()); } } -- GitLab