ATLAS Offline Software
Loading...
Searching...
No Matches
LayerProviderCond.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_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 LayerProviderCond(const std::string&, const std::string&, const IInterface*);
34
36 virtual ~LayerProviderCond() = default;
37
39 virtual StatusCode initialize() override final;
40
42 virtual std::pair<const std::vector<Layer*>, const std::vector<Layer*> >
43 endcapLayer(const EventContext& ctx,
44 SG::WriteCondHandle<TrackingGeometry>& whandle) const override final;
45
47 virtual const std::vector<Layer*>
48 centralLayers(const EventContext& ctx,
49 SG::WriteCondHandle<TrackingGeometry>& whandle) const override final;
50
52 virtual const std::string& identification() const override final;
53
55 PublicToolHandle<ILayerBuilderCond> m_layerBuilder{this, "LayerBuilder", ""}; // Name specification from outside
56};
57
58} // end of namespace
59
60#endif // TRKDETDESCRTOOLS_LAYERPROVIDERCOND_H
61
Define macros for attributes used to control the static checker.
Interface class ILayerBuilderConds It inherits from IAlgTool.
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.
virtual ~LayerProviderCond()=default
Destructor.
PublicToolHandle< ILayerBuilderCond > m_layerBuilder
LayerProviderCond(const std::string &, const std::string &, const IInterface *)
Constructor.
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
The TrackingGeometry class is the owner of the constructed TrackingVolumes.
STL class.
Forward declaration.
Ensure that the ATLAS eigen extensions are properly loaded.
STL namespace.
#define private