33 #include <boost/program_options.hpp>
35 using namespace ActsExamples;
41 void setupFatrasSimulation(
44 std::shared_ptr<const ActsExamples::RandomNumbers>
randomNumbers,
52 fatrasCfg.randomNumbers =
std::move(randomNumbers);
53 fatrasCfg.trackingGeometry =
std::move(trackingGeometry);
67 const std::shared_ptr<ActsExamples::IBaseDetector>&
detector) {
68 using namespace ActsExamples;
78 detector->addOptions(desc);
97 for (
const auto& cdr : contextDecorators) {
98 sequencer.addContextDecorator(cdr);
102 setupFatrasSimulation(vars, sequencer, randomNumbers, trackingGeometry);
106 return sequencer.run();