ATLAS Offline Software
Loading...
Searching...
No Matches
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
21namespace Trk {
22
23class Layer;
25
33class ILayerProviderCond : virtual public IAlgTool
34{
35
36public:
39
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
Interface class ILayerProviderConds it feeds into the StagedGeometryBuilder.
DeclareInterfaceID(ILayerProviderCond, 1, 0)
Creates the InterfaceID and interfaceID() method.
virtual const std::vector< Layer * > centralLayers(const EventContext &ctx, SG::WriteCondHandle< TrackingGeometry > &whandle) const =0
LayerBuilder interface method - returning the central layers.
virtual const std::string & identification() const =0
Name identification.
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.
virtual ~ILayerProviderCond()
Virtual destructor.
Base Class for a Detector Layer in the Tracking realm.
Definition Layer.h:72
The TrackingGeometry class is the owner of the constructed TrackingVolumes.
Ensure that the ATLAS eigen extensions are properly loaded.