File indexing completed on 2026-04-17 07:47:15
0001
0002
0003
0004
0005
0006
0007
0008
0009 #include "ActsPlugins/DD4hep/GeometryModuleLoader.hpp"
0010
0011 #include "Acts/Geometry/GeometryModuleLoader.hpp"
0012
0013 #include <DD4hep/Detector.h>
0014
0015 #ifndef ACTS_DD4HEP_GEOMETRY_MODULE_ABI_TAG
0016 #error \
0017 "ACTS_DD4HEP_GEOMETRY_MODULE_ABI_TAG must be provided by CMake when building ActsPluginDD4hep."
0018 #endif
0019
0020 namespace Acts {
0021
0022 std::shared_ptr<TrackingGeometry> loadDD4hepGeometryModule(
0023 const std::filesystem::path& modulePath, const dd4hep::Detector& detector,
0024 const Logger& logger) {
0025 return ::Acts::detail::loadGeometryModuleImpl(
0026 modulePath, ACTS_DD4HEP_GEOMETRY_MODULE_ABI_TAG, "dd4hep::Detector",
0027 &detector, logger);
0028 }
0029
0030 }