GGEMS  1.1
GPU GEant4-based Monte Carlo Simulations
GGEMSParticleCrossSections.hh
Go to the documentation of this file.
1 #ifndef GUARD_GGEMS_PHYSICS_GGEMSPARTICLECROSSSECTIONS_HH
2 #define GUARD_GGEMS_PHYSICS_GGEMSPARTICLECROSSSECTIONS_HH
3 
4 // ************************************************************************
5 // * This file is part of GGEMS. *
6 // * *
7 // * GGEMS is free software: you can redistribute it and/or modify *
8 // * it under the terms of the GNU General Public License as published by *
9 // * the Free Software Foundation, either version 3 of the License, or *
10 // * (at your option) any later version. *
11 // * *
12 // * GGEMS is distributed in the hope that it will be useful, *
13 // * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14 // * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15 // * GNU General Public License for more details. *
16 // * *
17 // * You should have received a copy of the GNU General Public License *
18 // * along with GGEMS. If not, see <https://www.gnu.org/licenses/>. *
19 // * *
20 // ************************************************************************
21 
35 
41 {
42  // Variables for all particles
49  // Photon
50  // 256: Max number of materials [0...255]
51  // MAX_CROSS_SECTION_TABLE_NUMBER_BINS: Max number of bins [0...2047]
60 #endif // GUARD_GGEMS_PHYSICS_GGEMSPARTICLECROSSSECTIONS_HH
GGEMSParticleCrossSections_t::number_of_materials_
GGsize number_of_materials_
Definition: GGEMSParticleCrossSections.hh:44
GGEMSParticleCrossSections_t::number_of_bins_
GGsize number_of_bins_
Definition: GGEMSParticleCrossSections.hh:43
GGEMSParticleCrossSections_t::number_of_activated_photon_processes_
GGsize number_of_activated_photon_processes_
Definition: GGEMSParticleCrossSections.hh:54
MAX_CROSS_SECTION_TABLE_NUMBER_BINS
#define MAX_CROSS_SECTION_TABLE_NUMBER_BINS
Definition: GGEMSProcessConstants.hh:58
GGEMSParticleCrossSections
struct GGEMSParticleCrossSections_t GGEMSParticleCrossSections
GGEMSParticleCrossSections_t::energy_bins_
GGfloat energy_bins_[MAX_CROSS_SECTION_TABLE_NUMBER_BINS]
Definition: GGEMSParticleCrossSections.hh:47
GGEMSProcessConstants.hh
Storing some __constant variables for process.
GGEMSParticleCrossSections_t
Structure storing the photon cross sections for OpenCL device.
Definition: GGEMSParticleCrossSections.hh:41
GGEMSParticleCrossSections_t::photon_cross_sections_
GGfloat photon_cross_sections_[NUMBER_PHOTON_PROCESSES][256 *MAX_CROSS_SECTION_TABLE_NUMBER_BINS]
Definition: GGEMSParticleCrossSections.hh:52
GGchar
#define GGchar
Definition: GGEMSTypes.hh:196
GGsize
#define GGsize
Definition: GGEMSTypes.hh:252
GGEMSParticleCrossSections_t::photon_cs_id_
GGchar photon_cs_id_[NUMBER_PHOTON_PROCESSES]
Definition: GGEMSParticleCrossSections.hh:55
GGEMSParticleCrossSections_t::max_energy_
GGfloat max_energy_
Definition: GGEMSParticleCrossSections.hh:46
NUMBER_PHOTON_PROCESSES
#define NUMBER_PHOTON_PROCESSES
Definition: GGEMSProcessConstants.hh:42
GGEMSParticleCrossSections_t::photon_cross_sections_per_atom_
GGfloat photon_cross_sections_per_atom_[NUMBER_PHOTON_PROCESSES][101 *MAX_CROSS_SECTION_TABLE_NUMBER_BINS]
Definition: GGEMSParticleCrossSections.hh:53
GGEMSParticleCrossSections_t::material_names_
GGchar material_names_[256][64]
Definition: GGEMSParticleCrossSections.hh:57
GGfloat
#define GGfloat
Definition: GGEMSTypes.hh:273
GGEMSParticleCrossSections_t::min_energy_
GGfloat min_energy_
Definition: GGEMSParticleCrossSections.hh:45