Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DetectorComponents.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file DetectorComponents.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2023 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 
15 
16 #include <map>
17 #include <memory>
18 #include <vector>
19 
20 namespace Acts {
21 
22 class VolumeBounds;
23 class Surface;
24 
25 namespace Experimental {
26 
27 class DetectorVolume;
28 class Portal;
29 
40  std::vector<std::shared_ptr<DetectorVolume>> volumes = {};
43 };
44 
55  using PortalContainer = std::map<unsigned int, std::shared_ptr<Portal>>;
57  std::vector<std::shared_ptr<DetectorVolume>> volumes = {};
62 };
63 
68  Transform3 transform = Transform3::Identity();
70  std::unique_ptr<VolumeBounds> bounds = nullptr;
73 };
74 
81  std::vector<std::shared_ptr<Surface>> surfaces = {};
83  std::vector<std::shared_ptr<DetectorVolume>> volumes = {};
86  // Navigation delegate for volumes
88 };
89 
90 } // namespace Experimental
91 } // namespace Acts