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 m_nomCache.release();
18 }
19
21 if (store.detType != detectorType() ||
22 store.trackingAlignment->getTransform(m_clientNo) != nullptr){
23 return false;
24 }
25 store.trackingAlignment->setTransform(m_clientNo, fetchTransform(&store));
26 return true;
27 }
29
32 const GeoVDetectorElement* vParent = dynamic_cast<const GeoVDetectorElement*>(parent());
33 if (vParent) {
34 vParent->getMaterialGeom()->clearPositionInfo();
35 }
36 }
37}
TransformCacheBase(const IdentifierHash &cacheHash, const DetectorType type)
const DetectorType m_type
bool storeTransform(DetectorAlignStore &store) const
Store the final transform in the mutable alignment store.
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
virtual Amg::Transform3D fetchTransform(const DetectorAlignStore *store) const =0
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.
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...
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.