![]() |
GGEMS
1.1
GPU GEant4-based Monte Carlo Simulations
|
GGEMS class handling the cross sections tables. More...
#include <vector>#include <string>#include "GGEMS/global/GGEMSOpenCLManager.hh"#include "GGEMS/physics/GGEMSParticleCrossSections.hh"

Go to the source code of this file.
Classes | |
| class | GGEMSCrossSections |
| GGEMS class handling the cross sections tables. More... | |
Functions | |
| GGEMSCrossSections * | create_ggems_cross_sections (void) |
| Get the GGEMSCrossSections pointer for python user. More... | |
| void | add_process_ggems_cross_sections (GGEMSCrossSections *cross_sections, char const *process_name, char const *particle_name, bool const is_secondary) |
| Add a process to cross section table. More... | |
| void | initialize_ggems_cross_sections (GGEMSCrossSections *cross_sections, GGEMSMaterials *materials) |
| Intialize the cross section tables for process and materials. More... | |
| GGfloat | get_cs_cross_sections (GGEMSCrossSections *cross_sections, char const *process_name, char const *material_name, GGfloat const energy, char const *unit) |
| get the cross section value of process More... | |
| void | clean_ggems_cross_sections (GGEMSCrossSections *cross_sections) |
| clean all cross sections on each OpenCL device More... | |
GGEMS class handling the cross sections tables.
Definition in file GGEMSCrossSections.hh.
| void add_process_ggems_cross_sections | ( | GGEMSCrossSections * | cross_sections, |
| char const * | process_name, | ||
| char const * | particle_name, | ||
| bool const | is_secondary | ||
| ) |
Add a process to cross section table.
| cross_sections | - pointer on GGEMS cross sections |
| process_name | - name of the process |
| particle_name | - name of the particle |
| is_secondary | - activate secondaries or not |
Definition at line 351 of file GGEMSCrossSections.cc.
| void clean_ggems_cross_sections | ( | GGEMSCrossSections * | cross_sections | ) |
clean all cross sections on each OpenCL device
| cross_sections | - pointer on GGEMS cross sections |
Definition at line 378 of file GGEMSCrossSections.cc.
| GGEMSCrossSections * create_ggems_cross_sections | ( | void | ) |
Get the GGEMSCrossSections pointer for python user.
Definition at line 342 of file GGEMSCrossSections.cc.
| GGfloat get_cs_cross_sections | ( | GGEMSCrossSections * | cross_sections, |
| char const * | process_name, | ||
| char const * | material_name, | ||
| GGfloat const | energy, | ||
| char const * | unit | ||
| ) |
get the cross section value of process
| cross_sections | - pointer on GGEMS cross sections |
| process_name | - name of the process |
| material_name | - name of the material |
| energy | - energy of the particle |
| unit | - unit in energy |
Definition at line 369 of file GGEMSCrossSections.cc.
| void initialize_ggems_cross_sections | ( | GGEMSCrossSections * | cross_sections, |
| GGEMSMaterials * | materials | ||
| ) |
Intialize the cross section tables for process and materials.
Definition at line 360 of file GGEMSCrossSections.cc.