ATLAS Offline Software
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 
17 namespace Trk {
18 
19  class Layer;
20 
27 class LayerProviderCond final
28  : public extends<LayerProviderImpl, ILayerProviderCond>
29 {
30 
31 public:
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 
54 private:
55  PublicToolHandle<ILayerBuilderCond> m_layerBuilder{this, "LayerBuilder", ""}; // Name specification from outside
56 };
57 
58 } // end of namespace
59 
60 #endif // TRKDETDESCRTOOLS_LAYERPROVIDERCOND_H
61 
LayerProviderImpl.h
Trk::LayerProviderCond::initialize
virtual StatusCode initialize() override final
initialize
Definition: LayerProviderCond.cxx:21
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
Trk::ILayerBuilderCond
Definition: ILayerBuilderCond.h:35
Trk::LayerProviderCond::identification
virtual const std::string & identification() const override final
Name identification.
Definition: LayerProviderCond.cxx:52
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
python.RingerConstants.Layer
Layer
Definition: RingerConstants.py:42
Trk::LayerProviderCond
Definition: LayerProviderCond.h:29
ILayerProviderCond.h
Trk::TrackingGeometry
Definition: TrackingGeometry.h:67
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::LayerProviderCond::m_layerBuilder
PublicToolHandle< ILayerBuilderCond > m_layerBuilder
Definition: LayerProviderCond.h:55
Trk::LayerProviderCond::endcapLayer
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.
Definition: LayerProviderCond.cxx:42
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
Trk::LayerProviderCond::LayerProviderCond
LayerProviderCond(const std::string &, const std::string &, const IInterface *)
Constructor.
Definition: LayerProviderCond.cxx:12
Trk::LayerProviderCond::~LayerProviderCond
virtual ~LayerProviderCond()=default
Destructor.
Trk::LayerProviderCond::centralLayers
virtual const std::vector< Layer * > centralLayers(const EventContext &ctx, SG::WriteCondHandle< TrackingGeometry > &whandle) const override final
LayerBuilder interface method - returning the central layers.
Definition: LayerProviderCond.cxx:31
checker_macros.h
Define macros for attributes used to control the static checker.
ILayerBuilderCond.h
Trk::Layer
Definition: Layer.h:73