![]() |
ATLAS Offline Software
|
#include <TransformCache.h>
Public Member Functions | |
TransformCacheDetEle (const IdentifierHash &hash, const CachingDetectorEle *parentEle) | |
: Standard constructor taking the hash of the sensor element and and the TransformMaker expressed usually as a lambda function More... | |
const IDetectorElement * | parent () const override final |
Returns the parent IDetectorElement owning the cache. More... | |
TransformCacheDetEle (const IdentifierHash &hash, const MuonGMR4::MuonChamber *chamber) | |
const IDetectorElement * | parent () const |
Returns the parent IDetectorElement owning the cache. More... | |
TransformCacheDetEle (const IdentifierHash &hash, const MuonGMR4::MuonChamber *chamber) | |
const IDetectorElement * | parent () const |
Returns the parent IDetectorElement owning the cache. More... | |
IdentifierHash | hash () const |
Returns the sensor hash of this transformation cache. More... | |
const Amg::Transform3D & | getTransform (const DetectorAlignStore *store) const |
Returns the matching transformation from the alignment store. More... | |
const Amg::Transform3D & | transform (const Acts::GeometryContext &gctx) const |
returns the cached transform from the Acts Geometry context More... | |
void | releaseNominalCache () const |
resets the nominal cache associated with the detector element More... | |
DetectorType | detectorType () const |
returns the detector type of the cache More... | |
Private Types | |
using | TicketCounter = DetectorAlignStore::TrackingAlignStore |
Private Attributes | |
const CachingDetectorEle * | m_parent {nullptr} |
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 {} |
Definition at line 65 of file TransformCache.h.
|
privateinherited |
Definition at line 56 of file TransformCache.h.
ActsTrk::TransformCacheDetEle< CachingDetectorEle >::TransformCacheDetEle | ( | const IdentifierHash & | hash, |
const CachingDetectorEle * | parentEle | ||
) |
: Standard constructor taking the hash of the sensor element and and the TransformMaker expressed usually as a lambda function
ActsTrk::TransformCacheDetEle< MuonGMR4::MuonChamber >::TransformCacheDetEle | ( | const IdentifierHash & | hash, |
const MuonGMR4::MuonChamber * | chamber | ||
) |
ActsTrk::TransformCacheDetEle< MuonGMR4::MuonChamber >::TransformCacheDetEle | ( | const IdentifierHash & | hash, |
const MuonGMR4::MuonChamber * | chamber | ||
) |
Definition at line 12 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonChamber.cxx.
|
inherited |
|
privatevirtual |
If the store is given, assume that the tracking alignment already caches the transformations of the needed detector surfaces --> We can build a geo context on the fly.
Implements ActsTrk::TransformCache.
Definition at line 19 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonChamber.cxx.
|
privatevirtual |
Implements ActsTrk::TransformCache.
|
inlineprivatevirtual |
Implements ActsTrk::TransformCache.
Definition at line 123 of file ActsDetectorElement.h.
|
privatevirtual |
Implements ActsTrk::TransformCache.
|
privatevirtual |
Implements ActsTrk::TransformCache.
|
privatevirtual |
Implements ActsTrk::TransformCache.
|
privatevirtual |
Implements ActsTrk::TransformCache.
|
privatevirtual |
Implements ActsTrk::TransformCache.
|
privatevirtual |
Implements ActsTrk::TransformCache.
|
finaloverrideprivatevirtual |
Implements ActsTrk::TransformCache.
|
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.
|
inherited |
Returns the sensor hash of this transformation cache.
|
virtual |
Returns the parent IDetectorElement owning the cache.
Implements ActsTrk::TransformCache.
Definition at line 17 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonChamber.cxx.
|
virtual |
Returns the parent IDetectorElement owning the cache.
Implements ActsTrk::TransformCache.
|
finaloverridevirtual |
Returns the parent IDetectorElement owning the cache.
Implements ActsTrk::TransformCache.
|
inherited |
resets the nominal cache associated with the detector element
Definition at line 17 of file TransformCache.cxx.
|
inherited |
returns the cached transform from the Acts Geometry context
|
mutableprivateinherited |
Definition at line 58 of file TransformCache.h.
|
mutableprivateinherited |
Definition at line 59 of file TransformCache.h.
|
privateinherited |
Definition at line 57 of file TransformCache.h.
|
privateinherited |
Definition at line 54 of file TransformCache.h.
|
private |
Definition at line 76 of file TransformCache.h.
|
privateinherited |
Definition at line 55 of file TransformCache.h.