File DiscLayer.hpp

namespace Acts

Note

This file is foreseen for the Geometry module to replace Extent

class DiscLayer : public virtual Acts::DiscSurface, public Acts::Layer
#include <Acts/Geometry/DiscLayer.hpp>

Class to describe a disc-like detector layer for tracking, it inhertis from both, Layer base class and DiscSurface class.

Public Functions

DiscLayer() = delete
DiscLayer(const DiscLayer &cla) = delete
~DiscLayer() override = default
DiscLayer &operator=(const DiscLayer&) = delete
virtual const DiscSurface &surfaceRepresentation() const override

Transforms the layer into a Surface representation for extrapolation.

Returns

This method returns a surface reference

virtual DiscSurface &surfaceRepresentation() override

Public Static Functions

static inline MutableLayerPtr create(const Transform3 &transform, const std::shared_ptr<const DiscBounds> &dbounds, std::unique_ptr<SurfaceArray> surfaceArray = nullptr, double thickness = 0., std::unique_ptr<ApproachDescriptor> ad = nullptr, LayerType laytyp = Acts::passive)

Factory constructor with DiscSurface components.

Parameters
  • transform – is the transform to place the layer in the 3D frame

  • dbounds – are the disc bounds that describe the layer dimensions

  • surfaceArray – is the array of sensitive surfaces

  • thickness – is the layer thickness (along the normal vector)

  • ad – is the approach descriptor that provides the approach surface

  • laytyp – is the layer type

Returns

a sharted pointer to the new layer

Protected Functions

DiscLayer(const Transform3 &transform, const std::shared_ptr<const DiscBounds> &dbounds, std::unique_ptr<SurfaceArray> surfaceArray = nullptr, double thickness = 0., std::unique_ptr<ApproachDescriptor> ades = nullptr, LayerType laytyp = Acts::active)
Parameters
  • transform – is the transform to place the layer in the 3D frame

  • dbounds – are the disc bounds that describe the layer dimensions

  • surfaceArray – is the array of sensitive surfaces

  • thickness – is the layer thickness (along the normal vector)

  • ades – Are the approach descriptors that provides the approach surface

  • laytyp – is the layer taype

DiscLayer(const DiscLayer &cla, const Transform3 &tr)

Copy constructor with shift.

Private Functions

void buildApproachDescriptor()

build approach surfaces