EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Public Types | |
using | ContextType = Acts::GeometryContext |
Broadcast the ContextType. | |
Public Member Functions | |
GenericDetectorElement (const Identifier identifier, std::shared_ptr< const Acts::Transform3D > transform, std::shared_ptr< const Acts::PlanarBounds > pBounds, double thickness, std::shared_ptr< const Acts::ISurfaceMaterial > material=nullptr, std::shared_ptr< const Acts::DigitizationModule > digitzationModule=nullptr) | |
GenericDetectorElement (const Identifier identifier, std::shared_ptr< const Acts::Transform3D > transform, std::shared_ptr< const Acts::DiscBounds > dBounds, double thickness, std::shared_ptr< const Acts::ISurfaceMaterial > material=nullptr, std::shared_ptr< const Acts::DigitizationModule > digitzationModule=nullptr) | |
Identifier | identifier () const overridefinal |
Identifier. | |
const Acts::Transform3D & | transform (const Acts::GeometryContext &gctx) const override |
const Acts::Surface & | surface () const finaloverride |
Return surface associated with this identifier,. | |
void | assignIdentifier (const Identifier &identifier) |
Set the identifier after construction (sometimes needed) | |
double | thickness () const finaloverride |
The maximal thickness of the detector element wrt normal axis. | |
const std::shared_ptr< const Acts::DigitizationModule > | digitizationModule () const finaloverride |
Retrieve the DigitizationModule. | |
Private Attributes | |
Identifier | m_elementIdentifier |
std::shared_ptr< const Acts::Transform3D > | m_elementTransform |
the transform for positioning in 3D space | |
std::shared_ptr< const 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 34 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 34 of file GenericDetectorElement.hpp
Broadcast the ContextType.
Definition at line 37 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 37 of file GenericDetectorElement.hpp
ActsExamples::Generic::GenericDetectorElement::GenericDetectorElement | ( | const Identifier | identifier, |
std::shared_ptr< const Acts::Transform3D > | transform, | ||
std::shared_ptr< const Acts::PlanarBounds > | pBounds, | ||
double | thickness, | ||
std::shared_ptr< const Acts::ISurfaceMaterial > | material = nullptr , |
||
std::shared_ptr< const Acts::DigitizationModule > | digitzationModule = 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 Acts::Surface::assignSurfaceMaterial(), boost::const_pointer_cast(), and m_elementSurface.
ActsExamples::Generic::GenericDetectorElement::GenericDetectorElement | ( | const Identifier | identifier, |
std::shared_ptr< const Acts::Transform3D > | transform, | ||
std::shared_ptr< const Acts::DiscBounds > | dBounds, | ||
double | thickness, | ||
std::shared_ptr< const Acts::ISurfaceMaterial > | material = nullptr , |
||
std::shared_ptr< const Acts::DigitizationModule > | digitzationModule = 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 36 of file GenericDetectorElement.cpp.
View newest version in sPHENIX GitHub at line 36 of file GenericDetectorElement.cpp
References Acts::Surface::assignSurfaceMaterial(), boost::const_pointer_cast(), and m_elementSurface.
|
inline |
Set the identifier after construction (sometimes needed)
Definition at line 114 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 114 of file GenericDetectorElement.hpp
References identifier().
|
inlinefinaloverridevirtual |
Retrieve the DigitizationModule.
Implements Acts::IdentifiedDetectorElement.
Definition at line 140 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 140 of file GenericDetectorElement.hpp
References m_digitizationModule.
|
inlinefinaloverridevirtual |
Identifier.
Implements Acts::IdentifiedDetectorElement.
Definition at line 119 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 119 of file GenericDetectorElement.hpp
References m_elementIdentifier.
Referenced by assignIdentifier(), and ActsExamples::Contextual::PayloadDetectorElement::transform().
|
inlinefinaloverridevirtual |
Return surface associated with this identifier,.
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_elementSurface.
|
inlinefinaloverridevirtual |
The maximal thickness of the detector element wrt normal axis.
Implements Acts::DetectorElementBase.
Definition at line 135 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 135 of file GenericDetectorElement.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 125 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 125 of file GenericDetectorElement.hpp
References m_elementTransform.
|
private |
The Digitization module.
Definition at line 110 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 110 of file GenericDetectorElement.hpp
Referenced by digitizationModule().
|
private |
Definition at line 108 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 108 of file GenericDetectorElement.hpp
|
private |
the element representation identifier
Definition at line 99 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 99 of file GenericDetectorElement.hpp
Referenced by identifier().
|
private |
store either
Definition at line 107 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 107 of file GenericDetectorElement.hpp
|
private |
the surface represented by it
Definition at line 103 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 103 of file GenericDetectorElement.hpp
Referenced by GenericDetectorElement(), and surface().
|
private |
the element thickness
Definition at line 105 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 105 of file GenericDetectorElement.hpp
Referenced by thickness().
|
private |
the transform for positioning in 3D space
Definition at line 101 of file GenericDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 101 of file GenericDetectorElement.hpp
Referenced by transform().