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
EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
blob
sPHENIX
CI
Core
include
Acts
EventData
Geometry
MagneticField
Material
detail
AccumulatedMaterialSlab.hpp
AccumulatedSurfaceMaterial.hpp
AccumulatedVolumeMaterial.hpp
BinnedSurfaceMaterial.hpp
HomogeneousSurfaceMaterial.hpp
HomogeneousVolumeMaterial.hpp
IMaterialDecorator.hpp
Interactions.hpp
InterpolatedMaterialMap.hpp
ISurfaceMaterial.hpp
IVolumeMaterial.hpp
Material.hpp
MaterialCollector.hpp
MaterialComposition.hpp
MaterialGridHelper.hpp
MaterialMapUtils.hpp
MaterialSlab.hpp
ProtoSurfaceMaterial.hpp
ProtoVolumeMaterial.hpp
SurfaceMaterialMapper.hpp
VolumeMaterialMapper.hpp
Propagator
Seeding
Surfaces
TrackFinding
TrackFitting
Utilities
Vertexing
Visualization
src
docs
Examples
Fatras
Plugins
Tests
thirdparty
BeastMagneticField
delphes_EIC
Doxygen_Assist
east
eic-smear
EicRoot
eicsmear-jetexample
eicsmeardetectors
EicToyModel
estarlight
Fun4All-lmon
fun4all_coresoftware
fun4all_eic_qa
fun4all_eic_tutorials
fun4all_eicdetectors
fun4all_eicmacros
fun4all_g4jleic
fun4all_GenFit
fun4all_macros
fun4all_tutorials
g4exampledetector
g4lblvtx
online_distribution
PEPSI
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
HomogeneousSurfaceMaterial.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file HomogeneousSurfaceMaterial.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/Material/ISurfaceMaterial.hpp
"
12
#include "
Acts/Material/MaterialSlab.hpp
"
13
#include "
Acts/Utilities/Definitions.hpp
"
14
15
namespace
Acts {
16
21
class
HomogeneousSurfaceMaterial
:
public
ISurfaceMaterial
{
22
public
:
24
HomogeneousSurfaceMaterial
() =
default
;
25
30
HomogeneousSurfaceMaterial
(
const
MaterialSlab
& full,
double
splitFactor = 1.);
31
35
HomogeneousSurfaceMaterial
(
const
HomogeneousSurfaceMaterial
& hsm) =
default
;
36
40
HomogeneousSurfaceMaterial
(
HomogeneousSurfaceMaterial
&& hsm) =
default
;
41
43
~HomogeneousSurfaceMaterial
()
override
=
default
;
44
48
HomogeneousSurfaceMaterial
&
operator=
(
const
HomogeneousSurfaceMaterial
& hsm) =
49
default
;
50
54
HomogeneousSurfaceMaterial
&
operator=
(
HomogeneousSurfaceMaterial
&& hsm) =
55
default
;
56
61
HomogeneousSurfaceMaterial
&
operator*=
(
double
scale)
final
;
62
66
bool
operator==
(
const
HomogeneousSurfaceMaterial
& hsm)
const
;
67
71
const
MaterialSlab
&
materialSlab
(
const
Vector2D
& lp)
const
final
;
72
76
const
MaterialSlab
&
materialSlab
(
const
Vector3D
& gp)
const
final
;
77
84
const
MaterialSlab
&
materialSlab
(
size_t
ib0,
size_t
ib1)
const
final
;
85
87
using
ISurfaceMaterial::materialSlab
;
88
90
using
ISurfaceMaterial::factor
;
91
95
std::ostream&
toStream
(std::ostream& sl)
const
final
;
96
97
private
:
99
MaterialSlab
m_fullMaterial
=
MaterialSlab
();
100
};
101
102
inline
const
MaterialSlab
&
HomogeneousSurfaceMaterial::materialSlab
(
103
const
Vector2D
&
/*lp*/
)
const
{
104
return
(
m_fullMaterial
);
105
}
106
107
inline
const
MaterialSlab
&
HomogeneousSurfaceMaterial::materialSlab
(
108
const
Vector3D
&
/*gp*/
)
const
{
109
return
(
m_fullMaterial
);
110
}
111
112
inline
const
MaterialSlab
&
HomogeneousSurfaceMaterial::materialSlab
(
113
size_t
/*ib0*/
,
size_t
/*ib1*/
)
const
{
114
return
(
m_fullMaterial
);
115
}
116
117
inline
bool
HomogeneousSurfaceMaterial::operator==
(
118
const
HomogeneousSurfaceMaterial
& hsm)
const
{
119
return
(
m_fullMaterial
== hsm.
m_fullMaterial
);
120
}
121
122
}
// namespace Acts
acts
blob
sPHENIX
Core
include
Acts
Material
HomogeneousSurfaceMaterial.hpp
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:23
using
1.8.2 with
EIC GitHub integration