ECCE @ 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-2018 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 
10 // ILayerBuilder.h, Acts project
12 
13 #pragma once
14 #include <memory>
15 #include <string>
16 #include <vector>
18 
19 namespace Acts {
20 
21 class Layer;
22 using LayerPtr = std::shared_ptr<const Layer>;
23 using LayerVector = std::vector<LayerPtr>;
24 
32  public:
34  virtual ~ILayerBuilder() = default;
35 
42  virtual const LayerVector negativeLayers(
43  const GeometryContext& gctx) const = 0;
44 
51  virtual const LayerVector centralLayers(
52  const GeometryContext& gctx) const = 0;
53 
60  virtual const LayerVector positiveLayers(
61  const GeometryContext& gctx) const = 0;
62 
65  virtual const std::string& identification() const = 0;
66 };
67 
68 } // namespace Acts