Next: The subroutine GUSTEP
Up: TRAK001 The tracking
Previous: Transport subroutines
Once the step size has been decided, transport proceeds along a straight
lines for all neutral particles and for charged particle in absence of
magnetic field. When magnetic field is present, the direction of charged
particles will change along the step. The routine GUSWIM calculates
the deviation in magnetic field over a given step.
Depending on
the tracking medium parameter IFIELD the GUSWIM routine
calls:
- GRKUTA for inhomogeneous fields, IFIELD=1;
- GHELIX for quasi-homogeneous fields, IFIELD=2;
- GHELX3 for uniform fields along the z axis, IFIELD=3).
GRKUTA and GHELIX call the user subroutine
GUFLD to obtain the components of the field in a given point.
GHELX3 takes the value of the field from the tracking medium parameter
FIELDM.
Janne Saarela
Mon Apr 3 12:46:29 METDST 1995