Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONREADOUTGEOMETRY_SurfaceCache_H
6 #define MUONREADOUTGEOMETRY_SurfaceCache_H
31 const Acts::Transform3&
transform(
const Acts::GeometryContext& gctx)
const override final;
34 const Acts::Surface&
surface()
const override final;
35 Acts::Surface&
surface()
override final;
44 std::shared_ptr<Acts::Surface>
getSurface()
const;
59 inline bool operator<(
const std::unique_ptr<SurfaceCache>&
a,
60 const std::unique_ptr<SurfaceCache>&
b) {
61 return a->hash() <
b->hash();
const TransformCache * m_transformCache
const TransformCache * transformCache() const
Returns the associated transform cache.
Identifier identify() const override final
Returns the identifier of the Surface.
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
DetectorType detectorType() const override final
Returns the detector type.
: Helper class to connect the aligned transformations of each active sensor(layer) with the Acts::Sur...
void setSurface(const std::shared_ptr< Acts::Surface > surface)
Cache the pointer to the surface that's constructed from this cache.
base class interface providing the bare minimal interface extension.
std::shared_ptr< Acts::Surface > m_surface
bool operator<(const std::unique_ptr< SurfaceCache > &a, const std::unique_ptr< SurfaceCache > &b)
Comparison operators.
const Acts::Surface & surface() const override final
Returns the dereferenced pointer cache.
SurfaceCache(const TransformCache *transformCache)
: Standard constructor taking the tranasform cache of the element and the detector type.
IdentifierHash hash() const
Hash of the SurfaceCache which is the same as the one of the TransformCache.
std::shared_ptr< Acts::Surface > getSurface() const
Returns the pointer to the cached surface.
double thickness() const override final
Dummy override to satisfy the interface of the Acts::DetElementBase.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
const Acts::Transform3 & transform(const Acts::GeometryContext &gctx) const override final
Returns the transformation stored in the TransformCache.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...