ATLAS Offline Software
Loading...
Searching...
No Matches
IDetectorElement.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef ACTSGEOMETRYINTERFACES_IACTSDETECTORELEMENT_H
5#define ACTSGEOMETRYINTERFACES_IACTSDETECTORELEMENT_H
6
10#ifndef SIMULATIONBASE
11# include "Acts/Geometry/DetectorElementBase.hpp"
12#endif
15#include "Identifier/Identifier.h"
16
23namespace ActsTrk {
29#ifndef SIMULATIONBASE
30 : public Acts::DetectorElementBase
31#endif
32 {
33 public:
37 virtual Identifier identify() const = 0;
39 virtual DetectorType detectorType() const = 0;
40
41 };
42
44 public:
45 virtual ~IDetectorElement() = default;
46
48 virtual unsigned int storeAlignedTransforms(const ActsTrk::DetectorAlignStore& store) const = 0;
49 };
50} // namespace ActsTrk
51
52#endif
base class interface providing the bare minimal interface extension.
virtual DetectorType detectorType() const =0
Returns the detector element type.
~IDetectorElementBase()=default
Default destructor.
virtual Identifier identify() const =0
Return the ATLAS identifier.
Base class interface for the actual readout elements.
virtual ~IDetectorElement()=default
virtual unsigned int storeAlignedTransforms(const ActsTrk::DetectorAlignStore &store) const =0
Caches the aligned transformation in the provided store. Returns the number of cached elements.
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.