EIC Software
Reference for
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
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
#include "
Acts/Material/IVolumeMaterial.hpp
"
11
#include "
Acts/Material/Material.hpp
"
12
#include "
Acts/Utilities/BinUtility.hpp
"
13
14
namespace
Acts {
15
24
25
class
ProtoVolumeMaterial
:
public
IVolumeMaterial
{
26
public
:
28
ProtoVolumeMaterial
() =
default
;
29
34
ProtoVolumeMaterial
(
const
BinUtility
&
binUtility
);
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
:
67
BinUtility
m_binUtility
;
68
Material
m_material
;
69
};
70
72
inline
const
Acts::Material
Acts::ProtoVolumeMaterial::material
(
73
const
Acts::Vector3D
&
/*position*/
)
const
{
74
return
m_material;
75
}
77
inline
const
Acts::BinUtility
&
Acts::ProtoVolumeMaterial::binUtility
()
const
{
78
return
m_binUtility;
79
}
80
81
}
// namespace Acts
acts
blob
sPHENIX
Core
include
Acts
Material
ProtoVolumeMaterial.hpp
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:23
using
1.8.2 with
EIC GitHub integration