ATLAS Offline Software
Loading...
Searching...
No Matches
TransformCache.cxx
Go to the documentation of this file.
1
2/*
3 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
4*/
6#include <GeoModelKernel/GeoVDetectorElement.h>
7
8namespace ActsTrk {
15
17 std::unique_lock guard{m_mutex};
18 m_nomCache.release();
19 }
21
24 const GeoVDetectorElement* vParent = dynamic_cast<const GeoVDetectorElement*>(parent());
25 if (vParent) {
26 vParent->getMaterialGeom()->clearPositionInfo();
27 }
28 }
29}
static void giveBackTicket(const DetectorType detType, unsigned int ticketNo)
Return back a ticket for the specified detector type such that its slot can be used by another instan...
TransformCacheBase(const IdentifierHash &cacheHash, const DetectorType type)
const DetectorType m_type
IdentifierHash hash() const
Returns the sensor hash of this transformation cache.
virtual void releaseNominalCache() const
resets the nominal cache associated with the detector element
const unsigned int m_clientNo
virtual ~TransformCacheBase()
Default destructors.
DetectorType detectorType() const
returns the detector type of the cache
const IdentifierHash m_hash
virtual void releaseNominalCache() const final
Release the nominal cache and release the transform from the.
virtual const IDetectorElement * parent() const =0
Returns the parent IDetectorElement owning the cache.
This is a "hash" representation of an Identifier.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.