From 8a94877511aa1572b713fbb759492005c6efd742 Mon Sep 17 00:00:00 2001
From: Felix Riehn <felix@matilda>
Date: Sat, 25 May 2019 17:31:39 +0100
Subject: [PATCH] Revert "adjusted testParticleCut, muons are not invisible
 anymore"

This reverts commit f1eaf4cf013e5f426e0b526a916edce4c0c97931.
---
 Processes/ParticleCut/testParticleCut.cc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Processes/ParticleCut/testParticleCut.cc b/Processes/ParticleCut/testParticleCut.cc
index 072045b0c..c6948f27a 100644
--- a/Processes/ParticleCut/testParticleCut.cc
+++ b/Processes/ParticleCut/testParticleCut.cc
@@ -46,7 +46,7 @@ TEST_CASE("ParticleCut", "[processes]") {
       particles::Code::Electron, particles::Code::MuPlus,  particles::Code::NuE,
       particles::Code::Neutron};
 
-  SECTION("cut invisible and em") {
+  SECTION("cut invisible") {
 
     ParticleCut cut(20_GeV);
 
@@ -73,7 +73,7 @@ TEST_CASE("ParticleCut", "[processes]") {
 
     cut.DoSecondaries(view);
 
-    REQUIRE(view.GetSize() == 7);
+    REQUIRE(view.GetSize() == 6);
   }
 
   SECTION("cut low energy") {
@@ -92,6 +92,7 @@ TEST_CASE("ParticleCut", "[processes]") {
     // only this way the secondary view is populated
     auto projectile = view.GetProjectile();
     // add secondaries, all with energies below the threshold
+    // only cut is by species
     for (auto proType : particleList)
       projectile.AddSecondary(std::tuple<particles::Code, units::si::HEPEnergyType,
                                          corsika::stack::MomentumVector, geometry::Point,
-- 
GitLab