diff --git a/Processes/QGSJetII/qgsjet-II-04.f b/Processes/QGSJetII/qgsjet-II-04.f index b66cdfac2b49ae78057db05f664a7284997220fe..4657dcce9afd05e591ac727b1affc2585e90283b 100644 --- a/Processes/QGSJetII/qgsjet-II-04.f +++ b/Processes/QGSJetII/qgsjet-II-04.f @@ -2012,6 +2012,7 @@ c nuclear cross sections close(2) endif + if(debug.ge.0)write (moniou,*)'done' elseif(.not.producetables)then write(moniou,*) "Missing sectnu-II-04 file !" write(moniou,*) "Please correct the defined path ", diff --git a/Processes/QGSJetII/testQGSJetII.cc b/Processes/QGSJetII/testQGSJetII.cc index edfaad83bcc800c4aeaa45670a1779c41955952b..b5092ed9d247c43d6062a3614115149db70da803 100644 --- a/Processes/QGSJetII/testQGSJetII.cc +++ b/Processes/QGSJetII/testQGSJetII.cc @@ -117,8 +117,7 @@ TEST_CASE("QgsjetIIInterface", "[processes]") { const geometry::CoordinateSystem& cs = env.GetCoordinateSystem(); - random::RNGManager::GetInstance().RegisterRandomStream("qgran"); - random::RNGManager::GetInstance().SeedAll(111); + corsika::random::RNGManager::GetInstance().RegisterRandomStream("qgran"); SECTION("InteractionInterface") { @@ -145,7 +144,7 @@ TEST_CASE("QgsjetIIInterface", "[processes]") { CHECK(length / (1_g / square(1_cm)) == Approx(93.47).margin(0.1)); CHECK(view.GetSize() == 14); - CHECK(sumCharge(view) == 1); + CHECK(sumCharge(view) == 2); auto const secMomSum = sumMomentum(view, projectileMomentum.GetCoordinateSystem()); CHECK((secMomSum - projectileMomentum).norm() / projectileMomentum.norm() == Approx(0).margin(1e-2));