Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:10:45

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/DetectorComponents.hpp"
0012 #include "Acts/Geometry/GeometryContext.hpp"
0013 
0014 namespace Acts::Experimental {
0015 
0016 /// @brief This is the interface definition of internal structure
0017 /// builders for DetectorVolume construction.
0018 ///
0019 /// It is assumed that each builder returns a consistent set of
0020 /// DetectorVolume internals, which in turn can be directly provided
0021 /// to a DetectorVolume constructor.
0022 class IInternalStructureBuilder {
0023  public:
0024   virtual ~IInternalStructureBuilder() = default;
0025   /// The interface definition for internal structure creation
0026   ///
0027   /// @param gctx the geometry context at the creation of the internal structure
0028   ///
0029   /// @return a consistent set of detector volume internals
0030   virtual InternalStructure construct(const GeometryContext& gctx) const = 0;
0031 };
0032 
0033 }  // namespace Acts::Experimental