EUROPEAN ORGANIZATION FOR NUCLEAR RESEARCH

Sign Conventions for Magnetic Fields

The MAD program uses the following Taylor expansion for the field on the mid-plane y=0, described in SLAC-75:

Note the factorial in the denominator. The field coefficients have the following meaning:

Using this expansion and the curvature h of the reference orbit, the longitudinal component of the vector potential to order 4 is:

Taking curl A in curvilinear coordinates, the field components can be computed as

It can be easily verified that both curl B and div B are zero to the order of the B3 term. Introducing the magnetic rigidity Brho, the multipole coefficients are computed as

Kn = e Bn / ps = Bn / B rho.

hansg, June 17, 2002