![]() |
ATLAS Offline Software
|
Implementation used for the Detector elements. More...
#include <TransformCache.h>
Public Member Functions | |
| virtual Identifier | identify () const =0 |
| Returns the Identifier of the transform cache. | |
| virtual const IDetectorElement * | parent () const =0 |
| Returns the parent IDetectorElement owning the cache. | |
| virtual void | releaseNominalCache () const final |
| Release the nominal cache and release the transform from the. | |
| TransformCacheBase (const IdentifierHash &cacheHash, const DetectorType type) | |
| Copy the constructors from the base class. | |
| TransformCacheBase (const TransformCacheBase &other) noexcept=delete | |
| Copy the constructors from the base class. | |
| TransformCacheBase (TransformCacheBase &&other) noexcept=delete | |
| Copy the constructors from the base class. | |
| 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 Acts::GeometryContext &gctx) const |
| returns the cached transform from the Acts Geometry context | |
| 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 = DetectorAlignStore::TrackingAlignStore |
Private Attributes | |
| const IdentifierHash | m_hash {0} |
| const DetectorType | m_type {DetectorType::UnDefined} |
| const unsigned int | m_clientNo {TicketCounter::drawTicket(m_type)} |
| std::shared_mutex m_mutex | ATLAS_THREAD_SAFE {} |
| CxxUtils::CachedUniquePtrT< Amg::Transform3D > m_nomCache | ATLAS_THREAD_SAFE {} |
Implementation used for the Detector elements.
Definition at line 65 of file TransformCache.h.
|
privateinherited |
Definition at line 57 of file TransformCache.h.
|
inherited |
|
protectedpure virtualinherited |
Implemented in ActsTrk::TransformCacheDetEle< CachingDetectorEle >, ActsTrk::TransformCacheDetEle< CachingDetectorEle >, ActsTrk::TransformCacheDetEle< CachingDetectorEle >, ActsTrk::TransformCacheDetEle< CachingDetectorEle >, ActsTrk::TransformCacheDetEle< CachingDetectorEle >, ActsTrk::TransformCacheDetEle< CachingDetectorEle >, ActsTrk::TransformCacheDetEle< CachingDetectorEle >, ActsTrk::TransformCacheDetEle< CachingDetectorEle >, ActsTrk::TransformCacheDetEle< ActsDetectorElement >, ActsTrk::TransformCacheDetEle< ActsDetectorElement >, ActsTrk::TransformCacheDetEle< ActsDetectorElement >, ActsTrk::TransformCacheDetEle< ActsDetectorElement >, ActsTrk::TransformCacheDetEle< ActsDetectorElement >, ActsTrk::TransformCacheDetEle< ActsDetectorElement >, ActsTrk::TransformCacheDetEle< ActsDetectorElement >, and ActsTrk::VolumePlacement::AlignedCache.
|
inherited |
returns the cached transform from the Acts Geometry context
|
inherited |
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 |
|
inherited |
Returns the sensor hash of this transformation cache.
|
pure virtual |
Returns the Identifier of the transform cache.
Implemented in ActsTrk::TransformCacheDetEle< CachingDetectorEle >, ActsTrk::TransformCacheDetEle< CachingDetectorEle >, ActsTrk::TransformCacheDetEle< CachingDetectorEle >, ActsTrk::TransformCacheDetEle< CachingDetectorEle >, ActsTrk::TransformCacheDetEle< CachingDetectorEle >, ActsTrk::TransformCacheDetEle< CachingDetectorEle >, ActsTrk::TransformCacheDetEle< ActsDetectorElement >, ActsTrk::TransformCacheDetEle< ActsDetectorElement >, ActsTrk::TransformCacheDetEle< ActsDetectorElement >, ActsTrk::TransformCacheDetEle< ActsDetectorElement >, and ActsTrk::TransformCacheDetEle< ActsDetectorElement >.
|
pure virtual |
Returns the parent IDetectorElement owning the cache.
Implemented in ActsTrk::TransformCacheDetEle< CachingDetectorEle >, and ActsTrk::TransformCacheDetEle< ActsDetectorElement >.
|
finalvirtual |
Release the nominal cache and release the transform from the.
Reimplemented from ActsTrk::TransformCacheBase.
Definition at line 22 of file TransformCache.cxx.
| ActsTrk::TransformCacheBase::TransformCacheBase | ( | const IdentifierHash & | cacheHash, |
| const DetectorType | type ) |
Copy the constructors from the base class.
Definition at line 23 of file TransformCache.cxx.
|
deletenoexcept |
Copy the constructors from the base class.
|
deletenoexcept |
Copy the constructors from the base class.
|
mutableprivateinherited |
Definition at line 60 of file TransformCache.h.
|
mutableprivateinherited |
Definition at line 59 of file TransformCache.h.
|
privateinherited |
Definition at line 58 of file TransformCache.h.
|
privateinherited |
Definition at line 55 of file TransformCache.h.
|
privateinherited |
Definition at line 56 of file TransformCache.h.