9 #include <boost/test/unit_test.hpp>
27 using namespace Acts::UnitLiterals;
44 const auto fphi =
phi(mom);
45 const auto ftheta =
theta(mom);
46 const double oOp = 1. / mom.norm();
50 {0., 0., fphi, ftheta, oOp, 1
_s});
52 {0., 0., fphi, ftheta, -oOp, 2.5_s});
54 {0., 0., fphi, ftheta, oOp, 33.33_s});
76 Vector3D uAxis = (z_axis_global.cross(tAxis)).normalized();
78 mFrame.col(0) = uAxis;
79 mFrame.col(1) = vAxis;
80 mFrame.col(2) = tAxis;
93 BOOST_CHECK_EQUAL(curvilinear_pos_copy, curvilinear_pos);
94 BOOST_CHECK_EQUAL(curvilinear_neg_copy, curvilinear_neg);
95 BOOST_CHECK_EQUAL(curvilinear_neut_copy, curvilinear_neut);
103 BOOST_CHECK_EQUAL(curvilinear_pos_copy.parameters()[
eLOC_0], 0
u);
104 BOOST_CHECK_EQUAL(curvilinear_pos_copy.parameters()[
eLOC_1], 0
u);
117 double uqop = 0.025_e / 1
_GeV;
127 Vector3D(cos(uphi) * sin(utheta), sin(uphi) * sin(utheta), cos(utheta)) *
132 curvilinear_pos_copy.referenceSurface()