9 #include <boost/test/unit_test.hpp>
34 using namespace Acts::UnitLiterals;
36 constexpr
auto eps = 8 * std::numeric_limits<ActsScalar>::epsilon();
43 const auto qOverP = (q != 0) ? (q / p) : (1 /
p);
44 const auto pos = pos4.segment<3>(
ePos0);
64 BOOST_CHECK_EQUAL(params.
charge(), q);
74 BOOST_AUTO_TEST_SUITE(EventDataCurvilinearTrackParameters)
78 posSymmetric* posSymmetric* posSymmetric* ts* phis*
thetas*
ps,
x,
y,
z,
79 time, phiInput, theta, p) {
81 const auto phi = ((0 <
theta) and (theta < M_PI)) ? phiInput : 0.0;
87 checkParameters(params, phi, theta, p, 0_e, pos4, dir);
93 BOOST_CHECK(params.covariance());
94 BOOST_CHECK_EQUAL(params.covariance().value(),
cov);
99 posSymmetric* posSymmetric* posSymmetric* ts* phis*
thetas*
ps* qsNonZero,
100 x,
y,
z,
time, phiInput, theta, p, q) {
102 const auto phi = ((0 <
theta) and (theta < M_PI)) ? phiInput : 0.0;
108 checkParameters(params, phi, theta, p, q, pos4, dir);
114 BOOST_CHECK(params.covariance());
115 BOOST_CHECK_EQUAL(params.covariance().value(),
cov);
120 posSymmetric* posSymmetric* posSymmetric* ts* phis*
thetas*
ps* qsAny,
x,
y,
121 z,
time, phiInput, theta, p, q) {
123 const auto phi = ((0 <
theta) and (theta < M_PI)) ? phiInput : 0.0;
132 checkParameters(params, phi, theta, p, q, pos4, dir);
138 BOOST_CHECK(params.covariance());
139 BOOST_CHECK_EQUAL(params.covariance().value(),
cov);
142 BOOST_AUTO_TEST_SUITE_END()