![]() |
ATLAS Offline Software
|
Auxiliary class to store the aligned transforms of the volume and of the associated portals. More...
Public Types | |
| enum class | CacheFlags : std::uint8_t { volumeLocToGlob , volumeGlobToLoc , portalLocToGlob } |
| Flag to indicate which kind of transform is handled by the AlignedCache. More... | |
Public Member Functions | |
| AlignedCache (const CacheFlags flags, const DetectorType type, const VolumePlacement *parent) | |
| Constructor for the cache storing the of the volume itself. | |
| AlignedCache (const VolumePlacement *parent, const std::size_t portalIdx) | |
| Constructor for the cache storing the transform of the alignable portals. | |
| virtual Amg::Transform3D | fetchTransform (const DetectorAlignStore *store) const override |
| Fetch the transform to store it in the detector alignment cache. | |
| 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 | |
| virtual void | releaseNominalCache () const |
| resets the nominal cache associated with the detector element | |
| DetectorType | detectorType () const |
| returns the detector type of the cache | |
Private Types | |
| using | TicketCounter = DetectorAlignStore::TrackingAlignStore |
Private Attributes | |
| const VolumePlacement * | m_parent {nullptr} |
| Back reference to the parent VolumePlacement. | |
| CacheFlags | m_flags {CacheFlags::portalLocToGlob} |
| Flags to indicate which transform type is handled. | |
| 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 {} |
Auxiliary class to store the aligned transforms of the volume and of the associated portals.
Definition at line 87 of file VolumePlacement.h.
|
privateinherited |
Definition at line 57 of file TransformCache.h.
|
strong |
Flag to indicate which kind of transform is handled by the AlignedCache.
| Enumerator | |
|---|---|
| volumeLocToGlob | |
| volumeGlobToLoc | |
| portalLocToGlob | |
Definition at line 90 of file VolumePlacement.h.
|
explicit |
Constructor for the cache storing the of the volume itself.
| flags | Flag indicating local -> global or global -> local |
| type | In which detector transform store is the cache appended |
| parent | Pointer to the parent creating the cache |
Definition at line 13 of file VolumePlacement.cxx.
|
explicit |
Constructor for the cache storing the transform of the alignable portals.
| parent | Pointer to the parent creating the cache |
| portalidx | Index of the portal represented by the cache |
Definition at line 18 of file VolumePlacement.cxx.
|
inherited |
|
overridevirtual |
Fetch the transform to store it in the detector alignment cache.
Implements ActsTrk::TransformCacheBase.
Definition at line 23 of file VolumePlacement.cxx.
|
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.
|
virtualinherited |
resets the nominal cache associated with the detector element
Reimplemented in ActsTrk::TransformCache.
Definition at line 16 of file TransformCache.cxx.
|
mutableprivateinherited |
Definition at line 59 of file TransformCache.h.
|
mutableprivateinherited |
Definition at line 60 of file TransformCache.h.
|
privateinherited |
Definition at line 58 of file TransformCache.h.
|
private |
Flags to indicate which transform type is handled.
Definition at line 115 of file VolumePlacement.h.
|
privateinherited |
Definition at line 55 of file TransformCache.h.
|
private |
Back reference to the parent VolumePlacement.
Definition at line 113 of file VolumePlacement.h.
|
privateinherited |
Definition at line 56 of file TransformCache.h.