33 #include <boost/program_options.hpp>
62 auto contextDecorators = geometry.second;
64 for (
auto cdr : contextDecorators) {
70 auto randomNumberSvc =
71 std::make_shared<ActsExamples::RandomNumbers>(randomNumberSvcCfg);
85 typename std::decay_t<decltype(bField)>::element_type;
88 using field_map_type = decltype(fieldMap);
90 std::optional<std::variant<Acts::EigenStepper<field_map_type>,
96 if (vm[
"prop-stepper"].
template as<int>() == 0) {
98 }
else if (vm[
"prop-stepper"].
template as<int>() == 1) {
100 }
else if (vm[
"prop-stepper"].
template as<int>() == 2) {
101 var_stepper = Acts::AtlasStepper<field_map_type>{std::move(fieldMap)};
107 using Stepper = std::decay_t<decltype(stepper)>;
114 pAlgConfig.randomNumberSvc = randomNumberSvc;
118 pAlgConfig, logLevel));
126 std::string outputDir = vm[
"output-dir"].template as<std::string>();
127 auto psCollection = vm[
"prop-step-collection"].as<std::string>();
129 if (vm[
"output-root"].
template as<bool>()) {
132 pstepWriterRootConfig.
collection = psCollection;
136 std::make_shared<ActsExamples::RootPropagationStepsWriter>(
137 pstepWriterRootConfig));
140 if (vm[
"output-obj"].
template as<bool>()) {
142 using ObjPropagationStepsWriter =
147 pstepWriterObjConfig.collection = psCollection;
148 pstepWriterObjConfig.outputDir = outputDir;
150 std::make_shared<ObjPropagationStepsWriter>(pstepWriterObjConfig));
153 return sequencer.
run();