ATLAS Offline Software
LayerProviderImpl.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_LAYERPROVIDERIMPL_H
6 #define TRKDETDESCRTOOLS_LAYERPROVIDERIMPL_H
7 
8 // Gaudi & Athena
11 
12 namespace Trk {
13 
14  class Layer;
15  class DiscLayer;
16  class CylinderLayer;
17 
25  : public AthAlgTool
26 {
27 
28 public:
30  LayerProviderImpl(const std::string&, const std::string&, const IInterface*);
31 
33  virtual ~LayerProviderImpl() = default;
34 
35  protected:
36  static std::pair<const std::vector<Trk::Layer*>, const std::vector<Trk::Layer*> >
37  discLayersToEndcapLayers(std::unique_ptr<const std::vector<Trk::DiscLayer*> > discLayers) ;
38 
39  static const std::vector<Trk::Layer*>
40  cylindricalLayersToCentralLayers(std::unique_ptr<const std::vector<Trk::CylinderLayer*> > cylinderLayers) ;
41 };
42 
43 } // end of namespace
44 
45 #endif // TRKDETDESCRTOOLS_LAYERPROVIDERCOND_H
46 
Trk::LayerProviderImpl::discLayersToEndcapLayers
static std::pair< const std::vector< Trk::Layer * >, const std::vector< Trk::Layer * > > discLayersToEndcapLayers(std::unique_ptr< const std::vector< Trk::DiscLayer * > > discLayers)
Definition: LayerProviderImpl.cxx:35
python.RingerConstants.Layer
Layer
Definition: RingerConstants.py:42
Trk::LayerProviderImpl
Definition: LayerProviderImpl.h:26
Trk::LayerProviderImpl::~LayerProviderImpl
virtual ~LayerProviderImpl()=default
Destructor.
AthAlgTool.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::LayerProviderImpl::cylindricalLayersToCentralLayers
static const std::vector< Trk::Layer * > cylindricalLayersToCentralLayers(std::unique_ptr< const std::vector< Trk::CylinderLayer * > > cylinderLayers)
Definition: LayerProviderImpl.cxx:20
Trk::LayerProviderImpl::LayerProviderImpl
LayerProviderImpl(const std::string &, const std::string &, const IInterface *)
Constructor.
Definition: LayerProviderImpl.cxx:11
AthAlgTool
Definition: AthAlgTool.h:26
checker_macros.h
Define macros for attributes used to control the static checker.