File indexing completed on 2025-09-17 08:02:12
0001
0002
0003
0004
0005
0006
0007
0008
0009 #include "Acts/Geometry/ConeLayer.hpp"
0010
0011 #include "Acts/Definitions/Algebra.hpp"
0012 #include "Acts/Surfaces/SurfaceArray.hpp"
0013
0014 namespace Acts {
0015
0016 std::shared_ptr<ConeLayer> ConeLayer::create(
0017 const Transform3& transform, std::shared_ptr<const ConeBounds> cbounds,
0018 std::unique_ptr<SurfaceArray> surfaceArray, double thickness,
0019 std::unique_ptr<ApproachDescriptor> ad, LayerType laytyp) {
0020 return std::shared_ptr<ConeLayer>(
0021 new ConeLayer(transform, std::move(cbounds), std::move(surfaceArray),
0022 thickness, std::move(ad), laytyp));
0023 }
0024
0025 ConeLayer::ConeLayer(const Transform3& transform,
0026 std::shared_ptr<const ConeBounds> cbounds,
0027 std::unique_ptr<SurfaceArray> surfaceArray,
0028 double thickness, std::unique_ptr<ApproachDescriptor> ade,
0029 LayerType laytyp)
0030 : ConeSurface(transform, std::move(cbounds)),
0031 Layer(std::move(surfaceArray), thickness, std::move(ade), laytyp) {}
0032
0033 const ConeSurface& ConeLayer::surfaceRepresentation() const {
0034 return (*this);
0035 }
0036
0037 ConeSurface& ConeLayer::surfaceRepresentation() {
0038 return (*this);
0039 }
0040
0041 }