EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Classes | |
class | ContextType |
Public Member Functions | |
template<typename... Args> | |
PayloadDetectorElement (Args &&...args) | |
const Acts::Transform3D & | transform (const Acts::GeometryContext &gctx) const finaloverride |
Public Member Functions inherited from 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) | |
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. | |
Additional Inherited Members | |
Public Types inherited from ActsExamples::Generic::GenericDetectorElement | |
using | ContextType = Acts::GeometryContext |
Broadcast the ContextType. | |
This is a lightweight type of detector element, it simply implements the base class.
The PayloadDetectorElement demonstrates how a GeometryContext can be used if it carries the entire set of Transforms through the program flow.
The nominal transform is only used to once create the alignment store and then in a contextual call the actual detector element position is taken from the alignment Store.
In this simple implementation, it does rely on the Identifier to be orderded from 0 to N-1, as the identifier is simply taken as a vector index for the alignment store
Definition at line 41 of file PayloadDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 41 of file PayloadDetectorElement.hpp
|
inline |
Constructor for an alignable surface
Definition at line 55 of file PayloadDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 55 of file PayloadDetectorElement.hpp
|
inlinefinaloverridevirtual |
Return local to global transform associated with this identifier
gctx | The current geometry context object, e.g. alignment |
Implements Acts::DetectorElementBase.
Definition at line 67 of file PayloadDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 67 of file PayloadDetectorElement.hpp
References Acts::Test::gctx, ActsExamples::Generic::GenericDetectorElement::identifier(), and Acts::Test::transform.