ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AbstractVolume.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file AbstractVolume.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 // AbstractVolume.h, Acts project
12 
13 #pragma once
14 #include <vector>
16 #include "Acts/Geometry/Volume.hpp"
18 
19 namespace Acts {
20 
21 class AbstractVolume;
22 using BoundarySurfacePtr =
23  std::shared_ptr<const BoundarySurfaceT<AbstractVolume>>;
24 
25 class VolumeBounds;
26 using VolumeBoundsPtr = std::shared_ptr<const VolumeBounds>;
27 
51 
52 class AbstractVolume : public Volume {
53  public:
58  AbstractVolume(std::shared_ptr<const Transform3D> htrans,
59  VolumeBoundsPtr volbounds);
60 
62  AbstractVolume(const AbstractVolume& vol) = default;
63 
65  AbstractVolume() = delete;
66 
67  // Virtual Destructor
68  ~AbstractVolume() override;
69 
71  AbstractVolume& operator=(const AbstractVolume& vol) = delete;
72 
76  const std::vector<BoundarySurfacePtr>& boundarySurfaces() const;
77 
78  private:
81 
83  std::vector<BoundarySurfacePtr> m_boundarySurfaces;
84 };
85 
86 } // namespace Acts