ATLAS Offline Software
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 
8 namespace ActsTrk {
11  }
13  const DetectorType type):
14  m_hash{hash},
15  m_type{type} {}
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 }
ActsTrk::DetectorType
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
Definition: GeometryDefs.h:17
ActsTrk::TransformCache::parent
virtual const IDetectorElement * parent() const =0
Returns the parent IDetectorElement owning the cache.
ActsTrk::TransformCache::releaseNominalCache
void releaseNominalCache() const
resets the nominal cache associated with the detector element
Definition: TransformCache.cxx:17
ActsTrk::TransformCache::~TransformCache
virtual ~TransformCache()
Definition: TransformCache.cxx:9
m_type
TokenType m_type
the type
Definition: TProperty.cxx:44
ActsTrk::TransformCache::m_clientNo
const unsigned int m_clientNo
Definition: TransformCache.h:60
ActsTrk::TransformCache::m_type
const DetectorType m_type
Definition: TransformCache.h:58
ActsTrk::DetectorAlignStore::TrackingAlignStore::giveBackTicket
static void giveBackTicket(const DetectorType detType, unsigned int ticketNo)
Definition: DetectorAlignStore.cxx:60
ActsTrk::TransformCache::hash
IdentifierHash hash() const
Returns the sensor hash of this transformation cache.
ActsTrk::TransformCache::TransformCache
TransformCache(const IdentifierHash &cacheHash, const DetectorType type)
Definition: TransformCache.cxx:12
ActsTrk::TransformCache::detectorType
DetectorType detectorType() const
returns the detector type of the cache
Definition: TransformCache.cxx:23
TransformCache.h
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:109
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MuonDetectorBuilderTool.cxx:49
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25