next up previous
Next: Reference orbit display Up: Operations used in conjunction Previous: Error data definition

Misalignment data definition

This operation defines the misalignments of different elements of the lattice. Up to mxmis(100) distinct elements can be misaligned.

Input format 

MISAlignment data definition....(maximum 80 characters)
Name dm1 dm2 dm3 dm4 dz dzr ddel option
.............
Name dm1 dm2 dm3 dm4 dz dzr ddel option
99,

Parameter definitions

For all values of the option parameter, the parameters dz and dzr are the values of the longitudinal displacement and the rotation angle (in radians!!) around the longitudinal axis. The values dm1,dm2,dm3 and dm4 are assumed to be small (either in displaments or angles). The program uses approximate formulae to set up the misaligned element. The parameter option can take the three values 1,2 or 3 which determines the nature of the misalignment

option parameter to determine the nature of the misalignment

1 $\textstyle \parbox{10cm}{
The element is misaligned around the tangent to the
...
... ,dyr
are rotation angles (in radians) around the axes x
and y respectively.}$

2 $\textstyle \parbox{10cm}{
The element is misaligned around the chord defined
...
...2,dy2 are the displacements at
the exit of the element along the axes x and y}$

3 $\textstyle \parbox{10cm}{
The element is misaligned around the tangent to the
...
...1,dm2,dm3 and dm4 have the same
meaning as in the case of the option value 1.}$

4 $\textstyle \parbox{10cm}{
This does not apply to dipole elements (Bends). In
...
...rs dz dzr
are in effect but not ddel.This should be mainly
used on monitors.}$



Examples

The example comes from demo6. Please note that when an element has zero length, the option of the misalignment of that element must be 1.

MISALIGNMENT DEFINITION
DDCH  300E-06 300E-06 300E-06 300E-06 0.0010 0.001 0.0 2
DFCH  300E-06 300E-06 300E-06 300E-06 0.0010 0.001 0.0 2
HC    300E-06 300E-06 300E-06 300E-06 0.0010 0.000 0.0 2
DSH  300E-06 300E-06 300E-06 300E-06 0.0010 0.001 0.0 2
QS1D 300E-06 300E-06 300E-06 300E-06 0.0010 0.001 0.0 2
QS2F 300E-06 300E-06 300E-06 300E-06 0.0010 0.001 0.0 2
QS2D 300E-06 300E-06 300E-06 300E-06 0.0010 0.001 0.0 2
QS3F 300E-06 300E-06 300E-06 300E-06 0.0010 0.001 0.0 2
QS3D 300E-06 300E-06 300E-06 300E-06 0.0010 0.001 0.0 2
99,


next up previous
Next: Reference orbit display Up: Operations used in conjunction Previous: Error data definition
Dobrin Kaltchev 2004-10-20