label:SROT,TYPE=string,APERTURE=real-vector,ANGLE=real;The element SROT rotates the reference system about the longitudinal () axis. SROT has no effect on the beam, but it causes the beam to be referred to the new coordinate system
Example:
ROLL1:SROT,ANGLE=PI/2.; ROLL2:SROT,ANGLE=-PI/2.; HBEND:SBEND,L=6.0,ANGLE=0.01; VBEND:LINE=(ROLL1,HBEND,ROLL2);The above is a way to represent a bend down in the vertical plane, it could be defined more simply by
VBEND:SBEND,L=6.0,K0S=-0.01/6.0;