10 #define BOOST_TEST_MODULE PdgSelectors Tests
12 #include <boost/test/included/unit_test.hpp>
15 #include <boost/test/data/test_case.hpp>
18 #include <boost/test/output_test_stream.hpp>
23 #include "Particle.hpp"
26 namespace tt = boost::test_tools;
32 double m_muon = 0.51099891 * Acts::units::_MeV;
33 double m_e = 105.658367 * Acts::units::_MeV;
34 double m_pion = 134.9766 * Acts::units::_MeV;
44 Acts::Vector3D
momentum(1500., 0., 0);
47 Particle positron(position, momentum,
m_e, 1., -11);
53 BOOST_CHECK(epSelector(detector, electron));
54 BOOST_CHECK(epSelector(detector, positron));
55 BOOST_CHECK(!epSelector(detector, muon));
56 BOOST_CHECK(!epSelector(detector, antimuon));
60 BOOST_CHECK(!muSelector(detector, electron));
61 BOOST_CHECK(!muSelector(detector, positron));
62 BOOST_CHECK(muSelector(detector, muon));
63 BOOST_CHECK(!muSelector(detector, antimuon));
67 BOOST_CHECK(!epExcluder(detector, electron));
68 BOOST_CHECK(!epExcluder(detector, positron));
69 BOOST_CHECK(epExcluder(detector, muon));
70 BOOST_CHECK(epExcluder(detector, antimuon));
74 BOOST_CHECK(muExcluder(detector, electron));
75 BOOST_CHECK(muExcluder(detector, positron));
76 BOOST_CHECK(!muExcluder(detector, muon));
77 BOOST_CHECK(muExcluder(detector, antimuon));
81 BOOST_CHECK(emuSelection(detector, electron));
82 BOOST_CHECK(emuSelection(detector, muon));
83 BOOST_CHECK(!emuSelection(detector, positron));
84 BOOST_CHECK(!emuSelection(detector, antimuon));