ATLAS Offline Software
Loading...
Searching...
No Matches
TransformCache.cxx
Go to the documentation of this file.
1
2/*
3 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4*/
6#include <GeoModelKernel/GeoVDetectorElement.h>
7
8namespace ActsTrk {
16
18 std::unique_lock guard{m_mutex};
19 m_nomCache.release();
20 const GeoVDetectorElement* vParent = dynamic_cast<const GeoVDetectorElement*>(parent());
21 if (vParent) vParent->getMaterialGeom()->clearPositionInfo();
22 }
24}
static void giveBackTicket(const DetectorType detType, unsigned int ticketNo)
DetectorType detectorType() const
returns the detector type of the cache
IdentifierHash hash() const
Returns the sensor hash of this transformation cache.
const DetectorType m_type
const IdentifierHash m_hash
TransformCache(const IdentifierHash &cacheHash, const DetectorType type)
const unsigned int m_clientNo
void releaseNominalCache() const
resets the nominal cache associated with the detector element
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.