ATLAS Offline Software
Loading...
Searching...
No Matches
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
17namespace 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
Define macros for attributes used to control the static checker.
Interface class ILayerBuilders It inherits from IAlgTool.
virtual const std::string & identification() const override final
Name identification.
LayerProvider(const std::string &, const std::string &, const IInterface *)
Constructor.
virtual std::pair< const std::vector< Layer * >, const std::vector< Layer * > > endcapLayer() const override final
LayerBuilder interface method - returning the endcap layer.
virtual StatusCode initialize() override final
initialize
PublicToolHandle< ILayerBuilder > m_layerBuilder
virtual ~LayerProvider()=default
Destructor.
virtual const std::vector< Layer * > centralLayers() const override final
LayerBuilder interface method - returning the central layers.
Base Class for a Detector Layer in the Tracking realm.
Definition Layer.h:72
STL class.
Ensure that the ATLAS eigen extensions are properly loaded.
STL namespace.
#define private