Analysis Software
Documentation for sPHENIX simulation 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 Transform3 > transform, const std::shared_ptr< const PlanarBounds > &pBounds, double thickness)
 
 ~AlignableDetectorElement () override=default
 Destructor.
 
const Transform3transform (const GeometryContext &gctx) const override
 
const Surfacesurface () const override
 Return surface associated with this detector element.
 
Surfacesurface () override
 Non-const access to the 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 Transform3m_elementTransform
 the transform for positioning in 3D space
 
std::shared_ptr< 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 54 of file AlignmentContextTests.cpp.

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

Constructor & Destructor Documentation

Acts::Test::AlignableDetectorElement::AlignableDetectorElement ( )
delete
Acts::Test::AlignableDetectorElement::AlignableDetectorElement ( std::shared_ptr< const Transform3 transform,
const 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 65 of file AlignmentContextTests.cpp.

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

Acts::Test::AlignableDetectorElement::~AlignableDetectorElement ( )
overridedefault

Destructor.

Member Function Documentation

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

Return surface associated with this detector element.

Implements Acts::DetectorElementBase.

Definition at line 112 of file AlignmentContextTests.cpp.

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

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

Non-const access to the surface associated with this detector element.

Implements Acts::DetectorElementBase.

Definition at line 116 of file AlignmentContextTests.cpp.

View newest version in sPHENIX GitHub at line 116 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 120 of file AlignmentContextTests.cpp.

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

const Transform3 & 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 102 of file AlignmentContextTests.cpp.

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

Member Data Documentation

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

the surface represented by it

Definition at line 97 of file AlignmentContextTests.cpp.

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

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

the element thickness

Definition at line 99 of file AlignmentContextTests.cpp.

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

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

the transform for positioning in 3D space

Definition at line 95 of file AlignmentContextTests.cpp.

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


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