Geant4 Physics Reference Manual

## Particle transport using the differential approach

### The interaction length

*
In a simple material the number of atoms per volume is:

where:

*
In a compound material the number of atoms of Element elm per volume is:

where:

*
The mean free path, , of a process can be given in terms of its total cross section.

where is the total cross section per atom of the process and runs over all Elements the material is made of.

Cross sections per atom and mean free path values are tabulated during initialisation.

### Determination of the interaction point

The mean free path of a particle for a given process, , depends on the medium and cannot be used directly to sample the probability of an interaction in a heterogeneous detector. The number of mean free paths which a particle travels is:

 (1.1)

and it is independent of the material traversed. If nr is a random variable denoting the number of mean free paths from a given point until the point of interaction, it can be shown that nr has the distribution function

 (1.2)

The total number of mean free paths the particle travels before the interaction point, , is sampled at the beginning of the trajectory as:
 (1.3)

where is a random number uniformly distributed in the range (0,1). is updated after each step according the formula:
 (1.4)

until the step originating from is the shortest and this triggers the specific process.

The short description given above is the differential approach of the particle transport , which is used in most of the simulation codes( e.g. [GEANT3],[EGS4]).

In this approach besides the other (discrete) processes the continuous energy loss imposes a limit on the stepsize, too. The reason of this is the energy dependence of the cross sections. It is assumed in this approach that the cross sections of the particles are constant during a step , i.e. the step size should be so small that the relative difference of the cross sections at the beginning of the step and at the end can be small enough.In principle one has to use very small steps in order to have an accurate simulation , but the computing time increases if the stepsize decreases. As a good compromise the stepsize is limited in GEANT4 by the requirement that the stopping range of the particle can decrease by not more than 20 % during the step. This condition works fine for a particle of kinetic energy > 0.5 MeV - 1. MeV , but for low energy it gives very short step sizes. To cure this problem a lower limitation on the stepsize is also introduced. The lower limit of the stepsize is the cut in range parameter of the program.

There is another disadvantage of this usual differential algorithm , which can be a serious problem in the case of certain processes. If the interaction process has a cross section with narrow peaks in it , in this approach the particle can easily skip over these peaks.(This can happen in the case of a number of hadronic processes.)

To overcome these shortcomings the integral approach has been implemented in GEANT4 as an option .

## Particle transport with integral approach

In this algorithm the integral in eq. 1.1 is really computed for every process and another equation is used instead of eq. 1.4 when is updated. This section gives a short overview on the formulae used in this approach.

The change in the number of mean free path after a small step can be written as

 (1.5)

This formula can be rewritten in the following form

 (1.6)

where
 T kinetic energy of the particle inverse of the well-known quantity .

After these preliminaires the number of mean free paths (eq. 1.1) can be rewritten as

 (1.7)

or

 (1.8)

where has been denoted by f() . Eqs. 1.7 and 1.8 are the basic equations of the integral approach . The meaning of the integrals on the right hand sides of the equations is the number of mean free paths for a given process between the initial state of energy T and the stopping of the particle ( energy 0).

The steps of the algorithm using the integral approach are the following:

• the number of mean free paths the particle travels to the interaction point , is sampled using eq. 1.3
• initial value of the quantity is computed
• the (possible) final energy T is calculated from
 (1.9)

• the step limitation originating from the process is

 steplimit = r(T0) - r(T) (1.10)

, where the function r(T) gives the range of the particle for a kinetic energy value T.
If the interaction occurred at the end of the step was some other process or the step was limited by the geometry (at medium boundary) , the number of mean free paths should be updated. This update can be easily done using the function
 (1.11)

## Updating of the proper and laboratory time of the particle

The proper and lab. time of the particle should be updated after each step. This update is done differently in the two approaches.

In the differential approach the following formula is used to update the particle time in the laboratory system

 (1.12)

, where

This expression is a good approximation for use in the differential approach , because in this scheme the velocity is not allowed to change too much during the step.This is not the case in the integral approach, the kinetic energy and the velocity of the particle can change a lot here, therefore the update of the laboratory time is done by using the integral expression
 (1.13)

which can be written as
 (1.14)

In the eqs. 1.13 and 1.14

Using eq. 1.14 the expression for is

 (1.15)

The update of the proper time is performed similarly in the two approaches.

## Status of this document

9.10.98 created by L. Urbán.