ATLAS Offline Software
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 
23 namespace ActsTrk {
29 #ifndef SIMULATIONBASE
30  : public Acts::DetectorElementBase
31 #endif
32  {
33  public:
35  ~IDetectorElementBase() = default;
37  virtual Identifier identify() const = 0;
39  virtual DetectorType detectorType() const = 0;
40 
41  };
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
SGTest::store
TestStore store
Definition: TestStore.cxx:23
ActsTrk::DetectorType
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
Definition: GeometryDefs.h:17
ActsGeometryContext.h
ActsTrk::IDetectorElementBase::identify
virtual Identifier identify() const =0
Return the ATLAS identifier.
ActsTrk::DetectorAlignStore
Definition: DetectorAlignStore.h:20
ActsTrk::IDetectorElementBase::~IDetectorElementBase
~IDetectorElementBase()=default
Default destructor.
ActsTrk::IDetectorElementBase::detectorType
virtual DetectorType detectorType() const =0
Returns the detector element type.
ActsTrk::IDetectorElementBase
base class interface providing the bare minimal interface extension.
Definition: IDetectorElement.h:32
GeometryDefs.h
ActsTrk::IDetectorElement
Base class interface for the actual readout elements.
Definition: IDetectorElement.h:43
ActsTrk::IDetectorElement::storeAlignedTransforms
virtual unsigned int storeAlignedTransforms(const ActsTrk::DetectorAlignStore &store) const =0
Caches the aligned transformation in the provided store. Returns the number of cached elements.
ActsTrk::IDetectorElement::~IDetectorElement
virtual ~IDetectorElement()=default
DetectorAlignStore.h
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MuonDetectorBuilderTool.cxx:54
Identifier
Definition: IdentifierFieldParser.cxx:14