![]() |
ATLAS Offline Software
|
#include <TransformCache.h>
Public Member Functions | |
| AlignableGeoPositioning (const IdentifierHash &cacheHash, const DetectorType type) | |
| Standard constrcutor. | |
| AlignableGeoPositioning (const AlignableGeoPositioning &other) noexcept=delete | |
| Delete the copy constructor. | |
| AlignableGeoPositioning & | operator= (const AlignableGeoPositioning &other) noexcept=delete |
| Delete the copy assignment operator. | |
| AlignableGeoPositioning (AlignableGeoPositioning &&other) noexcept=delete | |
| Delete the move constructor. | |
| AlignableGeoPositioning & | operator= (AlignableGeoPositioning &other) noexcept=delete |
| Delete the move assignment operator. | |
| virtual | ~AlignableGeoPositioning () |
| Default destructors. | |
| IdentifierHash | hash () const |
| Returns the sensor hash of this transformation cache. | |
| const Amg::Transform3D & | getTransform (const DetectorAlignStore *store) const |
| Returns the matching transformation from the alignment store. | |
| const Amg::Transform3D & | getTransform (const GeometryContext &gctx) const |
| returns the cached transform from the Acts Geometry context | |
| bool | storeTransform (DetectorAlignStore &store) const |
| Store the final transform in the mutable alignment store. | |
| const Amg::Transform3D & | getTransform (const Acts::GeometryContext &tgContext) const |
| returns the cached transform from the Acts Geometry context | |
| virtual void | releaseNominalCache () const |
| resets the nominal cache associated with the detector element | |
| DetectorType | detectorType () const |
| returns the detector type of the cache | |
Protected Member Functions | |
| virtual Amg::Transform3D | fetchTransform (const DetectorAlignStore *store) const =0 |
Private Types | |
| using | TicketCounter = detail::TrfStoreTicketCounter |
Private Attributes | |
| const IdentifierHash | m_hash {} |
| const DetectorType | m_type {DetectorType::UnDefined} |
| const unsigned int | m_clientNo {TicketCounter::drawTicket(m_type)} |
| Slot at which the aligned transforms can be put in the external DetectorAlignStore. | |
| CxxUtils::CachedUniquePtrT< Amg::Transform3D > m_nomCache | ATLAS_THREAD_SAFE {} |
| Cache to hold the nominal transform, if no DetectorAlignStore is provided The cache is automatically erased as soon as an instantiated store is presented to the class. | |
Definition at line 42 of file TransformCache.h.
Definition at line 92 of file TransformCache.h.
|
explicit |
Standard constrcutor.
| cacheHash | Identifier hash which may be used to identify which transform shall be constructed |
| type | The ATLAS subdetector type defining in which subsystem's detector align store the transform is written |
Definition at line 18 of file TransformCache.cxx.
|
deletenoexcept |
Delete the copy constructor.
|
deletenoexcept |
Delete the move constructor.
|
virtual |
Default destructors.
Definition at line 15 of file TransformCache.cxx.
| DetectorType ActsTrk::AlignableGeoPositioning::detectorType | ( | ) | const |
|
protectedpure virtual |
Implemented in ActsTrk::ReadoutSurfacePositioning< CachingDetectorEle >, ActsTrk::ReadoutSurfacePositioning< CachingDetectorEle >, ActsTrk::ReadoutSurfacePositioning< CachingDetectorEle >, ActsTrk::ReadoutSurfacePositioning< CachingDetectorEle >, ActsTrk::ReadoutSurfacePositioning< CachingDetectorEle >, ActsTrk::ReadoutSurfacePositioning< CachingDetectorEle >, ActsTrk::ReadoutSurfacePositioning< CachingDetectorEle >, ActsTrk::ReadoutSurfacePositioning< CachingDetectorEle >, ActsTrk::ReadoutSurfacePositioning< ActsDetectorElement >, ActsTrk::ReadoutSurfacePositioning< ActsDetectorElement >, ActsTrk::ReadoutSurfacePositioning< ActsDetectorElement >, ActsTrk::ReadoutSurfacePositioning< ActsDetectorElement >, ActsTrk::ReadoutSurfacePositioning< ActsDetectorElement >, ActsTrk::ReadoutSurfacePositioning< ActsDetectorElement >, ActsTrk::ReadoutSurfacePositioning< ActsDetectorElement >, and ActsTrk::VolumePlacement::VolumeGeoPositioning.
| const Amg::Transform3D & ActsTrk::AlignableGeoPositioning::getTransform | ( | const Acts::GeometryContext & | tgContext | ) | const |
returns the cached transform from the Acts Geometry context
| tgContext | The geometry context to be unpacked to the ATLAS geometry context |
| const Amg::Transform3D & ActsTrk::AlignableGeoPositioning::getTransform | ( | const DetectorAlignStore * | store | ) | const |
Returns the matching transformation from the alignment store.
If a nullptr is given, then it's equivalent to the case that the transformation is pointing to a perfectly aligned surface. In this case, the internal nominal transformation cache is invoked.
| store | Pointer to the detector aligment store |
| const Amg::Transform3D & ActsTrk::AlignableGeoPositioning::getTransform | ( | const GeometryContext & | gctx | ) | const |
returns the cached transform from the Acts Geometry context
| gctx | The geometry context holding the aligned transforms |
| IdentifierHash ActsTrk::AlignableGeoPositioning::hash | ( | ) | const |
Returns the sensor hash of this transformation cache.
|
deletenoexcept |
Delete the move assignment operator.
|
deletenoexcept |
Delete the copy assignment operator.
|
virtual |
resets the nominal cache associated with the detector element
Reimplemented in ActsTrk::IReadoutSurfacePositioning.
Definition at line 22 of file TransformCache.cxx.
| bool ActsTrk::AlignableGeoPositioning::storeTransform | ( | DetectorAlignStore & | store | ) | const |
Store the final transform in the mutable alignment store.
Returns true whether a new transform was stored
| store | The reference to the store where the cache stores its transform |
Definition at line 26 of file TransformCache.cxx.
|
mutableprivate |
Cache to hold the nominal transform, if no DetectorAlignStore is provided The cache is automatically erased as soon as an instantiated store is presented to the class.
Definition at line 99 of file TransformCache.h.
|
private |
Slot at which the aligned transforms can be put in the external DetectorAlignStore.
Definition at line 95 of file TransformCache.h.
|
private |
Definition at line 90 of file TransformCache.h.
|
private |
Definition at line 91 of file TransformCache.h.