File indexing completed on 2025-01-18 09:12:28
0001
0002
0003
0004
0005
0006
0007
0008
0009 #include "Acts/MagneticField/MagneticFieldProvider.hpp"
0010 #include "Acts/Propagator/AtlasStepper.hpp"
0011 #include "Acts/Propagator/EigenStepper.hpp"
0012 #include "Acts/Propagator/StraightLineStepper.hpp"
0013 #include "Acts/Propagator/SympyStepper.hpp"
0014
0015 #include <memory>
0016
0017 #include "StepperBenchmarkCommons.hpp"
0018
0019 using namespace Acts;
0020 using namespace Acts::Test;
0021
0022 using Stepper = EigenStepper<>;
0023
0024 int main(int argc, char* argv[]) {
0025 BenchmarkStepper benchmark;
0026 if (auto ret = benchmark.parseOptions(argc, argv)) {
0027 return *ret;
0028 }
0029 std::shared_ptr<MagneticFieldProvider> bField = benchmark.makeField();
0030 AtlasStepper atlasStepper(bField);
0031 benchmark.run(atlasStepper, "AtlasStepper");
0032 EigenStepper eigenStepper(bField);
0033 benchmark.run(eigenStepper, "EigenStepper");
0034 StraightLineStepper straightLineStepper;
0035 benchmark.run(straightLineStepper, "StraightLineStepper");
0036 SympyStepper sympyStepper(bField);
0037 benchmark.run(sympyStepper, "SympyStepper");
0038 return 0;
0039 }