label: SEXTUPOLE,L=real,K2=real,K2S=real,TILT=real;A SEXTUPOLE has four real attributes:
K2 = 1/(B rho) (ð2By/ð x2).
(default: 0 m**(-3)).
K2S = 1/(2 B rho) (ð2Bx/ð x2 - ð2By/ð y2).
where (x,y) is now a coordinate system rotated by -30o around s with respect to the normal one. (default: 0 m**(-3)). A positive skew sextupole strength implies defocussing (!) of positively charged particles in the (x,s) plane rotated by 30o around s (particles in this plane have x > 0, y > 0).
Please note that contrary to MAD8 one has to specify the desired TILT angle, otherwise it is taken as 0 rad. This was needed to avoid the confusion in MAD8 about the actual meaning of the TILT attribute for various elements.
Note also that K2/K2s can be considered as the normal or skew sextupole components of the magnet on the bench, while the TILT attribute can be considered as an tilt alignment error in the machine. In fact, a positive K2 with a tilt=0 is equivalent to a positive K2s with positive tilt=+pi/6.
Example:
S: SEXTUPOLE,L=0.4,K2=0.00134;The straight reference system for a sextupole is a cartesian coordinate system.
hansg, frs, August 28, 2003