GGEMS  1.1
GPU GEant4-based Monte Carlo Simulations
GGEMSConstants.hh File Reference

Different namespaces storing constants useful for GGEMS. More...

#include "GGEMS/global/GGEMSExport.hh"
#include "GGEMS/tools/GGEMSSystemOfUnits.hh"
Include dependency graph for GGEMSConstants.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

__constant GGfloat PI = 3.141592653589793f
 
__constant GGfloat TWO_PI = 6.283185307179586f
 
__constant GGfloat HALF_PI = 1.570796326794896f
 
__constant GGfloat PI_SQUARED = 9.869604401089358f
 
__constant GGfloat AVOGADRO = 6.02214179e+23f
 
__constant GGfloat GASTHRESHOLD = 6.241510246e+16f
 
__constant GGfloat C_LIGHT = 2.99792458e+2f
 
__constant GGfloat C_LIGHT_SQUARED = 89875.5178736817f
 
__constant GGfloat ELECTRON_CHARGE = -1.0f
 
__constant GGfloat ELECTRON_CHARGE_SQUARED = 1.0f
 
__constant GGfloat ELECTRON_MASS_C2 = 0.510998910f
 
__constant GGfloat POSITRON_MASS_C2 = 0.510998910f
 
__constant GGfloat PROTON_MASS_C2 = 938.272013f
 
__constant GGfloat NEUTRON_MASS_C2 = 939.56536f
 
__constant GGfloat ATOMIC_MASS_UNIT_C2 = 931.494028f
 
__constant GGfloat ATOMIC_MASS_UNIT = 0.01036426891f
 
__constant GGfloat MU0 = 4.0f*3.141592653589793f*1.e-7f*1.602176383e-10f
 
__constant GGfloat EPSILON0 = 5.526349824e+10f
 
__constant GGfloat H_PLANCK = 6.62606896e-34f*6.241509704e+21f
 
__constant GGfloat HBAR_PLANCK = 6.582118206e-13f
 
__constant GGfloat HBARC = 1.973269187e-10f
 
__constant GGfloat HBARC_SQUARED = 3.89351824e-20F
 
__constant GGfloat ELM_COUPLING = 1.439964467e-12f
 
__constant GGfloat FINE_STRUCTURE_CONST = 0.007297354285f
 
__constant GGfloat CLASSIC_ELECTRON_RADIUS = 2.817940326e-12f
 
__constant GGfloat ELECTRON_COMPTON_LENGTH = 3.86159188e-10f
 
__constant GGfloat BOHR_RADIUS = 5.291769867e-08f
 
__constant GGfloat ALPHA_RCL2 = 5.794673922e-26f
 
__constant GGfloat TWO_PI_MC2_RCL2 = 2.549549536e-23f
 

Detailed Description

Different namespaces storing constants useful for GGEMS.

Author
Julien BERT julie.nosp@m.n.be.nosp@m.rt@un.nosp@m.iv-b.nosp@m.rest..nosp@m.fr
Didier BENOIT didie.nosp@m.r.be.nosp@m.noit@.nosp@m.inse.nosp@m.rm.fr
LaTIM, Brest, FRANCE
Version
1.0
Date
Wednesday October 2, 2019

Definition in file GGEMSConstants.hh.

Variable Documentation

◆ ALPHA_RCL2

__constant GGfloat ALPHA_RCL2 = 5.794673922e-26f

Constant FINE_STRUCTURE_CONST * CLASSIC_ELECTRON_RADIUS^2

Definition at line 78 of file GGEMSConstants.hh.

◆ ATOMIC_MASS_UNIT

__constant GGfloat ATOMIC_MASS_UNIT = 0.01036426891f

Atomic mass unit c2 / c2 in MeV/(mm.ns-1)

Definition at line 59 of file GGEMSConstants.hh.

◆ ATOMIC_MASS_UNIT_C2

__constant GGfloat ATOMIC_MASS_UNIT_C2 = 931.494028f

Unified atomic mass unit in Mev

Definition at line 58 of file GGEMSConstants.hh.

◆ AVOGADRO

__constant GGfloat AVOGADRO = 6.02214179e+23f

Number of Avogadro

Definition at line 43 of file GGEMSConstants.hh.

◆ BOHR_RADIUS

__constant GGfloat BOHR_RADIUS = 5.291769867e-08f

Radius of Bohr in mm, ELECTRON_COMPTON_LENGTH/FINE_STRUCTURE_CONST

Definition at line 77 of file GGEMSConstants.hh.

◆ C_LIGHT

__constant GGfloat C_LIGHT = 2.99792458e+2f

Speed of light

Definition at line 47 of file GGEMSConstants.hh.

◆ C_LIGHT_SQUARED

__constant GGfloat C_LIGHT_SQUARED = 89875.5178736817f

