next up previous contents index
Next: MAD-9 Language Syntax Up: Tracking Previous: Save Particle Positions   Contents   Index


Tracking Example


L: LINE=(OCT,-OCT); 
// Misalignments and closed orbit correction may be done here. 
P0=60.0;
B:BEAM,ENERGY=60.0; 
TRACK,LINE=L,BEAM=B;
   START,X=0.001,Y=0.001,PT=0.001;
   RUN,TURNS=1024; 
ENDTRACK;



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