Material properties needed e.g. for material effects calculation.
More...
#include <MaterialProperties.h>
|
| MaterialProperties () |
|
| MaterialProperties (const double &density, const double &Z, const double &A, const double &radiationLength, const double &mEE) |
|
double | getDensity () const |
|
double | getZ () const |
|
double | getA () const |
|
double | getRadLen () const |
|
double | getMEE () const |
|
void | getMaterialProperties (double &density, double &Z, double &A, double &radiationLength, double &mEE) const |
|
void | setMaterialProperties (const double &density, const double &Z, const double &A, const double &radiationLength, const double &mEE) |
|
void | Print (const Option_t *="") const |
|
|
double | density_ |
| density of material
|
|
double | Z_ |
| Atomic number Z of material.
|
|
double | A_ |
| Mass number A of material.
|
|
double | radiationLength_ |
| radiation length X0
|
|
double | mEE_ |
| mean excitation energy [eV]
|
|
Material properties needed e.g. for material effects calculation.
Definition at line 36 of file MaterialProperties.h.
◆ MaterialProperties() [1/2]
genfit::MaterialProperties::MaterialProperties |
( |
| ) |
|
|
inline |
Definition at line 92 of file MaterialProperties.h.
92 :
98{
99 ;
100}
double radiationLength_
radiation length X0
double density_
density of material
double mEE_
mean excitation energy [eV]
double Z_
Atomic number Z of material.
double A_
Mass number A of material.
◆ MaterialProperties() [2/2]
genfit::MaterialProperties::MaterialProperties |
( |
const double & |
density, |
|
|
const double & |
Z, |
|
|
const double & |
A, |
|
|
const double & |
radiationLength, |
|
|
const double & |
mEE |
|
) |
| |
|
inline |
◆ getA()
double genfit::MaterialProperties::getA |
( |
| ) |
const |
|
inline |
◆ getDensity()
double genfit::MaterialProperties::getDensity |
( |
| ) |
const |
|
inline |
◆ getMaterialProperties()
void genfit::MaterialProperties::getMaterialProperties |
( |
double & |
density, |
|
|
double & |
Z, |
|
|
double & |
A, |
|
|
double & |
radiationLength, |
|
|
double & |
mEE |
|
) |
| const |
◆ getMEE()
double genfit::MaterialProperties::getMEE |
( |
| ) |
const |
|
inline |
◆ getRadLen()
double genfit::MaterialProperties::getRadLen |
( |
| ) |
const |
|
inline |
◆ getZ()
double genfit::MaterialProperties::getZ |
( |
| ) |
const |
|
inline |
◆ Print()
void genfit::MaterialProperties::Print |
( |
const Option_t * |
= "" | ) |
const |
Definition at line 70 of file MaterialProperties.cc.
70 {
71 std::cout <<
"Density = " <<
density_ <<
", \t" <<
72 "Z = " <<
Z_ <<
", \t" <<
73 "A = " <<
A_ <<
", \t" <<
75 "mEE = " <<
mEE_ <<
"\n";
76}
◆ setMaterialProperties()
void genfit::MaterialProperties::setMaterialProperties |
( |
const double & |
density, |
|
|
const double & |
Z, |
|
|
const double & |
A, |
|
|
const double & |
radiationLength, |
|
|
const double & |
mEE |
|
) |
| |
◆ operator!=
◆ operator==
Compare material parameters.
Definition at line 26 of file MaterialProperties.cc.
26 {
27 if (&lhs == &rhs)
28 return true;
29 if (lhs.density_ != rhs.density_ ||
30 lhs.Z_ != rhs.Z_ ||
31 lhs.A_ != rhs.A_ ||
32 lhs.radiationLength_ != rhs.radiationLength_ ||
33 lhs.mEE_ != rhs.mEE_)
34 return false;
35
36 return true;
37}
◆ A_
double genfit::MaterialProperties::A_ |
|
private |
◆ density_
double genfit::MaterialProperties::density_ |
|
private |
◆ mEE_
double genfit::MaterialProperties::mEE_ |
|
private |
◆ radiationLength_
double genfit::MaterialProperties::radiationLength_ |
|
private |
◆ Z_
double genfit::MaterialProperties::Z_ |
|
private |
The documentation for this class was generated from the following files: