11 #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 FW::Options::readDD4hepConfig<po::variables_map>(vm);
32 dd4HepDetectorConfig.matDecorator = mdecorator;
34 std::make_shared<FW::DD4hep::DD4hepGeometryService>(dd4HepDetectorConfig);
36 geometrySvc->trackingGeometry(dd4HepContext);
39 return std::make_pair<TrackingGeometryPtr, ContextDecorators>(
40 std::move(dd4tGeometry), std::move(dd4ContextDeocrators));