|
|
|||
File indexing completed on 2026-04-17 07:46:49
0001 // This file is part of the ACTS project. 0002 // 0003 // Copyright (C) 2016 CERN for the benefit of the ACTS project 0004 // 0005 // This Source Code Form is subject to the terms of the Mozilla Public 0006 // License, v. 2.0. If a copy of the MPL was not distributed with this 0007 // file, You can obtain one at https://mozilla.org/MPL/2.0/. 0008 0009 //! [Write DD4hep Module] 0010 #include "Acts/Geometry/TrackingGeometry.hpp" 0011 #include "ActsPlugins/DD4hep/GeometryModuleHelper.hpp" 0012 0013 #include <stdexcept> 0014 0015 #include <DD4hep/Detector.h> 0016 0017 namespace { 0018 std::unique_ptr<Acts::TrackingGeometry> buildMyGeometry( 0019 const dd4hep::Detector& detector, const Acts::Logger& logger) { 0020 (void)detector; 0021 ACTS_INFO("Building DD4hep geometry"); 0022 // ... use detector to build and return a TrackingGeometry ... 0023 return nullptr; 0024 } 0025 } // namespace 0026 0027 ACTS_DEFINE_DD4HEP_GEOMETRY_MODULE(buildMyGeometry) 0028 //! [Write DD4hep Module]
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|