9 #include <boost/test/data/test_case.hpp>
10 #include <boost/test/unit_test.hpp>
30 using namespace Acts::UnitLiterals;
33 constexpr
auto eps = std::numeric_limits<ActsScalar>::epsilon();
36 BOOST_AUTO_TEST_SUITE(TransformFreeToBound)
39 GlobalToBoundTrackParameters,
40 surfaces* posSymmetric* posSymmetric* ts* phis*
thetas*
ps* qsNonZero,
43 const auto phi = ((0 <
theta) and (theta < M_PI)) ? phiInput : 0.0;
44 const auto qOverP = q /
p;
50 Vector3 pos = surface->localToGlobal(geoCtx, loc, dir);
54 BOOST_TEST_INFO(
"Transform free parameters vector onto surface "
78 Vector3 posOff = pos + surface->normal(geoCtx, loc) * 0.5;
79 BOOST_TEST_INFO(
"Transform free parameters vector onto surface "
92 BOOST_CHECK(!res.ok());
97 BOOST_TEST_INFO(
"Transform free parameters components onto surface "
101 pos, time, dir, qOverP, *surface, geoCtx)
113 BOOST_TEST_INFO(
"Transform free parameters components onto surface "
116 Vector3 posOff = pos + surface->normal(geoCtx, loc) * 0.5;
119 BOOST_CHECK(!res.ok());
127 const auto phi = ((0 <
theta) and (
theta < M_PI)) ? phiInput : 0.0;
128 const auto qOverP = q /
p;
157 BOOST_AUTO_TEST_SUITE_END()