Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
LayerProvider.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRKDETDESCRTOOLS_LAYERPROVIDER_H
6 #define TRKDETDESCRTOOLS_LAYERPROVIDER_H
7 
8 // Trk
12 // Gaudi & Athena
13 #include "GaudiKernel/ToolHandle.h"
16 
17 namespace Trk {
18 
19  class Layer;
20 
26  class LayerProvider : public extends<LayerProviderImpl, ILayerProvider>
27  {
28  public:
30  LayerProvider(const std::string&,const std::string&,const IInterface*);
31 
33  virtual ~LayerProvider() = default;
34 
36  virtual StatusCode initialize() override final;
37 
39  virtual std::pair<const std::vector<Layer*>, const std::vector<Layer*> > endcapLayer() const override final;
40 
42  virtual const std::vector<Layer*> centralLayers() const override final;
43 
45  virtual const std::string& identification() const override final;
46 
47  private:
48  PublicToolHandle<ILayerBuilder> m_layerBuilder{this, "LayerBuilder", ""};
49  };
50 
51 
52 } // end of namespace
53 
54 #endif // TRKDETDESCRTOOLS_LAYERPROVIDER_H
LayerProviderImpl.h
Trk::LayerProvider::identification
virtual const std::string & identification() const override final
Name identification.
Definition: LayerProvider.cxx:45
Trk::LayerProvider::m_layerBuilder
PublicToolHandle< ILayerBuilder > m_layerBuilder
Definition: LayerProvider.h:48
ILayerBuilder.h
Trk::ILayerBuilder
Definition: ILayerBuilder.h:30
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
python.RingerConstants.Layer
Layer
Definition: RingerConstants.py:42
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
vector
Definition: MultiHisto.h:13
AthAlgTool.h
Trk::LayerProvider
Definition: LayerProvider.h:27
Trk::LayerProvider::initialize
virtual StatusCode initialize() override final
initialize
Definition: LayerProvider.cxx:18
Trk::LayerProvider::centralLayers
virtual const std::vector< Layer * > centralLayers() const override final
LayerBuilder interface method - returning the central layers.
Definition: LayerProvider.cxx:27
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
ILayerProvider.h
Trk::LayerProvider::~LayerProvider
virtual ~LayerProvider()=default
Destructor.
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
Trk::LayerProvider::endcapLayer
virtual std::pair< const std::vector< Layer * >, const std::vector< Layer * > > endcapLayer() const override final
LayerBuilder interface method - returning the endcap layer.
Definition: LayerProvider.cxx:37
Trk::LayerProvider::LayerProvider
LayerProvider(const std::string &, const std::string &, const IInterface *)
Constructor.
Definition: LayerProvider.cxx:12
checker_macros.h
Define macros for attributes used to control the static checker.
Trk::Layer
Definition: Layer.h:72