squared speed of ligth in mm.ns-1

Definition at line 48 of file GGEMSConstants.hh.

◆ CLASSIC_ELECTRON_RADIUS

__constant GGfloat CLASSIC_ELECTRON_RADIUS = 2.817940326e-12f

Classical radius of electron in mm, ELM_COUPLING/ELECTRON_MASS_C2

Definition at line 75 of file GGEMSConstants.hh.

◆ ELECTRON_CHARGE

__constant GGfloat ELECTRON_CHARGE = -1.0f

Charge of the electron

Definition at line 50 of file GGEMSConstants.hh.

◆ ELECTRON_CHARGE_SQUARED

__constant GGfloat ELECTRON_CHARGE_SQUARED = 1.0f

Squared charge of electron

Definition at line 51 of file GGEMSConstants.hh.

◆ ELECTRON_COMPTON_LENGTH

__constant GGfloat ELECTRON_COMPTON_LENGTH = 3.86159188e-10f

Length of electron Compton in mm, HBARC/ELECTRON_MASS_C2

Definition at line 76 of file GGEMSConstants.hh.

◆ ELECTRON_MASS_C2

__constant GGfloat ELECTRON_MASS_C2 = 0.510998910f

Mass of the electron in MeV

Definition at line 53 of file GGEMSConstants.hh.

◆ ELM_COUPLING

__constant GGfloat ELM_COUPLING = 1.439964467e-12f

Electromagnetic coupling in MeV.mm/(eplus^2), ELECTRON_CHARGE^2/(4*PI*EPSILON0)

Definition at line 73 of file GGEMSConstants.hh.

◆ EPSILON0

__constant GGfloat EPSILON0 = 5.526349824e+10f

permittivity of free space in eplus^2/(Mev.mm)

Definition at line 62 of file GGEMSConstants.hh.

◆ FINE_STRUCTURE_CONST

__constant GGfloat FINE_STRUCTURE_CONST = 0.007297354285f

Structure fine __constant, ELM_COUPLING/HBARC

Definition at line 74 of file GGEMSConstants.hh.

◆ GASTHRESHOLD

__constant GGfloat GASTHRESHOLD = 6.241510246e+16f

Limit between gas and other state in density

Definition at line 45 of file GGEMSConstants.hh.

◆ H_PLANCK

__constant GGfloat H_PLANCK = 6.62606896e-34f*6.241509704e+21f

Planck __constant in Mev.ns

Definition at line 66 of file GGEMSConstants.hh.

◆ HALF_PI

__constant GGfloat HALF_PI = 1.570796326794896f

Pi / 2

Definition at line 40 of file GGEMSConstants.hh.

◆ HBAR_PLANCK

__constant GGfloat HBAR_PLANCK = 6.582118206e-13f

h_planck / (2*PI)

Definition at line 68 of file GGEMSConstants.hh.

◆ HBARC

__constant GGfloat HBARC = 1.973269187e-10f

speed of light * h_planck / (2*PI)

Definition at line 69 of file GGEMSConstants.hh.

◆ HBARC_SQUARED

__constant GGfloat HBARC_SQUARED = 3.89351824e-20F

hbar * hbar

Definition at line 70 of file GGEMSConstants.hh.

◆ MU0

__constant GGfloat MU0 = 4.0f*3.141592653589793f*1.e-7f*1.602176383e-10f

permeability of free space in MeV.(ns.eplus)^2.mm-1

Definition at line 61 of file GGEMSConstants.hh.

◆ NEUTRON_MASS_C2

__constant GGfloat NEUTRON_MASS_C2 = 939.56536f

Mass of the neutron in MeV

Definition at line 56 of file GGEMSConstants.hh.

◆ PI

__constant GGfloat PI = 3.141592653589793f

Pi

Definition at line 38 of file GGEMSConstants.hh.

◆ PI_SQUARED

__constant GGfloat PI_SQUARED = 9.869604401089358f

Pi * Pi

Definition at line 41 of file GGEMSConstants.hh.

◆ POSITRON_MASS_C2

__constant GGfloat POSITRON_MASS_C2 = 0.510998910f

Mass of the positron in MeV

Definition at line 54 of file GGEMSConstants.hh.

◆ PROTON_MASS_C2

__constant GGfloat PROTON_MASS_C2 = 938.272013f

Mass of the proton in MeV

Definition at line 55 of file GGEMSConstants.hh.

◆ TWO_PI

__constant GGfloat TWO_PI = 6.283185307179586f

Pi * 2

Definition at line 39 of file GGEMSConstants.hh.

◆ TWO_PI_MC2_RCL2

__constant GGfloat TWO_PI_MC2_RCL2 = 2.549549536e-23f

2pi*electron_mc2*CLASSIC_ELECTRON_RADIUS^2

Definition at line 79 of file GGEMSConstants.hh.