IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 0836933f authored by Felix Riehn's avatar Felix Riehn Committed by ralfulrich
Browse files

adjusted testParticleCut, muons are not invisible anymore

parent 9cad9af9
No related merge requests found
......@@ -46,7 +46,7 @@ TEST_CASE("ParticleCut", "[processes]") {
particles::Code::Electron, particles::Code::MuPlus, particles::Code::NuE,
particles::Code::Neutron};
SECTION("cut invisible") {
SECTION("cut invisible and em") {
ParticleCut cut(20_GeV);
......@@ -73,7 +73,7 @@ TEST_CASE("ParticleCut", "[processes]") {
cut.DoSecondaries(view);
REQUIRE(view.GetSize() == 6);
REQUIRE(view.GetSize() == 7);
}
SECTION("cut low energy") {
......@@ -92,7 +92,6 @@ 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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment