EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Test::AlignableDetectorElement Class Reference
+ Inheritance diagram for Acts::Test::AlignableDetectorElement:
+ Collaboration diagram for Acts::Test::AlignableDetectorElement:

Public Member Functions

 AlignableDetectorElement ()=delete
 
 AlignableDetectorElement (std::shared_ptr< const Transform3D > transform, std::shared_ptr< const PlanarBounds > pBounds, double thickness)
 
 ~AlignableDetectorElement () 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
 
virtual ~DetectorElementBase ()=default
 

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 48 of file AlignmentContextTests.cpp.

View newest version in sPHENIX GitHub at line 48 of file AlignmentContextTests.cpp

Constructor & Destructor Documentation

Acts::Test::AlignableDetectorElement::AlignableDetectorElement ( )
delete
Acts::Test::AlignableDetectorElement::AlignableDetectorElement ( std::shared_ptr< const Transform3D transform,
std::shared_ptr< const PlanarBounds pBounds,
double  thickness 
)
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

Definition at line 59 of file AlignmentContextTests.cpp.

View newest version in sPHENIX GitHub at line 59 of file AlignmentContextTests.cpp

Acts::Test::AlignableDetectorElement::~AlignableDetectorElement ( )
inlineoverride

Destructor.

Definition at line 70 of file AlignmentContextTests.cpp.

View newest version in sPHENIX GitHub at line 70 of file AlignmentContextTests.cpp

Member Function Documentation

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

Return surface associated with this detector element.

Implements Acts::DetectorElementBase.

Definition at line 105 of file AlignmentContextTests.cpp.

View newest version in sPHENIX GitHub at line 105 of file AlignmentContextTests.cpp

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

The maximal thickness of the detector element wrt normal axis.

Implements Acts::DetectorElementBase.

Definition at line 109 of file AlignmentContextTests.cpp.

View newest version in sPHENIX GitHub at line 109 of file AlignmentContextTests.cpp

const Transform3D & Acts::Test::AlignableDetectorElement::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 95 of file AlignmentContextTests.cpp.

View newest version in sPHENIX GitHub at line 95 of file AlignmentContextTests.cpp

References Acts::Test::gctx.

Member Data Documentation

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

the surface represented by it

Definition at line 90 of file AlignmentContextTests.cpp.

View newest version in sPHENIX GitHub at line 90 of file AlignmentContextTests.cpp

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

the element thickness

Definition at line 92 of file AlignmentContextTests.cpp.

View newest version in sPHENIX GitHub at line 92 of file AlignmentContextTests.cpp

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

the transform for positioning in 3D space

Definition at line 88 of file AlignmentContextTests.cpp.

View newest version in sPHENIX GitHub at line 88 of file AlignmentContextTests.cpp


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