ATLAS Offline Software
Loading...
Searching...
No Matches
LayerProviderCond.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRKDETDESCRTOOLS_LAYERPROVIDERCOND_H
6#define TRKDETDESCRTOOLS_LAYERPROVIDERCOND_H
7
8// Trk
12// Gaudi & Athena
15#include "GaudiKernel/ToolHandle.h"
16
17namespace Trk {
18
19 class Layer;
20
28 : public extends<LayerProviderImpl, ILayerProviderCond>
29{
30
31public:
33 using base_class::base_class;
34
36 virtual StatusCode initialize() override final;
37
39 virtual std::pair<const std::vector<Layer*>, const std::vector<Layer*> >
40 endcapLayer(const EventContext& ctx,
41 SG::WriteCondHandle<TrackingGeometry>& whandle) const override final;
42
44 virtual const std::vector<Layer*>
45 centralLayers(const EventContext& ctx,
46 SG::WriteCondHandle<TrackingGeometry>& whandle) const override final;
47
49 virtual const std::string& identification() const override final;
50
51private:
52 PublicToolHandle<ILayerBuilderCond> m_layerBuilder{this, "LayerBuilder", ""}; // Name specification from outside
53};
54
55} // end of namespace
56
57#endif // TRKDETDESCRTOOLS_LAYERPROVIDERCOND_H
58
Define macros for attributes used to control the static checker.
Wrapper around an ILayerBuilderCond to feed into the StagedGeometryBuilderCond.
virtual StatusCode initialize() override final
initialize
virtual const std::vector< Layer * > centralLayers(const EventContext &ctx, SG::WriteCondHandle< TrackingGeometry > &whandle) const override final
LayerBuilder interface method - returning the central layers.
PublicToolHandle< ILayerBuilderCond > m_layerBuilder
virtual std::pair< const std::vector< Layer * >, const std::vector< Layer * > > endcapLayer(const EventContext &ctx, SG::WriteCondHandle< TrackingGeometry > &whandle) const override final
LayerBuilder interface method - returning the layers in the endcaps.
virtual const std::string & identification() const override final
Name identification.
Base Class for a Detector Layer in the Tracking realm.
Definition Layer.h:72
Ensure that the ATLAS eigen extensions are properly loaded.