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