Belle II Software
release-05-01-25
Material.cc
1
#include "Material.h"
2
3
#include "IO.h"
4
5
namespace
genfit
{
6
7
bool
operator== (
const
Material& lhs,
const
Material& rhs){
8
if
(&lhs == &rhs)
9
return
true
;
10
11
return
!(lhs.density != rhs.density or
12
lhs.Z != rhs.Z or
13
lhs.A != rhs.A or
14
lhs.radiationLength != rhs.radiationLength or
15
lhs.mEE != rhs.mEE);
16
17
}
18
19
bool
operator!= (
const
Material& lhs,
const
Material& rhs) {
20
return
!(lhs==rhs);
21
}
22
23
void
Material::Print(
const
Option_t*)
const
{
24
printOut
<<
"Density = "
<< density <<
", \t"
25
<<
"Z = "
<<
Z
<<
", \t"
26
<<
"A = "
<<
A
<<
", \t"
27
<<
"radiationLength = "
<<
radiationLength
<<
", \t"
28
<<
"mEE = "
<<
mEE
<<
"\n"
;
29
}
30
31
}
genfit::Material::mEE
Scalar mEE
Radiation Length in cm.
Definition:
Material.h:15
genfit::Material::Z
Scalar Z
Density in g / cm^3.
Definition:
Material.h:12
genfit::Material::A
Scalar A
Atomic number.
Definition:
Material.h:13
genfit::printOut
std::ostream printOut
Default stream for output of Print calls.
genfit
Defines for I/O streams used for error and debug printing.
Definition:
AlignablePXDRecoHit.h:19
genfit::Material::radiationLength
Scalar radiationLength
Mass number in g / mol.
Definition:
Material.h:14
genfit2
code2
core
src
Material.cc
Generated on Fri Nov 5 2021 03:54:01 for Belle II Software by
1.8.17