next up previous index
Next: Sampling of the Up: Subroutines Previous: Subroutines

Initialisation

CALL GMULOF GMULOF calculates the table of maximum steps corresponding to the energies in the array ELOW for electrons and muons. It is called during initialisation by GPHYSI. For hadrons and ions the computation is performed during tracking in the routines GTHADR and GTHION.

CALL GMOLI (AC,ZC,WMAT,NLM,DENS,OMC*,CHC*)

AC
REAL array of dimenstion NLM containing the mass numbers;
ZC
REAL array of dimenstion NLM containing the atomic numbers;
WMAT
REAL array containing the proportions by weight of the component of a mixture/compound. 1 in case of a single component;
NLM
INTEGER number of the elements in the mixture/compound;
DENS
REAL density in g cm-3 ;
OMC
REAL bc constant of Molière theory;
CHC
REAL χcc constant of Molière theory.

GMOLI calculates the two material-dependent constants ( OMC and CHC). These are needed during initialisation by GMULOF and during tracking to sample the scattering angle, as explained below. It is called at initialisation time by the routine GPROBI which initialises some material constants and computes the probabilities for various processes.


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