GGEMS mother class for electromagnectic process.
More...
#include "GGEMSEMProcess.hh"
GGEMS mother class for electromagnectic process.
Definition at line 46 of file GGEMSEMProcess.hh.
◆ GGEMSEMProcess() [1/3]
GGEMSEMProcess::GGEMSEMProcess |
( |
void |
| ) |
|
◆ ~GGEMSEMProcess()
GGEMSEMProcess::~GGEMSEMProcess |
( |
void |
| ) |
|
|
virtual |
◆ GGEMSEMProcess() [2/3]
Avoid copy by reference.
- Parameters
-
em_process | - reference on the GGEMS electromagnetic process |
◆ GGEMSEMProcess() [3/3]
Avoid copy by rvalue reference.
- Parameters
-
em_process | - rvalue reference on the GGEMS electromagnetic process |
◆ BuildCrossSectionTables()
void GGEMSEMProcess::BuildCrossSectionTables |
( |
cl::Buffer * |
particle_cross_sections, |
|
|
cl::Buffer * |
material_tables, |
|
|
GGsize const & |
thread_index |
|
) |
| |
|
virtual |
build cross section tables and storing them in particle_cross_sections
- Parameters
-
particle_cross_sections | - OpenCL buffer storing all the cross section tables for each particles |
material_tables | - material tables on OpenCL device |
thread_index | - index of activated device (thread index) |
Definition at line 65 of file GGEMSEMProcess.cc.
◆ ComputeCrossSectionPerAtom()
GGfloat GGEMSEMProcess::ComputeCrossSectionPerAtom |
( |
GGfloat const & |
energy, |
|
|
GGuchar const & |
atomic_number |
|
) |
| const |
|
protectedpure virtual |
◆ ComputeCrossSectionPerMaterial()
compute cross section for a process for a material
- Parameters
-
cross_section | - cross section |
material_tables | - activated material for a phantom |
material_index | - index of the material |
energy_index | - index of the energy |
- Returns
- cross section for a process for a material
Definition at line 129 of file GGEMSEMProcess.cc.
◆ GetProcessName()
std::string GGEMSEMProcess::GetProcessName |
( |
void |
| ) |
const |
|
inline |
get the name of the process
- Returns
- name of the process
Definition at line 92 of file GGEMSEMProcess.hh.
◆ operator=() [1/2]
Avoid copy by rvalue reference.
- Parameters
-
em_process | - rvalue reference on the GGEMS electromagnetic process |
◆ operator=() [2/2]
Avoid assignement by reference.
- Parameters
-
em_process | - reference on the GGEMS electromagnetic process |
◆ is_secondaries_
bool GGEMSEMProcess::is_secondaries_ |
|
protected |
◆ primary_particle_
std::string GGEMSEMProcess::primary_particle_ |
|
protected |
◆ process_id_
GGchar GGEMSEMProcess::process_id_ |
|
protected |
Id of the process as defined in GGEMSEMProcessConstants.hh
Definition at line 125 of file GGEMSEMProcess.hh.
◆ process_name_
std::string GGEMSEMProcess::process_name_ |
|
protected |
◆ secondary_particle_
std::string GGEMSEMProcess::secondary_particle_ |
|
protected |
The documentation for this class was generated from the following files: