Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-27 08:30:34

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 <cstdint>
0012 
0013 namespace Acts::Experimental {
0014 
0015 /// GBTS layer types
0016 enum class GbtsLayerType { Barrel = 0, Endcap = 1 };
0017 
0018 /// Lightweight layer description for GBTS geometry.
0019 struct GbtsLayerDescription final {
0020   /// Combined subdetector ID.
0021   std::int32_t id{};
0022   /// Layer type (barrel or endcap).
0023   GbtsLayerType type{};
0024   /// Reference coordinate (z for barrel, r for endcap).
0025   float refCoord{};
0026   /// Minimum boundary coordinate.
0027   float minBound{};
0028   /// Maximum boundary coordinate.
0029   float maxBound{};
0030 };
0031 
0032 }  // namespace Acts::Experimental