ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ProtoSurfaceMaterial.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file ProtoSurfaceMaterial.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
12 
13 namespace Acts {
14 
23 
25  public:
27  ProtoSurfaceMaterial() = default;
28 
34 
38  ProtoSurfaceMaterial(const ProtoSurfaceMaterial& smproxy) = default;
39 
43  ProtoSurfaceMaterial(ProtoSurfaceMaterial&& smproxy) = default;
44 
48  ~ProtoSurfaceMaterial() override = default;
49 
54  default;
55 
60 
64  ProtoSurfaceMaterial& operator*=(double scale) final;
65 
67  const BinUtility& binUtility() const;
68 
75  const MaterialProperties& materialProperties(const Vector2D& lp) const final;
76 
83  const MaterialProperties& materialProperties(const Vector3D& gp) const final;
84 
91  const MaterialProperties& materialProperties(size_t ib0,
92  size_t ib1) const final;
93 
95  std::ostream& toStream(std::ostream& sl) const final;
96 
97  private:
102 
105 };
106 } // namespace Acts
107 
108 inline const Acts::MaterialProperties&
110  return (m_materialProperties);
111 }
112 
113 inline const Acts::MaterialProperties&
115  return (m_materialProperties);
116 }
117 
118 inline const Acts::MaterialProperties&
120  size_t /*ib1*/) const {
121  return (m_materialProperties);
122 }
123 
125  return m_binUtility;
126 }