Analysis Software
Documentation for sPHENIX simulation software
|
Public Types | |
using | ContextType = Acts::GeometryContext |
Broadcast the ContextType. | |
Public Member Functions | |
GenericDetectorElement (const Identifier identifier, std::shared_ptr< const Acts::Transform3 > transform, std::shared_ptr< const Acts::PlanarBounds > pBounds, double thickness, std::shared_ptr< const Acts::ISurfaceMaterial > material=nullptr, std::shared_ptr< const Acts::DigitizationModule > digitizationModule=nullptr) | |
GenericDetectorElement (const Identifier identifier, std::shared_ptr< const Acts::Transform3 > transform, std::shared_ptr< const Acts::DiscBounds > dBounds, double thickness, std::shared_ptr< const Acts::ISurfaceMaterial > material=nullptr, std::shared_ptr< const Acts::DigitizationModule > digitizationModule=nullptr) | |
Identifier | identifier () const final |
Identifier. | |
const Acts::Transform3 & | transform (const Acts::GeometryContext &gctx) const override |
const Acts::Surface & | surface () const override |
Return surface associated with this detector element. | |
Acts::Surface & | surface () override |
Non-cost access to surface associated with this detector element. | |
void | assignIdentifier (const Identifier &identifier) |
Set the identifier after construction (sometimes needed) | |
double | thickness () const override |
The maximal thickness of the detector element wrt normal axis. | |
const std::shared_ptr< const Acts::DigitizationModule > | digitizationModule () const override |
Retrieve the DigitizationModule. | |
Private Attributes | |
Identifier | m_elementIdentifier |
std::shared_ptr< const Acts::Transform3 > | m_elementTransform |
the transform for positioning in 3D space | |
std::shared_ptr< Acts::Surface > | m_elementSurface |
the surface represented by it | |
double | m_elementThickness |
the element thickness | |
std::shared_ptr< const Acts::PlanarBounds > | m_elementPlanarBounds = nullptr |
store either | |
std::shared_ptr< const Acts::DiscBounds > | m_elementDiscBounds = nullptr |
std::shared_ptr< const Acts::DigitizationModule > | m_digitizationModule |
The Digitization module. | |
This is a lightweight type of detector element, it simply implements the base class.
Definition at line 37 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 37 of file GenericDetectorElement.hpp
Broadcast the ContextType.
Definition at line 40 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 40 of file GenericDetectorElement.hpp
ActsExamples::Generic::GenericDetectorElement::GenericDetectorElement | ( | const Identifier | identifier, |
std::shared_ptr< const Acts::Transform3 > | transform, | ||
std::shared_ptr< const Acts::PlanarBounds > | pBounds, | ||
double | thickness, | ||
std::shared_ptr< const Acts::ISurfaceMaterial > | material = nullptr , |
||
std::shared_ptr< const Acts::DigitizationModule > | digitizationModule = nullptr |
||
) |
Constructor for single sided detector element
identifier | is the module identifier |
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 16 of file GenericDetectorElement.cpp.
View newest version in sPHENIX GitHub at line 16 of file GenericDetectorElement.cpp
References m_elementSurface, and testing::internal::move().
ActsExamples::Generic::GenericDetectorElement::GenericDetectorElement | ( | const Identifier | identifier, |
std::shared_ptr< const Acts::Transform3 > | transform, | ||
std::shared_ptr< const Acts::DiscBounds > | dBounds, | ||
double | thickness, | ||
std::shared_ptr< const Acts::ISurfaceMaterial > | material = nullptr , |
||
std::shared_ptr< const Acts::DigitizationModule > | digitizationModule = nullptr |
||
) |
Constructor for single sided detector element
identifier | is the module identifier |
transform | is the transform that element the layer in 3D frame |
dBounds | is the planar bounds for the disc like detector element |
thickness | is the module thickness |
material | is the (optional) Surface material associated to it |
Definition at line 34 of file GenericDetectorElement.cpp.
View newest version in sPHENIX GitHub at line 34 of file GenericDetectorElement.cpp
References m_elementSurface, and testing::internal::move().
|
inline |
Set the identifier after construction (sometimes needed)
Definition at line 120 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 120 of file GenericDetectorElement.hpp
References identifier().
|
inlineoverridevirtual |
Retrieve the DigitizationModule.
Implements Acts::IdentifiedDetectorElement.
Definition at line 150 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 150 of file GenericDetectorElement.hpp
References m_digitizationModule.
|
inlinefinalvirtual |
Identifier.
Implements Acts::IdentifiedDetectorElement.
Definition at line 125 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 125 of file GenericDetectorElement.hpp
References m_elementIdentifier.
Referenced by assignIdentifier(), and ActsExamples::Contextual::ExternallyAlignedDetectorElement::transform().
|
inlineoverridevirtual |
Return surface associated with this detector element.
Implements Acts::DetectorElementBase.
Definition at line 137 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 137 of file GenericDetectorElement.hpp
References m_elementSurface.
|
inlineoverridevirtual |
Non-cost access to surface associated with this detector element.
Implements Acts::DetectorElementBase.
Definition at line 141 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 141 of file GenericDetectorElement.hpp
References m_elementSurface.
|
inlineoverridevirtual |
The maximal thickness of the detector element wrt normal axis.
Implements Acts::DetectorElementBase.
Definition at line 145 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 145 of file GenericDetectorElement.hpp
References m_elementThickness.
|
inlineoverridevirtual |
Return local to global transform associated with this detector element
gctx | The current geometry context object, e.g. alignment |
Implements Acts::DetectorElementBase.
Definition at line 131 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 131 of file GenericDetectorElement.hpp
References m_elementTransform.
|
private |
The Digitization module.
Definition at line 116 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 116 of file GenericDetectorElement.hpp
Referenced by digitizationModule().
|
private |
Definition at line 114 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 114 of file GenericDetectorElement.hpp
|
private |
the element representation identifier
Definition at line 105 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 105 of file GenericDetectorElement.hpp
Referenced by identifier().
|
private |
store either
Definition at line 113 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 113 of file GenericDetectorElement.hpp
|
private |
the surface represented by it
Definition at line 109 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 109 of file GenericDetectorElement.hpp
Referenced by GenericDetectorElement(), and surface().
|
private |
the element thickness
Definition at line 111 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 111 of file GenericDetectorElement.hpp
Referenced by thickness().
|
private |
the transform for positioning in 3D space
Definition at line 107 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 107 of file GenericDetectorElement.hpp
Referenced by transform().