|
|
|||
Warning, file /acts/Plugins/GeoModel/include/ActsPlugins/GeoModel/IGeoShapeConverter.hpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
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/Definitions/Algebra.hpp" 0012 #include "Acts/Utilities/BoundFactory.hpp" 0013 #include "Acts/Utilities/Result.hpp" 0014 #include "ActsPlugins/GeoModel/GeoModelDetectorElement.hpp" 0015 0016 #include <memory> 0017 #include <tuple> 0018 0019 class GeoFullPhysVol; 0020 0021 namespace Acts { 0022 class Surface; 0023 } 0024 0025 namespace ActsPlugins { 0026 /// @class IGeoShapeConverter 0027 /// 0028 /// Interface for the conversion of GeoShapes to Acts surfaces 0029 class IGeoShapeConverter { 0030 public: 0031 /// @brief Virtual destructor 0032 virtual ~IGeoShapeConverter() = default; 0033 0034 /// @brief Convert a GeoShape into a sensitive surface with associated 0035 /// GeoModelDetectorElement 0036 /// @param geoFPV The physical volume to convert 0037 /// @param transform: Placement of the constructed detector element 0038 /// @param boundFactory: Reference to the bound factory to share equivalent bounds 0039 /// across multiple surfaces 0040 /// @return The detector element and surface 0041 virtual Acts::Result<GeoModelSensitiveSurface> toSensitiveSurface( 0042 PVConstLink geoPV, const Acts::Transform3& transform, 0043 Acts::SurfaceBoundFactory& boundFactory) const = 0; 0044 0045 /// @brief Convert a GeoShape into a passive surface 0046 /// @param geoFPV The physical volume to convert 0047 /// @param transform: Placement of the constructed detector element 0048 /// @param boundFactory: Reference to the bound factory to share equivalent bounds 0049 /// across multiple surfaces 0050 /// @return The detector element and surface 0051 virtual Acts::Result<std::shared_ptr<Acts::Surface>> toPassiveSurface( 0052 PVConstLink geoPV, const Acts::Transform3& transform, 0053 Acts::SurfaceBoundFactory& boundFactory) const = 0; 0054 }; 0055 0056 } // namespace ActsPlugins
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|