GGEMS  1.1
GPU GEant4-based Monte Carlo Simulations
GGEMSPhotoElectricEffectModels.hh
Go to the documentation of this file.
1 #ifndef GUARD_GGEMS_PHYSICS_GGEMSPHOTOELECTRICEFFECTMODELS_HH
2 #define GUARD_GGEMS_PHYSICS_GGEMSPHOTOELECTRICEFFECTMODELS_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 
34 #ifdef __OPENCL_C_VERSION__
35 
39 
46 inline void StandardPhotoElectricSampleSecondaries(
47  global GGEMSPrimaryParticles* primary_particle,
48  GGint const particle_id
49 )
50 {
51  primary_particle->status_[particle_id] = DEAD;
52  primary_particle->E_[particle_id] = 0.0f;
53 }
54 
55 #endif
56 
57 #endif // GUARD_GGEMS_PHYSICS_GGEMSCOMPTONSCATTERINGMODELS_HH
DEAD
__constant GGchar DEAD
Definition: GGEMSParticleConstants.hh:39
GGEMSPrimaryParticles_t
Structure storing informations about primary particles.
Definition: GGEMSPrimaryParticles.hh:42
GGint
#define GGint
Definition: GGEMSTypes.hh:224