ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Test::DetectorElementStub Class Reference

#include <acts/blob/master/Tests/CommonHelpers/Acts/Tests/CommonHelpers/DetectorElementStub.hpp>

+ Inheritance diagram for Acts::Test::DetectorElementStub:
+ Collaboration diagram for Acts::Test::DetectorElementStub:

Public Member Functions

 DetectorElementStub ()
 
 DetectorElementStub (std::shared_ptr< const Transform3D > transform)
 
 DetectorElementStub (std::shared_ptr< const Transform3D > transform, std::shared_ptr< const PlanarBounds > pBounds, double thickness, std::shared_ptr< const ISurfaceMaterial > material=nullptr)
 
 DetectorElementStub (std::shared_ptr< const Transform3D > transform, std::shared_ptr< const LineBounds > lBounds, double thickness, std::shared_ptr< const ISurfaceMaterial > material=nullptr)
 
 ~DetectorElementStub () override
 Destructor.
 
const Transform3Dtransform (const GeometryContext &gctx) const override
 
const Surfacesurface () const override
 Return surface associated with this detector element.
 
double thickness () const override
 The maximal thickness of the detector element wrt normal axis.
 
- Public Member Functions inherited from Acts::DetectorElementBase
 DetectorElementBase ()=default
 Constructor.
 
virtual ~DetectorElementBase ()=default
 Virtual Destructor.
 

Private Attributes

std::shared_ptr< const
Transform3D
m_elementTransform
 the transform for positioning in 3D space
 
std::shared_ptr< const Surfacem_elementSurface {nullptr}
 the surface represented by it
 
double m_elementThickness {0.}
 the element thickness
 

Detailed Description

This is a lightweight type of detector element, it simply implements the base class.

Definition at line 34 of file DetectorElementStub.hpp.

View newest version in sPHENIX GitHub at line 34 of file DetectorElementStub.hpp

Constructor & Destructor Documentation

Acts::Test::DetectorElementStub::DetectorElementStub ( )
inline

Definition at line 36 of file DetectorElementStub.hpp.

View newest version in sPHENIX GitHub at line 36 of file DetectorElementStub.hpp

Acts::Test::DetectorElementStub::DetectorElementStub ( std::shared_ptr< const Transform3D transform)
inline

Definition at line 38 of file DetectorElementStub.hpp.

View newest version in sPHENIX GitHub at line 38 of file DetectorElementStub.hpp

Acts::Test::DetectorElementStub::DetectorElementStub ( std::shared_ptr< const Transform3D transform,
std::shared_ptr< const PlanarBounds pBounds,
double  thickness,
std::shared_ptr< const ISurfaceMaterial material = nullptr 
)
inline

Constructor for single sided detector element

Parameters
transformis the transform that element the layer in 3D frame
pBoundsis the planar bounds for the planar detector element
thicknessis the module thickness
materialis the (optional) Surface material associated to it

Definition at line 48 of file DetectorElementStub.hpp.

View newest version in sPHENIX GitHub at line 48 of file DetectorElementStub.hpp

References m_elementSurface, and material().

+ Here is the call graph for this function:

Acts::Test::DetectorElementStub::DetectorElementStub ( std::shared_ptr< const Transform3D transform,
std::shared_ptr< const LineBounds lBounds,
double  thickness,
std::shared_ptr< const ISurfaceMaterial material = nullptr 
)
inline

Constructor for single sided detector element

Parameters
transformis the transform that element the layer in 3D frame
dBoundsis the line bounds for the line like detector element
thicknessis the module thickness
materialis the (optional) Surface material associated to it

Definition at line 67 of file DetectorElementStub.hpp.

View newest version in sPHENIX GitHub at line 67 of file DetectorElementStub.hpp

References m_elementSurface, and material().

+ Here is the call graph for this function:

Acts::Test::DetectorElementStub::~DetectorElementStub ( )
inlineoverride

Destructor.

Definition at line 80 of file DetectorElementStub.hpp.

View newest version in sPHENIX GitHub at line 80 of file DetectorElementStub.hpp

Member Function Documentation

const Surface & Acts::Test::DetectorElementStub::surface ( ) const
inlineoverridevirtual

Return surface associated with this detector element.

Implements Acts::DetectorElementBase.

Definition at line 110 of file DetectorElementStub.hpp.

View newest version in sPHENIX GitHub at line 110 of file DetectorElementStub.hpp

References m_elementSurface.

double Acts::Test::DetectorElementStub::thickness ( ) const
inlineoverridevirtual

The maximal thickness of the detector element wrt normal axis.

Implements Acts::DetectorElementBase.

Definition at line 114 of file DetectorElementStub.hpp.

View newest version in sPHENIX GitHub at line 114 of file DetectorElementStub.hpp

References m_elementThickness.

const Transform3D & Acts::Test::DetectorElementStub::transform ( const GeometryContext gctx) const
inlineoverridevirtual

Return local to global transform associated with this identifier

Parameters
gctxThe current geometry context object, e.g. alignment
Note
this is called from the surface().transform() in the PROXY mode

Implements Acts::DetectorElementBase.

Definition at line 105 of file DetectorElementStub.hpp.

View newest version in sPHENIX GitHub at line 105 of file DetectorElementStub.hpp

References m_elementTransform.

Member Data Documentation

std::shared_ptr<const Surface> Acts::Test::DetectorElementStub::m_elementSurface {nullptr}
private

the surface represented by it

Definition at line 100 of file DetectorElementStub.hpp.

View newest version in sPHENIX GitHub at line 100 of file DetectorElementStub.hpp

Referenced by DetectorElementStub(), and surface().

double Acts::Test::DetectorElementStub::m_elementThickness {0.}
private

the element thickness

Definition at line 102 of file DetectorElementStub.hpp.

View newest version in sPHENIX GitHub at line 102 of file DetectorElementStub.hpp

Referenced by thickness().

std::shared_ptr<const Transform3D> Acts::Test::DetectorElementStub::m_elementTransform
private

the transform for positioning in 3D space

Definition at line 98 of file DetectorElementStub.hpp.

View newest version in sPHENIX GitHub at line 98 of file DetectorElementStub.hpp

Referenced by transform().


The documentation for this class was generated from the following file: