ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
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
10
#include "
Acts/Material/ISurfaceMaterial.hpp
"
11
#include "
Acts/Utilities/BinUtility.hpp
"
12
13
namespace
Acts {
14
23
24
class
ProtoSurfaceMaterial
:
public
ISurfaceMaterial
{
25
public
:
27
ProtoSurfaceMaterial
() =
default
;
28
33
ProtoSurfaceMaterial
(
const
BinUtility
&
binUtility
);
34
38
ProtoSurfaceMaterial
(
const
ProtoSurfaceMaterial
& smproxy) =
default
;
39
43
ProtoSurfaceMaterial
(
ProtoSurfaceMaterial
&& smproxy) =
default
;
44
48
~ProtoSurfaceMaterial
()
override
=
default
;
49
53
ProtoSurfaceMaterial
&
operator=
(
const
ProtoSurfaceMaterial
& smproxy) =
54
default
;
55
59
ProtoSurfaceMaterial
&
operator=
(
ProtoSurfaceMaterial
&& smproxy) =
default
;
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
:
101
BinUtility
m_binUtility
;
102
104
MaterialProperties
m_materialProperties
;
105
};
106
}
// namespace Acts
107
108
inline
const
Acts::MaterialProperties
&
109
Acts::ProtoSurfaceMaterial::materialProperties
(
const
Vector2D
&
/*lp*/
)
const
{
110
return
(
m_materialProperties
);
111
}
112
113
inline
const
Acts::MaterialProperties
&
114
Acts::ProtoSurfaceMaterial::materialProperties
(
const
Vector3D
&
/*gp*/
)
const
{
115
return
(m_materialProperties);
116
}
117
118
inline
const
Acts::MaterialProperties
&
119
Acts::ProtoSurfaceMaterial::materialProperties
(
size_t
/*ib0*/
,
120
size_t
/*ib1*/
)
const
{
121
return
(m_materialProperties);
122
}
123
124
inline
const
Acts::BinUtility
&
Acts::ProtoSurfaceMaterial::binUtility
()
const
{
125
return
m_binUtility;
126
}
acts
blob
master
Core
include
Acts
Material
ProtoSurfaceMaterial.hpp
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:20
using
1.8.2 with
ECCE GitHub integration