GGEMS class storing and converting the cut in energy cut.
More...
#include "GGEMSRangeCuts.hh"
|
GGfloat | ConvertToEnergy (GGEMSMaterialTables *material_table, GGushort const &index_mat, std::string const &particle_name) |
| Convert length cut to energy cut for gamma, e- and e+. More...
|
|
void | BuildElementsLossTable (GGEMSMaterialTables *material_table, GGushort const &index_mat, std::string const &particle_name) |
| Build loss table for elements in material. More...
|
|
void | BuildAbsorptionLengthTable (GGEMSMaterialTables *material_table, GGushort const &index_mat) |
| Build absorption length table for photon. More...
|
|
void | BuildMaterialLossTable (GGEMSMaterialTables *material_table, GGushort const &index_mat) |
| Build loss table for material in case of electron and positron. More...
|
|
GGfloat | ComputePhotonCrossSection (GGuchar const &atomic_number, GGfloat const &energy) const |
| compute cross secton value for photon depending on Z and energy More...
|
|
GGfloat | ComputeLossElectron (GGuchar const &atomic_number, GGfloat const &energy) const |
| compute the loss de/dx for electron More...
|
|
GGfloat | ComputeLossPositron (GGuchar const &atomic_number, GGfloat const &energy) const |
| compute the loss de/dx for positron More...
|
|
GGfloat | ConvertLengthToEnergyCut (GGfloat const &length_cut) const |
| convert length to energy cut More...
|
|
GGEMS class storing and converting the cut in energy cut.
Definition at line 49 of file GGEMSRangeCuts.hh.
◆ GGEMSRangeCuts() [1/3]
GGEMSRangeCuts::GGEMSRangeCuts |
( |
void |
| ) |
|
◆ ~GGEMSRangeCuts()
GGEMSRangeCuts::~GGEMSRangeCuts |
( |
void |
| ) |
|
◆ GGEMSRangeCuts() [2/3]
Avoid copy by reference.
- Parameters
-
range_cuts | - reference on the GGEMS range cuts |
◆ GGEMSRangeCuts() [3/3]
Avoid copy by rvalue reference.
- Parameters
-
range_cuts | - rvalue reference on the GGEMS range cuts |
◆ BuildAbsorptionLengthTable()
Build absorption length table for photon.
- Parameters
-
material_table | - material table on OpenCL device |
index_mat | - index of the material |
Definition at line 214 of file GGEMSRangeCuts.cc.
◆ BuildElementsLossTable()
void GGEMSRangeCuts::BuildElementsLossTable |
( |
GGEMSMaterialTables * |
material_table, |
|
|
GGushort const & |
index_mat, |
|
|
std::string const & |
particle_name |
|
) |
| |
|
private |
Build loss table for elements in material.
- Parameters
-
material_table | - material table on OpenCL device |
index_mat | - index of the material |
particle_name | - name of the particle |
Definition at line 302 of file GGEMSRangeCuts.cc.
◆ BuildMaterialLossTable()
Build loss table for material in case of electron and positron.
- Parameters
-
material_table | - material table on OpenCL device |
index_mat | - index of the material |
Definition at line 244 of file GGEMSRangeCuts.cc.
◆ ComputeLossElectron()
GGfloat GGEMSRangeCuts::ComputeLossElectron |
( |
GGuchar const & |
atomic_number, |
|
|
GGfloat const & |
energy |
|
) |
| const |
|
private |
compute the loss de/dx for electron
- Parameters
-
atomic_number | - atomic number of the elements |
energy | - energy of the bin |
- Returns
- loss energy, dE/dX
Definition at line 409 of file GGEMSRangeCuts.cc.
◆ ComputeLossPositron()
GGfloat GGEMSRangeCuts::ComputeLossPositron |
( |
GGuchar const & |
atomic_number, |
|
|
GGfloat const & |
energy |
|
) |
| const |
|
private |
compute the loss de/dx for positron
- Parameters
-
atomic_number | - atomic number of the elements |
energy | - energy of the bin |
- Returns
- loss energy, dE/dX
Definition at line 472 of file GGEMSRangeCuts.cc.
◆ ComputePhotonCrossSection()
GGfloat GGEMSRangeCuts::ComputePhotonCrossSection |
( |
GGuchar const & |
atomic_number, |
|
|
GGfloat const & |
energy |
|
) |
| const |
|
private |
compute cross secton value for photon depending on Z and energy
- Parameters
-
atomic_number | - atomic number of the elements |
energy | - energy of the bin |
- Returns
- cross secton value
Definition at line 343 of file GGEMSRangeCuts.cc.
◆ ConvertCutsFromDistanceToEnergy()
void GGEMSRangeCuts::ConvertCutsFromDistanceToEnergy |
( |
GGEMSMaterials * |
materials | ) |
|
Convert cut from length to energy.
- Parameters
-
materials | - pointer on the list of activated materials |
Definition at line 590 of file GGEMSRangeCuts.cc.
◆ ConvertLengthToEnergyCut()
GGfloat GGEMSRangeCuts::ConvertLengthToEnergyCut |
( |
GGfloat const & |
length_cut | ) |
const |
|
private |
convert length to energy cut
- Parameters
-
length_cut | - length cut of the particle |
- Returns
- converted cut
Definition at line 534 of file GGEMSRangeCuts.cc.
◆ ConvertToEnergy()
Convert length cut to energy cut for gamma, e- and e+.
- Parameters
-
material_table | - material table on OpenCL device |
index_mat | - index of the material |
particle_name | - name of the particle |
- Returns
- energy cut of photon
Definition at line 129 of file GGEMSRangeCuts.cc.
◆ GetElectronDistanceCut()
GGfloat GGEMSRangeCuts::GetElectronDistanceCut |
( |
void |
| ) |
const |
|
inline |
get the electron length cut for photon
- Returns
- the electron length cut for photon
Definition at line 130 of file GGEMSRangeCuts.hh.
◆ GetElectronEnergyCut()
EnergyCutUMap GGEMSRangeCuts::GetElectronEnergyCut |
( |
void |
| ) |
const |
|
inline |
get the map of energy cut with material for electron
- Returns
- list of energy cut in each material for electron
Definition at line 137 of file GGEMSRangeCuts.hh.
◆ GetPhotonDistanceCut()
GGfloat GGEMSRangeCuts::GetPhotonDistanceCut |
( |
void |
| ) |
const |
|
inline |
get the photon length cut
- Returns
- the photon length cut in mm
Definition at line 116 of file GGEMSRangeCuts.hh.
◆ GetPhotonEnergyCut()
get the map of energy cut with material
- Returns
- list of energy cut in each material
Definition at line 123 of file GGEMSRangeCuts.hh.
◆ GetPositronDistanceCut()
GGfloat GGEMSRangeCuts::GetPositronDistanceCut |
( |
void |
| ) |
const |
|
inline |
get the positron length cut
- Returns
- the positron length cut in mm
Definition at line 144 of file GGEMSRangeCuts.hh.
◆ GetPositronEnergyCut()
EnergyCutUMap GGEMSRangeCuts::GetPositronEnergyCut |
( |
void |
| ) |
const |
|
inline |
get the map of energy cut with material for positron
- Returns
- list of energy cut in each material for positron
Definition at line 151 of file GGEMSRangeCuts.hh.
◆ operator=() [1/2]
Avoid copy by rvalue reference.
- Parameters
-
range_cuts | - rvalue reference on the GGEMS range cuts |
◆ operator=() [2/2]
Avoid assignement by reference.
- Parameters
-
range_cuts | - reference on the GGEMS range cuts |
◆ SetElectronDistanceCut()
void GGEMSRangeCuts::SetElectronDistanceCut |
( |
GGfloat const & |
cut | ) |
|
set the electron length cut by the range cut manager
- Parameters
-
Definition at line 101 of file GGEMSRangeCuts.cc.
◆ SetPhotonDistanceCut()
void GGEMSRangeCuts::SetPhotonDistanceCut |
( |
GGfloat const & |
cut | ) |
|
set the photon length cut by the range cut manager
- Parameters
-
Definition at line 87 of file GGEMSRangeCuts.cc.
◆ SetPositronDistanceCut()
void GGEMSRangeCuts::SetPositronDistanceCut |
( |
GGfloat const & |
cut | ) |
|
set the positron length cut by the range cut manager
- Parameters
-
Definition at line 115 of file GGEMSRangeCuts.cc.
◆ distance_cut_electron_
GGfloat GGEMSRangeCuts::distance_cut_electron_ |
|
private |
◆ distance_cut_photon_
GGfloat GGEMSRangeCuts::distance_cut_photon_ |
|
private |
◆ distance_cut_positron_
GGfloat GGEMSRangeCuts::distance_cut_positron_ |
|
private |
◆ energy_cuts_electron_
◆ energy_cuts_photon_
◆ energy_cuts_positron_
◆ loss_table_dedx_table_elements_
◆ max_energy_
GGfloat GGEMSRangeCuts::max_energy_ |
|
private |
◆ min_energy_
GGfloat GGEMSRangeCuts::min_energy_ |
|
private |
◆ number_of_bins_
GGsize GGEMSRangeCuts::number_of_bins_ |
|
private |
◆ number_of_tables_
GGsize GGEMSRangeCuts::number_of_tables_ |
|
private |
Number of tables in loss_table_dedx_table_elements_
Definition at line 250 of file GGEMSRangeCuts.hh.
◆ range_table_material_
The documentation for this class was generated from the following files: