Analysis Software
Documentation for sPHENIX simulation software
|
Classes | |
struct | AlignmentStore |
class | ContextType |
Public Member Functions | |
const Acts::Transform3 & | transform (const Acts::GeometryContext &gctx) const override |
Public Member Functions inherited from 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) | |
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. | |
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 ExternallyAlignedDetectorElement 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 ExternallyAlignedDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 41 of file ExternallyAlignedDetectorElement.hpp
|
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 68 of file ExternallyAlignedDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 68 of file ExternallyAlignedDetectorElement.hpp
References assert, ActsExamples::Generic::GenericDetectorElement::identifier(), and Acts::Test::transform.