Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
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
11
#include "
Acts/Definitions/Algebra.hpp
"
12
#include "
Acts/Material/IVolumeMaterial.hpp
"
13
#include "
Acts/Material/Material.hpp
"
14
#include "
Acts/Utilities/BinUtility.hpp
"
15
16
#include <iosfwd>
17
18
namespace
Acts {
19
28
29
class
ProtoVolumeMaterial
:
public
IVolumeMaterial
{
30
public
:
32
ProtoVolumeMaterial
() =
default
;
33
38
ProtoVolumeMaterial
(
const
BinUtility
&
binUtility
);
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
:
71
BinUtility
m_binUtility
;
72
Material
m_material
;
73
};
74
76
inline
const
Acts::Material
Acts::ProtoVolumeMaterial::material
(
77
const
Acts::Vector3
&
/*position*/
)
const
{
78
return
m_material;
79
}
81
inline
const
Acts::BinUtility
&
Acts::ProtoVolumeMaterial::binUtility
()
const
{
82
return
m_binUtility;
83
}
84
85
}
// namespace Acts
acts
blob
sPHENIX
Core
include
Acts
Material
ProtoVolumeMaterial.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:33
using
1.8.2 with
sPHENIX GitHub integration