ATLAS Offline Software
Loading...
Searching...
No Matches
SurfacePlacement.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#ifndef SIMULATIONBASE
7#include <Acts/Surfaces/Surface.hpp>
8#include <GeoModelKernel/throwExcept.h>
9
10namespace ActsTrk{
13
15 const Acts::Transform3& SurfacePlacement::localToGlobalTransform(const Acts::GeometryContext& tgContext) const {
16 return m_transformCache->getTransform(tgContext);
17 }
18 const Acts::Surface& SurfacePlacement::surface() const {
19 return *m_transformCache->m_surface;
20 }
21 Acts::Surface& SurfacePlacement::surface() {
22 return *m_transformCache->m_surface;
23 }
24 std::shared_ptr<Acts::Surface> SurfacePlacement::getSurface() const { return m_transformCache->m_surface; }
28}
29#endif
ATLAS interface of a detector element.
Interface extension for caches used to hold the transforms of surfaces from the readout geometry.
DetectorType detectorType() const override final
Returns the detector element type.
std::shared_ptr< Acts::Surface > getSurface() const
Returns a mutable shared pointer to the surface held by the placement.
const IReadoutSurfacePositioning * m_transformCache
Pointer to the parent.
Identifier identify() const override final
Return the ATLAS identifier of the surface.
SurfacePlacement(const SurfacePlacement &other)=delete
Delete the copy consturctor.
const Acts::Surface & surface() const override final
const IDetectorElement * detectorElement() const override final
Returns the detector element upstream.
const Acts::Transform3 & localToGlobalTransform(const Acts::GeometryContext &tgContext) const override final
IdentifierHash hash() const
Identifierhash of the associated IReadoutSurfacePositioning.
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.