![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Tests/CommonHelpers/Acts/Tests/CommonHelpers/DetectorElementStub.hpp>
Inheritance diagram for Acts::Test::DetectorElementStub:
Collaboration diagram for Acts::Test::DetectorElementStub:Public Member Functions | |
| DetectorElementStub () | |
| DetectorElementStub (const Transform3 &transform) | |
| DetectorElementStub (const Transform3 &transform, std::shared_ptr< const CylinderBounds > cBounds, double thickness, std::shared_ptr< const ISurfaceMaterial > material=nullptr) | |
| DetectorElementStub (const Transform3 &transform, std::shared_ptr< const PlanarBounds > pBounds, double thickness, std::shared_ptr< const ISurfaceMaterial > material=nullptr) | |
| DetectorElementStub (const Transform3 &transform, std::shared_ptr< const LineBounds > lBounds, double thickness, std::shared_ptr< const ISurfaceMaterial > material=nullptr) | |
| ~DetectorElementStub () override=default | |
| Destructor. | |
| const Transform3 & | transform (const GeometryContext &gctx) const override |
| const Surface & | surface () const override |
| Return surface associated with this detector element. | |
| Surface & | surface () override |
| Non-const access to 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 | |
| Transform3 | m_elementTransform |
| the transform for positioning in 3D space | |
| std::shared_ptr< 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 32 of file DetectorElementStub.hpp.
View newest version in sPHENIX GitHub at line 32 of file DetectorElementStub.hpp
|
inline |
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 |
Constructor for single sided detector element
| transform | places the element in global frame |
| cBounds | is the cylindrical bounds |
| thickness | is the module thickness |
| material | is the (optional) Surface material associated to it |
Definition at line 46 of file DetectorElementStub.hpp.
View newest version in sPHENIX GitHub at line 46 of file DetectorElementStub.hpp
References m_elementSurface, material, and testing::internal::move().
Here is the call graph for this function:
|
inline |
Constructor for single sided detector element
| transform | places the element in global 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 65 of file DetectorElementStub.hpp.
View newest version in sPHENIX GitHub at line 65 of file DetectorElementStub.hpp
References m_elementSurface, material, and testing::internal::move().
Here is the call graph for this function:
|
inline |
Constructor for single sided detector element
| transform | places the element in global 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 84 of file DetectorElementStub.hpp.
View newest version in sPHENIX GitHub at line 84 of file DetectorElementStub.hpp
References m_elementSurface, material, and testing::internal::move().
Here is the call graph for this function:
|
overridedefault |
Destructor.
|
inlineoverridevirtual |
Return surface associated with this detector element.
Implements Acts::DetectorElementBase.
Definition at line 129 of file DetectorElementStub.hpp.
View newest version in sPHENIX GitHub at line 129 of file DetectorElementStub.hpp
References m_elementSurface.
Referenced by BOOST_AUTO_TEST_CASE().
Here is the caller graph for this function:
|
inlineoverridevirtual |
Non-const access to surface associated with this detector element.
Implements Acts::DetectorElementBase.
Definition at line 133 of file DetectorElementStub.hpp.
View newest version in sPHENIX GitHub at line 133 of file DetectorElementStub.hpp
References m_elementSurface.
|
inlineoverridevirtual |
The maximal thickness of the detector element wrt normal axis.
Implements Acts::DetectorElementBase.
Definition at line 137 of file DetectorElementStub.hpp.
View newest version in sPHENIX GitHub at line 137 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 124 of file DetectorElementStub.hpp.
View newest version in sPHENIX GitHub at line 124 of file DetectorElementStub.hpp
References m_elementTransform.
|
private |
the surface represented by it
Definition at line 119 of file DetectorElementStub.hpp.
View newest version in sPHENIX GitHub at line 119 of file DetectorElementStub.hpp
Referenced by DetectorElementStub(), and surface().
|
private |
the element thickness
Definition at line 121 of file DetectorElementStub.hpp.
View newest version in sPHENIX GitHub at line 121 of file DetectorElementStub.hpp
Referenced by thickness().
|
private |
the transform for positioning in 3D space
Definition at line 117 of file DetectorElementStub.hpp.
View newest version in sPHENIX GitHub at line 117 of file DetectorElementStub.hpp
Referenced by transform().