Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-07-12 07:51:54

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 #include "Acts/Geometry/ConeLayer.hpp"
0010 
0011 #include "Acts/Definitions/Algebra.hpp"
0012 
0013 namespace Acts {
0014 
0015 ConeLayer::ConeLayer(const Transform3& transform,
0016                      std::shared_ptr<const ConeBounds> cbounds,
0017                      std::unique_ptr<SurfaceArray> surfaceArray,
0018                      double thickness, std::unique_ptr<ApproachDescriptor> ade,
0019                      LayerType laytyp)
0020     : ConeSurface(transform, std::move(cbounds)),
0021       Layer(std::move(surfaceArray), thickness, std::move(ade), laytyp) {}
0022 
0023 const ConeSurface& ConeLayer::surfaceRepresentation() const {
0024   return (*this);
0025 }
0026 
0027 ConeSurface& ConeLayer::surfaceRepresentation() {
0028   return (*this);
0029 }
0030 
0031 }  // namespace Acts