GGEMS  1.1
GPU GEant4-based Monte Carlo Simulations
GGEMSProcessConstants.hh
Go to the documentation of this file.
1 #ifndef GUARD_GGEMS_PHYSICS_GGEMSPROCESSCONSTANTS_HH
2 #define GUARD_GGEMS_PHYSICS_GGEMSPROCESSCONSTANTS_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 // PHOTON PROCESSES
42 #define NUMBER_PHOTON_PROCESSES 3
43 __constant GGchar COMPTON_SCATTERING = 0;
44 __constant GGchar PHOTOELECTRIC_EFFECT = 1;
45 __constant GGchar RAYLEIGH_SCATTERING = 2;
47 //__constant GGuchar NUMBER_ELECTRON_PROCESSES = 3;
48 //__constant GGuchar NUMBER_PARTICLES = 5;
49 //__constant GGuchar PHOTON_BONDARY_VOXEL = 77;
50 //__constant GGuchar ELECTRON_IONISATION = 4;
51 //__constant GGuchar ELECTRON_MSC = 5;
52 //__constant GGuchar ELECTRON_BREMSSTRAHLUNG = 6;
54 // CROSS SECTIONS
58 #define MAX_CROSS_SECTION_TABLE_NUMBER_BINS 2048
59 __constant GGshort CROSS_SECTION_TABLE_NUMBER_BINS = 220;
61 // CUTS
66 #endif // End of GUARD_GGEMS_PHYSICS_GGEMSEMPROCESSCONSTANTS_HH
KINETIC_ENERGY_MIN
__constant GGfloat KINETIC_ENERGY_MIN
Definition: GGEMSProcessConstants.hh:55
TRANSPORTATION
__constant GGchar TRANSPORTATION
Definition: GGEMSProcessConstants.hh:39
PHOTON_DISTANCE_CUT
__constant GGfloat PHOTON_DISTANCE_CUT
Definition: GGEMSProcessConstants.hh:62
CROSS_SECTION_TABLE_ENERGY_MAX
__constant GGfloat CROSS_SECTION_TABLE_ENERGY_MAX
Definition: GGEMSProcessConstants.hh:57
POSITRON_DISTANCE_CUT
__constant GGfloat POSITRON_DISTANCE_CUT
Definition: GGEMSProcessConstants.hh:64
ELECTRON_DISTANCE_CUT
__constant GGfloat ELECTRON_DISTANCE_CUT
Definition: GGEMSProcessConstants.hh:63
GGchar
#define GGchar
Definition: GGEMSTypes.hh:196
CROSS_SECTION_TABLE_ENERGY_MIN
__constant GGfloat CROSS_SECTION_TABLE_ENERGY_MIN
Definition: GGEMSProcessConstants.hh:56
__constant
#define __constant
__constant is known for OpenCL, but for C++ we define __constant as a constexpr
Definition: GGEMSSystemOfUnits.hh:43
NUMBER_PROCESSES
__constant GGchar NUMBER_PROCESSES
Definition: GGEMSProcessConstants.hh:36
GGEMSSystemOfUnits.hh
Namespace storing all the usefull physical units.
NO_PROCESS
__constant GGchar NO_PROCESS
Definition: GGEMSProcessConstants.hh:38
GGfloat
#define GGfloat
Definition: GGEMSTypes.hh:273