17 #include <boost/program_options.hpp>
20 boost::program_options::options_description& opt)
const {
25 const boost::program_options::variables_map& vm,
26 std::shared_ptr<const Acts::IMaterialDecorator> mdecorator)
27 -> std::pair<TrackingGeometryPtr, ContextDecorators> {
30 auto dd4HepDetectorConfig =
31 ActsExamples::Options::readDD4hepConfig<po::variables_map>(vm);
32 dd4HepDetectorConfig.matDecorator = mdecorator;
34 std::make_shared<ActsExamples::DD4hep::DD4hepGeometryService>(
35 dd4HepDetectorConfig);
37 geometrySvc->trackingGeometry(dd4HepContext);
40 return std::make_pair<TrackingGeometryPtr, ContextDecorators>(
41 std::move(dd4tGeometry), std::move(dd4ContextDeocrators));