EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ILayerBuilder.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file ILayerBuilder.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2016-2020 CERN for the benefit of the Acts project
4 //
5 // This Source Code Form is subject to the terms of the Mozilla Public
6 // License, v. 2.0. If a copy of the MPL was not distributed with this
7 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 
9 #pragma once
10 
12 
13 #include <memory>
14 #include <string>
15 #include <vector>
16 
17 namespace Acts {
18 
19 class Layer;
20 using LayerPtr = std::shared_ptr<const Layer>;
21 using LayerVector = std::vector<LayerPtr>;
22 
30  public:
32  virtual ~ILayerBuilder() = default;
33 
40  virtual const LayerVector negativeLayers(
41  const GeometryContext& gctx) const = 0;
42 
49  virtual const LayerVector centralLayers(
50  const GeometryContext& gctx) const = 0;
51 
58  virtual const LayerVector positiveLayers(
59  const GeometryContext& gctx) const = 0;
60 
63  virtual const std::string& identification() const = 0;
64 };
65 
66 } // namespace Acts