9 #include <boost/test/data/test_case.hpp>
10 #include <boost/test/unit_test.hpp>
18 using namespace Acts::UnitLiterals;
29 static const double mass[] = {511_keV, 105.7_MeV, 139.6_MeV, 938.3_MeV};
30 static const double charge[] = {-1_e, -1_e, 1_e, 1_e};
39 BOOST_AUTO_TEST_SUITE(interactions)
45 const auto qOverP = q /
p;
50 auto dELandauSigmaQOverP =
56 BOOST_CHECK_LT(0, dEBethe);
57 BOOST_CHECK_LT(0, dELandau);
58 BOOST_CHECK_LT(0, dELandauSigma);
59 BOOST_CHECK_LT(0, dELandauSigmaQOverP);
60 BOOST_CHECK_LE(dELandauSigma, dEBethe);
62 BOOST_CHECK_LE(0, dERad);
63 BOOST_CHECK_LT(0, dEMean);
64 BOOST_CHECK_LT(0, dEMode);
65 BOOST_CHECK_LE((dEBethe + dERad), dEMean);
75 const auto qOverP = q /
p;
76 const auto qOver2P = q / (2 *
p);
79 BOOST_CHECK_LT(0, t0);
82 BOOST_CHECK_LT(0, tanti);
83 BOOST_CHECK_EQUAL(t0, tanti);
86 BOOST_CHECK_LT(0, t2x);
87 BOOST_CHECK_LT(t0, t2x);
90 BOOST_CHECK_LT(0, t2p);
91 BOOST_CHECK_LT(t2p, t0);
97 const auto qOverP = q /
p;
111 BOOST_AUTO_TEST_SUITE_END()