ATLAS Offline Software
Loading...
Searching...
No Matches
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
12namespace Trk {
13
14 class Layer;
15 class DiscLayer;
16 class CylinderLayer;
17
25 : public AthAlgTool
26{
27
28public:
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
Define macros for attributes used to control the static checker.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Class to describe a cylindrical detector layer for tracking, it inhertis from both,...
Class to describe a disc-like detector layer for tracking, it inhertis from both, Layer base class an...
Definition DiscLayer.h:45
LayerProviderImpl(const std::string &, const std::string &, const IInterface *)
Constructor.
static const std::vector< Trk::Layer * > cylindricalLayersToCentralLayers(std::unique_ptr< const std::vector< Trk::CylinderLayer * > > cylinderLayers)
static std::pair< const std::vector< Trk::Layer * >, const std::vector< Trk::Layer * > > discLayersToEndcapLayers(std::unique_ptr< const std::vector< Trk::DiscLayer * > > discLayers)
virtual ~LayerProviderImpl()=default
Destructor.
Base Class for a Detector Layer in the Tracking realm.
Definition Layer.h:72
Ensure that the ATLAS eigen extensions are properly loaded.