97 surf1.getPosition(v, xyz);
98 BOOST_TEST(xyz[0] == -0.1*std::sin(2.),
tol);
99 BOOST_TEST(xyz[1] == 0.2,
tol);
100 BOOST_TEST(xyz[2] == 0.1*std::cos(2.),
tol);
101 surf3.getPosition(v, xyz);
102 BOOST_TEST(xyz[0] == 1. - 0.1*std::sin(2.),
tol);
103 BOOST_TEST(xyz[1] == 1.2,
tol);
104 BOOST_TEST(xyz[2] == 1. + 0.1*std::cos(2.),
tol);
106 BOOST_TEST(mom[0] == 2. * std::cos(2.) / std::cosh(1.),
tol);
107 BOOST_TEST(mom[1] == 2. * std::tanh(1.),
tol);
108 BOOST_TEST(mom[2] == 2. * std::sin(2.) / cosh(1.),
tol);
110 BOOST_TEST(mom[0] == 2. * std::cos(2.) / std::cosh(1.),
tol);
111 BOOST_TEST(mom[1] == 2. * std::tanh(1.),
tol);
112 BOOST_TEST(mom[2] == 2. * std::sin(2.) / cosh(1.),
tol);
113 surf1.getMomentum(v, mom);
114 BOOST_TEST(mom[0] == 2. * std::cos(2.) / std::cosh(1.),
tol);
115 BOOST_TEST(mom[1] == 2. * std::tanh(1.),
tol);
116 BOOST_TEST(mom[2] == 2. * std::sin(2.) / cosh(1.),
tol);
KVector< 5 >::type TrackVector
Track state vector, dimension 5.