GGEMS class managing the material database.
More...
#include "GGEMSMaterialsDatabaseManager.hh"
GGEMS class managing the material database.
Definition at line 78 of file GGEMSMaterialsDatabaseManager.hh.
◆ GGEMSMaterialsDatabaseManager() [1/3]
| GGEMSMaterialsDatabaseManager::GGEMSMaterialsDatabaseManager |
( |
void |
| ) |
|
|
private |
◆ ~GGEMSMaterialsDatabaseManager()
| GGEMSMaterialsDatabaseManager::~GGEMSMaterialsDatabaseManager |
( |
void |
| ) |
|
|
private |
◆ GGEMSMaterialsDatabaseManager() [2/3]
Avoid copy of the class by reference.
- Parameters
-
| material_manager | - reference on the material manager |
◆ GGEMSMaterialsDatabaseManager() [3/3]
Avoid copy of the class by rvalue reference.
- Parameters
-
| material_manager | - rvalue reference on the material manager |
◆ AddChemicalElements()
| void GGEMSMaterialsDatabaseManager::AddChemicalElements |
( |
std::string const & |
element_name, |
|
|
GGuchar const & |
element_Z, |
|
|
GGfloat const & |
element_M, |
|
|
GGfloat const & |
element_I, |
|
|
GGchar const & |
state, |
|
|
GGint const & |
index_density_correction |
|
) |
| |
|
private |
Adding a chemical element in GGEMS.
- Parameters
-
| element_name | - Name of the element |
| element_Z | - Atomic number of the element |
| element_M | - Molar mass of the element |
| element_I | - Mean excitation energy of the element |
| state | - state of the material, gas/solid |
| index_density_correction | - index for the density correction |
Definition at line 256 of file GGEMSMaterialsDatabaseManager.cc.
◆ Clean()
| void GGEMSMaterialsDatabaseManager::Clean |
( |
void |
| ) |
|
◆ GetAtomicNumberDensity()
| GGfloat GGEMSMaterialsDatabaseManager::GetAtomicNumberDensity |
( |
std::string const & |
material, |
|
|
GGsize const & |
index |
|
) |
| const |
|
inline |
Compute the atomic number density of an element in a material.
- Parameters
-
| material | - name of the material |
| index | - index of the element in the material |
- Returns
- get the atomic number density of an element in a material
Definition at line 216 of file GGEMSMaterialsDatabaseManager.hh.
◆ GetChemicalElement()
| GGEMSChemicalElement GGEMSMaterialsDatabaseManager::GetChemicalElement |
( |
std::string const & |
chemical_element_name | ) |
const |
|
inline |
get the chemical element
- Parameters
-
| chemical_element_name | - name of the chemical element |
- Returns
- the structure to a chemical element
Definition at line 187 of file GGEMSMaterialsDatabaseManager.hh.
◆ GetInstance()
◆ GetMaterial()
| GGEMSSingleMaterial GGEMSMaterialsDatabaseManager::GetMaterial |
( |
std::string const & |
material_name | ) |
const |
|
inline |
◆ GetRadiationLength()
| GGfloat GGEMSMaterialsDatabaseManager::GetRadiationLength |
( |
std::string const & |
material | ) |
const |
get the radiation length of a material
- Parameters
-
| material | - name of the material |
- Returns
- the radiation length of a material
Definition at line 202 of file GGEMSMaterialsDatabaseManager.hh.
◆ IsReady()
| bool GGEMSMaterialsDatabaseManager::IsReady |
( |
void |
| ) |
const |
|
inline |
◆ LoadChemicalElements()
| void GGEMSMaterialsDatabaseManager::LoadChemicalElements |
( |
void |
| ) |
|
|
private |
◆ LoadMaterialsDatabase()
| void GGEMSMaterialsDatabaseManager::LoadMaterialsDatabase |
( |
std::string const & |
filename | ) |
|
|
private |
◆ operator=() [1/2]
Avoid copy of the class by rvalue reference.
- Parameters
-
| material_manager | - rvalue reference on the material manager |
◆ operator=() [2/2]
Avoid assignement of the class by reference.
- Parameters
-
| material_manager | - reference on the material manager |
◆ PrintAvailableChemicalElements()
| void GGEMSMaterialsDatabaseManager::PrintAvailableChemicalElements |
( |
void |
| ) |
const |
◆ PrintAvailableMaterials()
| void GGEMSMaterialsDatabaseManager::PrintAvailableMaterials |
( |
void |
| ) |
const |
◆ SetMaterialsDatabase()
| void GGEMSMaterialsDatabaseManager::SetMaterialsDatabase |
( |
std::string const & |
filename | ) |
|
◆ chemical_elements_
◆ materials_
The documentation for this class was generated from the following files: