|
||||
File indexing completed on 2025-01-18 09:10:46
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 #pragma once 0010 0011 #include "Acts/Detector/interface/IRootVolumeFinderBuilder.hpp" 0012 #include "Acts/Geometry/GeometryContext.hpp" 0013 #include "Acts/Navigation/PortalNavigation.hpp" 0014 #include "Acts/Utilities/AxisDefinitions.hpp" 0015 0016 #include <memory> 0017 #include <vector> 0018 0019 namespace Acts::Experimental { 0020 0021 class DetectorVolume; 0022 0023 /// @brief This is the interface for builders that create root volume finder 0024 /// delegates 0025 class IndexedRootVolumeFinderBuilder final : public IRootVolumeFinderBuilder { 0026 public: 0027 /// @brief Constructor with binning casts 0028 /// @param binning the cast values for the grid binning 0029 IndexedRootVolumeFinderBuilder(std::vector<Acts::AxisDirection> binning); 0030 0031 /// The virtual interface definition for root volume finder builders 0032 /// 0033 /// @param gctx the geometry context at the creation of the internal structure 0034 /// @param rootVolumes the root volumes to be used for the finder 0035 /// 0036 /// @return a shared detector object 0037 ExternalNavigationDelegate construct( 0038 const GeometryContext& gctx, 0039 const std::vector<std::shared_ptr<DetectorVolume>>& rootVolumes) 0040 const final; 0041 0042 private: 0043 std::vector<Acts::AxisDirection> m_casts; 0044 }; 0045 0046 } // namespace Acts::Experimental
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |