EGSnrc C++ class library  Report PIRS-898 (2021)
Iwan Kawrakow, Ernesto Mainegra-Hing, Frederic Tessier, Reid Townson and Blake Walters
Public Attributes | List of all members
EGS_Thresh Struct Reference

A structure corresponding to the particle production threshold energies common block THRESH. More...

#include <egs_interface2.h>

Public Attributes

EGS_Float rmt2
 
EGS_Float rmsq
 
EGS_Float ap [MXMED]
 
EGS_Float ae [MXMED]
 
EGS_Float up [MXMED]
 
EGS_Float ue [MXMED]
 
EGS_Float te [MXMED]
 
EGS_Float thmoll [MXMED]
 

Detailed Description

A structure corresponding to the particle production threshold energies common block THRESH.

Note that the maximum number of media MXMED is defined in the file array_sizes.h that must be present in the user code area. The THRESH common block also contains rmt2 (two times electron rest energy in MeV) and rmsq (electron rest energy squared), that actually have nothing to do with thresholds. Unfortunately, it is too much effort to remove them from THRESH and put them where they belong (rmt2 and rmsq are used in many places).

Definition at line 203 of file egs_interface2.h.

Member Data Documentation

EGS_Float EGS_Thresh::rmt2

Two times electron rest energy in MeV (approximately 1.022)

Definition at line 205 of file egs_interface2.h.

EGS_Float EGS_Thresh::rmsq

electron rest energy squared

Definition at line 207 of file egs_interface2.h.

EGS_Float EGS_Thresh::ap[MXMED]

Photon production threshold for each medium. This is also the minimum energy of the photon cross section data from PEGS

Definition at line 211 of file egs_interface2.h.

Referenced by EGS_AdvancedApplication::helpInit().

EGS_Float EGS_Thresh::ae[MXMED]

Electron/positron production threshold for each medium. This is also the minimum energy for the electron positron cross section data from PEGS

Definition at line 215 of file egs_interface2.h.

Referenced by EGS_AdvancedApplication::helpInit().

EGS_Float EGS_Thresh::up[MXMED]

The upper energy of the photon cross section data for each medium

Definition at line 217 of file egs_interface2.h.

Referenced by EGS_SimpleApplication::EGS_SimpleApplication(), and EGS_AdvancedApplication::helpInit().

EGS_Float EGS_Thresh::ue[MXMED]

The upper energy of the electron cross section data for each medium

Definition at line 219 of file egs_interface2.h.

Referenced by EGS_SimpleApplication::EGS_SimpleApplication(), and EGS_AdvancedApplication::helpInit().

EGS_Float EGS_Thresh::te[MXMED]

Moller threshold energy (total)

Definition at line 221 of file egs_interface2.h.

EGS_Float EGS_Thresh::thmoll[MXMED]

Moller threshold energy (kinetic)

Definition at line 223 of file egs_interface2.h.


The documentation for this struct was generated from the following file: