File indexing completed on 2026-04-17 07:46:49
0001
0002
0003
0004
0005
0006
0007
0008
0009 #include "Acts/Geometry/GeometryModuleLoader.hpp"
0010 #include "Acts/Utilities/Logger.hpp"
0011
0012 #include <filesystem>
0013
0014 #ifdef ACTS_BUILD_PLUGIN_DD4HEP
0015 #include "ActsPlugins/DD4hep/GeometryModuleLoader.hpp"
0016
0017 #include <DD4hep/Detector.h>
0018 #endif
0019
0020 void exampleLoadPlainModule(const Acts::Logger& logger,
0021 const std::filesystem::path& modulePath) {
0022
0023 auto geometry = Acts::loadGeometryModule(modulePath, logger);
0024
0025
0026
0027 (void)geometry;
0028 }
0029
0030 #ifdef ACTS_BUILD_PLUGIN_DD4HEP
0031 void exampleLoadDD4hepModule(const dd4hep::Detector& detector,
0032 const Acts::Logger& logger,
0033 const std::filesystem::path& modulePath) {
0034
0035 auto geometry = Acts::loadDD4hepGeometryModule(modulePath, detector, logger);
0036
0037
0038
0039 (void)geometry;
0040 }
0041 #endif