Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DD4hepDetectorElement.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file DD4hepDetectorElement.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2017-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 
13 
14 #include <map>
15 #include <memory>
16 #include <string>
17 
18 #include "DD4hep/DetElement.h"
19 #include "DD4hep/Segmentations.h"
20 
21 namespace Acts {
22 
24 class DigitizationModule;
25 class ISurfaceMaterial;
26 
40  public:
43 
45  using Store = std::map<std::string,
46  std::vector<std::shared_ptr<DD4hepDetectorElement>>>;
47 
78  const dd4hep::DetElement detElement, const std::string& axes = "XYZ",
79  double scalor = 1., bool isDisc = false,
80  std::shared_ptr<const ISurfaceMaterial> material = nullptr);
81 
82  ~DD4hepDetectorElement() override = default;
83 
84  private:
86  dd4hep::DetElement m_detElement;
89 };
90 } // namespace Acts