![]() |
GGEMS
1.1
GPU GEant4-based Monte Carlo Simulations
|
GGEMS singleton class managing the material database. More...


Go to the source code of this file.
Classes | |
| struct | GGEMSChemicalElement |
| GGEMS structure managing a specific chemical element. More... | |
| struct | GGEMSSingleMaterial |
| GGEMS structure managing a specific material. More... | |
| class | GGEMSMaterialsDatabaseManager |
| GGEMS class managing the material database. More... | |
Typedefs | |
| typedef std::unordered_map< std::string, GGEMSChemicalElement > | ChemicalElementUMap |
| typedef std::unordered_map< std::string, GGEMSSingleMaterial > | MaterialUMap |
Functions | |
| GGEMSMaterialsDatabaseManager * | get_instance_materials_manager (void) |
| Get the GGEMSMaterialsDatabaseManager pointer for python user. More... | |
| void | set_materials_ggems_materials_manager (GGEMSMaterialsDatabaseManager *ggems_materials_manager, char const *filename) |
| enter the material database to GGEMS More... | |
| void | print_available_chemical_elements_ggems_materials_manager (GGEMSMaterialsDatabaseManager *ggems_materials_manager) |
| print all available chemical elements More... | |
| void | print_available_materials_ggems_materials_manager (GGEMSMaterialsDatabaseManager *ggems_materials_manager) |
| print all available materials More... | |
Variables | |
| __constant GGchar | SOLID = 0 |
| __constant GGchar | GAS = 1 |
GGEMS singleton class managing the material database.
Definition in file GGEMSMaterialsDatabaseManager.hh.
| typedef std::unordered_map<std::string, GGEMSChemicalElement> ChemicalElementUMap |
Unordered map with key : name of element, value the chemical element structure
Definition at line 71 of file GGEMSMaterialsDatabaseManager.hh.
| typedef std::unordered_map<std::string, GGEMSSingleMaterial> MaterialUMap |
Unordered map with key : name of the material, value the material
Definition at line 72 of file GGEMSMaterialsDatabaseManager.hh.
| GGEMSMaterialsDatabaseManager * get_instance_materials_manager | ( | void | ) |
Get the GGEMSMaterialsDatabaseManager pointer for python user.
Definition at line 378 of file GGEMSMaterialsDatabaseManager.cc.
| void print_available_chemical_elements_ggems_materials_manager | ( | GGEMSMaterialsDatabaseManager * | ggems_materials_manager | ) |
print all available chemical elements
| ggems_materials_manager | - pointer on the singleton |
Definition at line 396 of file GGEMSMaterialsDatabaseManager.cc.
| void print_available_materials_ggems_materials_manager | ( | GGEMSMaterialsDatabaseManager * | ggems_materials_manager | ) |
print all available materials
| ggems_materials_manager | - pointer on the singleton |
Definition at line 405 of file GGEMSMaterialsDatabaseManager.cc.
| void set_materials_ggems_materials_manager | ( | GGEMSMaterialsDatabaseManager * | ggems_materials_manager, |
| char const * | filename | ||
| ) |
enter the material database to GGEMS
| ggems_materials_manager | - pointer on the singleton |
| filename | - file with list of materials |
Definition at line 387 of file GGEMSMaterialsDatabaseManager.cc.
| __constant GGchar GAS = 1 |
Gas state
Definition at line 44 of file GGEMSMaterialsDatabaseManager.hh.
| __constant GGchar SOLID = 0 |
Solid state
Definition at line 43 of file GGEMSMaterialsDatabaseManager.hh.