File indexing completed on 2025-07-12 07:51:36
0001
0002
0003
0004
0005
0006
0007
0008
0009 #pragma once
0010
0011 #include "Acts/Definitions/Units.hpp"
0012
0013 #include <functional>
0014 #include <limits>
0015
0016 namespace Acts {
0017
0018 class GeometryContext;
0019 class MagneticFieldContext;
0020
0021 struct StepperPlainOptions {
0022
0023 StepperPlainOptions(const GeometryContext& gctx,
0024 const MagneticFieldContext& mctx)
0025 : geoContext(gctx), magFieldContext(mctx) {}
0026
0027
0028 std::reference_wrapper<const GeometryContext> geoContext;
0029
0030
0031 std::reference_wrapper<const MagneticFieldContext> magFieldContext;
0032
0033
0034 double stepTolerance = 1e-4;
0035
0036
0037 double stepSizeCutOff = 0.;
0038
0039
0040 double initialStepSize = 10 * Acts::UnitConstants::m;
0041
0042
0043 double maxStepSize = std::numeric_limits<double>::max();
0044
0045
0046 unsigned int maxRungeKuttaStepTrials = 10000;
0047
0048 struct Dense {
0049
0050 bool meanEnergyLoss = true;
0051
0052
0053 bool includeGradient = true;
0054
0055
0056 double momentumCutOff = 0.;
0057 } dense;
0058 };
0059
0060 }