9 #include <boost/test/data/test_case.hpp>
10 #include <boost/test/unit_test.hpp>
31 namespace ds = ActsTests::PropagationDatasets;
32 using namespace Acts::UnitLiterals;
41 constexpr
auto epsPos = 10_um;
42 constexpr
auto epsDir = 1_mrad;
43 constexpr
auto epsMom = 5_MeV;
45 constexpr
auto epsCov = 0.05;
50 inline std::shared_ptr<const Acts::TrackingGeometry> makeDetector() {
54 static std::shared_ptr<const Acts::TrackingGeometry>
detector;
58 vConf.
length = {4_m, 4_m, 4_m};
59 vConf.
volumeMaterial = std::make_shared<const HomogeneousVolumeMaterial>(
63 conf.position = {0., 0., 0.};
64 conf.length = {4_m, 4_m, 4_m};
68 [=](
const auto& context,
const auto& inner,
const auto&) {
69 return cvb.trackingVolume(context, inner,
nullptr);
85 inline RiddersPropagator makeRiddersPropagator(
double bz) {
95 BOOST_AUTO_TEST_SUITE(PropagationDenseConstant)
121 epsPos, epsDir, epsMom);
132 epsPos, epsDir, epsMom);
143 epsPos, epsDir, epsMom);
155 epsPos, epsDir, epsMom);
166 makePropagator(bz), makeRiddersPropagator(bz),
geoCtx,
magCtx,
168 epsDir, epsMom, epsCov);
179 makePropagator(bz), makeRiddersPropagator(bz),
geoCtx,
magCtx,
181 ZCylinderSurfaceBuilder(), epsPos, epsDir, epsMom, epsCov);
191 makePropagator(bz), makeRiddersPropagator(bz),
geoCtx,
magCtx,
193 DiscSurfaceBuilder(), epsPos, epsDir, epsMom, epsCov);
203 makePropagator(bz), makeRiddersPropagator(bz),
geoCtx,
magCtx,
205 PlaneSurfaceBuilder(), epsPos, epsDir, epsMom, epsCov);
216 makePropagator(bz), makeRiddersPropagator(bz),
geoCtx,
magCtx,
218 ZStrawSurfaceBuilder(), epsPos, epsDir, epsMom, epsCov);
221 BOOST_AUTO_TEST_SUITE_END()