ATLAS Offline Software
ILayerProviderCond.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // ILayerProviderCond.h, (c) ATLAS Detector software
8 
9 #ifndef TRKDETDESCRINTERFACES_ILAYERPROVIDERCOND_H
10 #define TRKDETDESCRINTERFACES_ILAYERPROVIDERCOND_H
11 
12 // Gaudi
13 #include "GaudiKernel/EventContext.h"
14 #include "GaudiKernel/EventIDRange.h"
15 #include "GaudiKernel/IAlgTool.h"
17 // STL
18 #include <string>
19 #include <vector>
20 
21 namespace Trk {
22 
23 class Layer;
24 class TrackingGeometry;
25 
33 class ILayerProviderCond : virtual public IAlgTool
34 {
35 
36 public:
39 
41  virtual ~ILayerProviderCond() {}
42 
44  virtual std::pair<const std::vector<Layer*>, const std::vector<Layer*> >
45  endcapLayer(const EventContext& ctx,
46  SG::WriteCondHandle<TrackingGeometry>& whandle) const = 0;
47 
49  virtual const std::vector<Layer*>
50  centralLayers(const EventContext& ctx,
51  SG::WriteCondHandle<TrackingGeometry>& whandle) const = 0;
52 
54  virtual const std::string& identification() const = 0;
55 };
56 
57 } // end of namespace
58 
59 #endif // TRKDETDESCRINTERFACES_ILAYERPROVIDER_H
60 
Trk::ILayerProviderCond::identification
virtual const std::string & identification() const =0
Name identification.
python.RingerConstants.Layer
Layer
Definition: RingerConstants.py:42
Trk::ILayerProviderCond::centralLayers
virtual const std::vector< Layer * > centralLayers(const EventContext &ctx, SG::WriteCondHandle< TrackingGeometry > &whandle) const =0
LayerBuilder interface method - returning the central layers.
WriteCondHandle.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::ILayerProviderCond::DeclareInterfaceID
DeclareInterfaceID(ILayerProviderCond, 1, 0)
Creates the InterfaceID and interfaceID() method.
Trk::ILayerProviderCond::~ILayerProviderCond
virtual ~ILayerProviderCond()
Virtual destructor.
Definition: ILayerProviderCond.h:41
SG::WriteCondHandle
Definition: WriteCondHandle.h:26
Trk::ILayerProviderCond
Definition: ILayerProviderCond.h:34
Trk::ILayerProviderCond::endcapLayer
virtual std::pair< const std::vector< Layer * >, const std::vector< Layer * > > endcapLayer(const EventContext &ctx, SG::WriteCondHandle< TrackingGeometry > &whandle) const =0
LayerBuilder interface method - returning the endcap layer.