next up previous index
Next: The energy loss Up: PHYS010 Compute the Previous: Common /GCPHYS/

Cross-section, energy loss and range tables

Cross-sections, energy loss dE/dx and range R(Ekin)

are tabulated for all materials which enter in the definition of a tracking medium by the routine GPHYSI. The values of the energy for which the tabulated quantities are calculated are stored in the common /GCMULO/ (see [BASE030]). To evaluate one of the tabulated quantities for a particle of kinetic energy E0 , a linear interpolation is used. Let i be such that:

Ei< E0≤Ei+1

The integer variable IEKBIN in common /GCTRACK/ is equal to i during tracking and its value is recomputed by the routine GEKBIN when the energy of the particle changes. If the quantity Y has been tabulated so that Yi= Y(Ei) then the value Y0= Y(E0) is calculated as:

Y0= Yi+ {E0-EiEi+1-Ei}( Yi+1-Yi)= Yi( 1 - {E0-EiEi+1-Ei}) +Yi+1{E0-EiEi+1-Ei}

Inside the code the following quantities are used:

GEKRAT= {E0-EiEi+1-Ei}&sp;GEKRT1= ( 1 - {E0-EiEi+1-Ei})

where GEKRAT is in common /GCTRAK/ and GEKRT1 is a local variable recomputed when needed.


Janne Saarela
Mon Apr 3 12:46:29 METDST 1995