Analysis Software
Documentation for sPHENIX simulation 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
10 
15 
16 #include <iosfwd>
17 
18 namespace Acts {
19 
28 
30  public:
32  ProtoVolumeMaterial() = default;
33 
39 
43  ProtoVolumeMaterial(const ProtoVolumeMaterial& vmproxy) = default;
44 
48  ProtoVolumeMaterial(ProtoVolumeMaterial&& vmproxy) = default;
49 
52  ~ProtoVolumeMaterial() override = default;
53 
55  const BinUtility& binUtility() const;
56 
60  ProtoVolumeMaterial& operator=(const ProtoVolumeMaterial& vmproxy) = default;
61 
63  const Material material(const Vector3& /*position*/) const final;
64 
68  std::ostream& toStream(std::ostream& sl) const final;
69 
70  private:
73 };
74 
77  const Acts::Vector3& /*position*/) const {
78  return m_material;
79 }
82  return m_binUtility;
83 }
84 
85 } // namespace Acts