EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ITrackingVolumeBuilder.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file ITrackingVolumeBuilder.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 
9 #pragma once
10 
12 
13 #include <memory>
14 #include <tuple>
15 #include <vector>
16 
17 namespace Acts {
18 
19 class VolumeBounds;
20 class TrackingVolume;
21 class Layer;
22 class Volume;
23 using TrackingVolumePtr = std::shared_ptr<const TrackingVolume>;
24 using MutableTrackingVolumePtr = std::shared_ptr<TrackingVolume>;
25 using VolumeBoundsPtr = std::shared_ptr<const VolumeBounds>;
26 using LayerPtr = std::shared_ptr<const Layer>;
27 using LayerVector = std::vector<LayerPtr>;
39 
41  public:
43  virtual ~ITrackingVolumeBuilder() = default;
44 
53  const GeometryContext& gctx, TrackingVolumePtr oppositeVolume = nullptr,
54  VolumeBoundsPtr outsideBounds = nullptr) const = 0;
55 };
56 
57 } // namespace Acts