Next: Local Reference Systems
Up: Conventions
Previous: Closed Orbit
  Contents
  Index
Global Reference System
The global reference orbit
of the accelerator is uniquely defined by the sequence of physical elements.
The local reference system
may thus be referred to a global Cartesian coordinate system .
The positions between beam elements are numbered
.
The local reference system
at position ,
i.e. the displacement and direction of the reference orbit
with respect to the system are defined by three displacements
and three angles
.
Figure 1.2:
Global Reference System
|
The above quantities are defined more precisely as follows:
- X
-
Displacement of the local origin in -direction.
- Y
-
Displacement of the local origin in -direction.
- Z
-
Displacement of the local origin in -direction.
- THETA
-
Angle of rotation (azimuth) about the global -axis,
between the global -axis and the projection
of the reference orbit onto the -plane.
A positive angle THETA forms a right-hand screw with the -axis.
- PHI
-
Pitch angle, i.e. the angle between the reference orbit and its projection
onto the -plane.
A positive angle PHI correspond to increasing with .
If only horizontal bends are present,
the reference orbit remains in the (, )-plane.
In this case PHI is always zero.
- PSI
-
Roll angle about the local -axis,
i.e. the angle between the intersection - and
-planes and the local -axis.
A positive angle PSI forms a right-hand screw with the -axis.
The angles (THETA, PHI, PSI) are not the Euler angles.
The reference orbit starts at the origin and points by default
in the direction of the positive -axis.
The initial local axes
coincide with the global axes in this order.
The six quantities
thus all have zero initial values by default.
The program user may however specify different initial conditions.
Internally the displacement is described by a vector
and the orientation by a unitary matrix .
The column vectors of are the unit vectors spanning
the local coordinate axes in the order .
and have the values:
where
The reference orbit should be closed and it should not be twisted.
This means that the displacement of the local reference system
must be periodic with the revolution frequency of the accelerator,
while the position angles must be periodic
with the revolution frequency.
If PSI is not periodic ,
coupling effects are introduced.
When advancing through a beam element,
MAD computes and
by the recurrence relations
The vector is the displacement and the matrix
is the rotation of the local reference system
at the exit of the element with respect to the entrance
of the same element.
The values of and
are listed below for each physical element type.
Next: Local Reference Systems
Up: Conventions
Previous: Closed Orbit
  Contents
  Index
MAD User Guide, http://wwwslap.cern.ch/mad/