ATLAS Offline Software
Loading...
Searching...
No Matches
IDetectorElement.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef ACTSGEOMETRYINTERFACES_IDETECTORELEMENT_H
5#define ACTSGEOMETRYINTERFACES_IDETECTORELEMENT_H
6
11
12#include "Identifier/Identifier.h"
13
14namespace ActsTrk {
21 public:
23 ~IDetectorElement() = default;
25 virtual Identifier identify() const = 0;
27 virtual DetectorType detectorType() const = 0;
32 virtual const Amg::Transform3D& localToGlobalTransform(const DetectorAlignStore* store) const = 0;
35 virtual const Amg::Transform3D& localToGlobalTransform(const GeometryContext& gctx) const = 0;
37 virtual unsigned storeAlignedTransforms(DetectorAlignStore& store) const = 0;
38 };
39} // namespace ActsTrk
40
41#endif
ATLAS interface of a detector element.
virtual unsigned storeAlignedTransforms(DetectorAlignStore &store) const =0
Caches the aligned transformation in the provided store.
virtual DetectorType detectorType() const =0
Returns the detector element type.
virtual Identifier identify() const =0
Return the ATLAS identifier.
virtual const Amg::Transform3D & localToGlobalTransform(const GeometryContext &gctx) const =0
Returns the aligned local to global transform from the passed geometry context.
~IDetectorElement()=default
Default destructor.
virtual const Amg::Transform3D & localToGlobalTransform(const DetectorAlignStore *store) const =0
Returns the reference to the aligned local to global transform from the DetectorAlignStore actually h...
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.
Eigen::Affine3d Transform3D