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 MaterialSlab& materialSlab(const Vector2D& lp) const final;
76 
83  const MaterialSlab& materialSlab(const Vector3D& gp) const final;
84 
91  const MaterialSlab& materialSlab(size_t ib0, size_t ib1) const final;
92 
94  std::ostream& toStream(std::ostream& sl) const final;
95 
96  private:
101 
104 };
105 } // namespace Acts
106 
108  const Vector2D& /*lp*/) const {
109  return (m_materialSlab);
110 }
111 
113  const Vector3D& /*gp*/) const {
114  return (m_materialSlab);
115 }
116 
118  size_t /*ib0*/, size_t /*ib1*/) const {
119  return (m_materialSlab);
120 }
121 
123  return m_binUtility;
124 }