Calculations of the bend angles necessary to set the chicane for Gen01


I have calculated the vertical and horizontal bend angles of the electrons that orginiate at the origin of the target and move "upstream". The code used was a version of Robert Lourie's magnet.for improved and debugged by Oscar Rondon.  I checked the code against the calculations that Heinz Anklin did for Gen98 and they give excellent agreement. The code is available on request.

Here is the partial output of the code.
Donal Day October 3, 2000.



Q^2 = 0.5 GeV^2

Track #:   1                  Integral B_dl =   36.664 T-cm
 angle(v_i,v_f) =     2.703    angle_Bdl =     2.702 degrees
 Bdl/v_if  =    0.9999

 Beam E  2332.000    theta -18.50000     backw.?   b
 B field theta, phi  90.00000     150.2700    e/recoil e  p/d p
 theta_q  60.23058    scattering phi 0.0000000E+00
 Final E 2332.000

Theta_bend =  2.696243     Phi_bend = -.1869511

Note that these are the angles that an electron leaving the target origin will experience going backwards.  Theta_bend is the vertical angle. Positive means that it will get bent up. Phi_bend is the horizontal angle  and the negative sign means that this electron will get bent to the right of the beam line as it goes upstream.

Thus for an electron coming into the magnet it will get bent down and to the right of the beam line. To arrive at the center of the target horizontal it has to be directed 'up" and to the left of the beam line slightly.



Q^2 = 1.0 GeV^2

Track #:   1                  Integral B_dl =   45.331 T-cm
 angle(v_i,v_f) =     2.239    angle_Bdl =     2.238 degrees
 Bdl/v_if  =    0.9999

 Beam E  3481.000    theta -18.00000     backw.?   b
 B field theta, phi  90.00000     143.6150    e/recoil e  p/d p
 theta_q  53.13622    scattering phi 0.0000000E+00
 Final E 3481.000

Theta_bend =  2.236057     Phi_bend = -.1049956

Note that these are the angles that an electron leaving the target origin will experience going backwards.  Theta_bend is the vertical angle. Positive means that it will get bent up. Phi_bend is the horizontal angle  and the negative sign means that this electron will get bent to the right of the beam line as it goes upstream.

Thus for an electron coming into the magnet it will get bent down and to the right of the beam line. To arrive at the center of the target horizontal it has to be directed 'up" and to the left of the beam line slightly.


Theta_bend is the vertical angle and Phi_bend is the horizontal angle. Both of these should be multiplied by -1. With these numbers the positions of the center of the second chicane magnet can be determined.