EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ProtoVolumeMaterial.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file ProtoVolumeMaterial.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2016-2020 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
13 
14 namespace Acts {
15 
24 
26  public:
28  ProtoVolumeMaterial() = default;
29 
35 
39  ProtoVolumeMaterial(const ProtoVolumeMaterial& vmproxy) = default;
40 
44  ProtoVolumeMaterial(ProtoVolumeMaterial&& vmproxy) = default;
45 
48  ~ProtoVolumeMaterial() override = default;
49 
51  const BinUtility& binUtility() const;
52 
56  ProtoVolumeMaterial& operator=(const ProtoVolumeMaterial& vmproxy) = default;
57 
59  const Material material(const Vector3D& /*position*/) const final;
60 
64  std::ostream& toStream(std::ostream& sl) const final;
65 
66  private:
69 };
70 
73  const Acts::Vector3D& /*position*/) const {
74  return m_material;
75 }
78  return m_binUtility;
79 }
80 
81 } // namespace Acts