Warning, file /acts/Core/include/Acts/Propagator/StepperOptions.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
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
0022 struct StepperPlainOptions {
0023
0024
0025
0026 StepperPlainOptions(const GeometryContext& gctx,
0027 const MagneticFieldContext& mctx)
0028 : geoContext(gctx), magFieldContext(mctx) {}
0029
0030
0031 std::reference_wrapper<const GeometryContext> geoContext;
0032
0033
0034 std::reference_wrapper<const MagneticFieldContext> magFieldContext;
0035
0036
0037 double stepTolerance = 1e-4;
0038
0039
0040 double stepSizeCutOff = 0.;
0041
0042
0043 double initialStepSize = 10 * Acts::UnitConstants::m;
0044
0045
0046 double maxStepSize = std::numeric_limits<double>::max();
0047
0048
0049 unsigned int maxRungeKuttaStepTrials = 10000;
0050
0051
0052 struct Dense {
0053
0054 bool meanEnergyLoss = true;
0055
0056
0057 bool includeGradient = true;
0058
0059
0060 double momentumCutOff = 0.;
0061 };
0062
0063
0064 Dense dense;
0065 };
0066
0067 }