9 #include <boost/test/data/test_case.hpp>
10 #include <boost/test/tools/output_test_stream.hpp>
11 #include <boost/test/unit_test.hpp>
27 namespace tt = boost::test_tools;
28 using namespace Acts::UnitLiterals;
32 using namespace detail;
79 bool navigationBreak =
false;
86 bool loopProtection =
true;
87 double loopFraction = 0.5;
91 int debugMsgWidth = 60;
92 int debugPfxWidth = 30;
114 bdata::distribution = std::uniform_real_distribution<>(-
M_PI,
M_PI))) ^
116 bdata::distribution =
117 std::uniform_real_distribution<>(-
M_PI,
M_PI))) ^
119 phi, deltaPhi, index) {
133 lProtection(pState, pStepper);
137 BOOST_CHECK_LT(updatedLimit, initialLimit);
150 propagator_loop_protection_test,
152 bdata::distribution =
153 std::uniform_real_distribution<>(0.5
_GeV, 10
_GeV))) ^
155 bdata::distribution =
156 std::uniform_real_distribution<>(-
M_PI,
M_PI))) ^
158 bdata::distribution =
159 std::uniform_real_distribution<>(1.0,
M_PI - 1.0))) ^
162 bdata::distribution = std::uniform_int_distribution<>(0, 1))) ^
169 double dcharge = -1 + 2 *
charge;
171 const double Bz = 2
_T;
182 double px =
pT * cos(
phi);
183 double py =
pT * sin(
phi);
191 using ProopagatorOptions =
194 options.debug =
false;
195 options.maxSteps = 1
e6;
196 const auto& result = epropagator.propagate(start, options).value();
199 const auto debugString =
200 result.template get<DebugOutput::result_type>().debugString;
201 std::cout << debugString << std::endl;