Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-19 09:23:17

0001 // This file is part of the Acts project.
0002 //
0003 // Copyright (C) 2023 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 http://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 for detector component builders;
0017 /// such a builder could be a simple detector volume builder, with
0018 /// or without internal structure, or more complicated objects.
0019 ///
0020 class IDetectorComponentBuilder {
0021  public:
0022   virtual ~IDetectorComponentBuilder() = default;
0023 
0024   /// The interface method to be implemented by all detector
0025   /// component builder
0026   ///
0027   /// @param gctx The geometry context for this call
0028   ///
0029   /// @return an outgoing detector component
0030   virtual DetectorComponent construct(const GeometryContext& gctx) const = 0;
0031 };
0032 
0033 }  // namespace Acts::Experimental