ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/Tests/CommonHelpers/Acts/Tests/CommonHelpers/DetectorElementStub.hpp>
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 Transform3D & | transform (const GeometryContext &gctx) const override |
const Surface & | surface () 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 Surface > | m_elementSurface {nullptr} |
the surface represented by it | |
double | m_elementThickness {0.} |
the element thickness | |
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
|
inline |
Definition at line 36 of file DetectorElementStub.hpp.
View newest version in sPHENIX GitHub at line 36 of file DetectorElementStub.hpp
|
inline |
Definition at line 38 of file DetectorElementStub.hpp.
View newest version in sPHENIX GitHub at line 38 of file DetectorElementStub.hpp
|
inline |
Constructor for single sided detector element
transform | is the transform that element the layer in 3D frame |
pBounds | is the planar bounds for the planar detector element |
thickness | is the module thickness |
material | is 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().
|
inline |
Constructor for single sided detector element
transform | is the transform that element the layer in 3D frame |
dBounds | is the line bounds for the line like detector element |
thickness | is the module thickness |
material | is 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().
|
inlineoverride |
Destructor.
Definition at line 80 of file DetectorElementStub.hpp.
View newest version in sPHENIX GitHub at line 80 of file DetectorElementStub.hpp
|
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.
|
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.
|
inlineoverridevirtual |
Return local to global transform associated with this identifier
gctx | The current geometry context object, e.g. alignment |
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.
|
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().
|
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().
|
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().