next up previous contents index
Next: Define Initial Conditions Up: Tracking Previous: Tracking   Contents   Index


Track Mode

Before starting to track, a working beam line or sequence and a beam must be selected by the command


TRACK,LINE=name,BEAM=name;
This command causes MAD to enter ``tracking mode'', in which it accepts only the track commands. The attributes of the command are:
LINE
The label of a preceding LINE or SEQUENCE (no default).
BEAM
The named BEAM command defines the particle mass, charge and reference momentum (default: UNNAMED_BEAM).
Particles are tracked in parallel i.e. the coordinates of all particles are transformed at each beam element as it is reached.

MAD leaves track mode when it sees the command


ENDTRACK;



MAD User Guide, http://wwwslap.cern.ch/mad/