MAD description of UMER - Injector
Description of the UMER Injector lattice using the Methodical Accelerator Design (MAD) language. Superseded in June 2006 after moving solenoid.
! Define Magnets
! Focusing quads (-ve for electrons)
OQF: QUADRUPOLE,L=0.0363,K1=-229.0
NQF: QUADRUPOLE,L=0.0372,K1=-223.4
YQF: QUADRUPOLE,L=0.0538,K1=-163.21
! De-Focusing quads (+ve for electrons)
OQD: QUADRUPOLE,L=0.0363,K1=229.0
NQD: QUADRUPOLE,L=0.0372,K1=223.4
YQDR: QUADRUPOLE,L=0.0538,K1=177.89
YQDI: QUADRUPOLE,L=0.0538,K1=177.89
! Note that YQDR (ring) and YQDI (injector) is off-centered and tilted in the horizontal plane
EALIGN,YQDR,DX=0.01389,DTHETA=-0.174533,DS=-0.00123413
EALIGN,YQDI,DX=-0.01389,DTHETA=0.174533,DS=-0.00123413
! Dipoles: Bending, Pulsed, Short, and small/large Flange Dipoles
BD: RBEND,L=0.0386,ANGLE=0.174533,FINT=0.45
PD: RBEND,L=0.0518,ANGLE=0.10472,FINT=0.45
SD: HKICKER
F1D: KICKER
F2D: VKICKER
F2DD: KICKER
!
! How to model the Helmholtz coils and the Earth Field???
!
! Diagnostics: Current Monitor, Phosphor Screen, and Beam Position Monitors
CM: MONITOR,L=0.0
PS: MONITOR,L=0.0
BPM: MONITOR,L=0.05
! Do the Injector Separately, reversing bend angles on Y
SOL: SOLENOID,L=0.045,KS=207.3
STRAIGHT: SEQUENCE
GTV: MARKER, AT=0.0
SOL1: SOL, AT=0.160
S1: SD, AT=0.251
P1: PS, AT=0.2608
M1: BPM, AT=0.328
Q1: NQD, AT=0.400,K1=134.15
S2: SD, AT=0.465
Q2: NQF, AT=0.535,K1=-218.69
BERG: CM, AT=0.617
S3: SD, AT=0.665
Q3: NQD, AT=0.7241,K1=215.16
P2: PS, AT=0.7688
M2: BPM, AT=0.836
Q4: NQF, AT=0.9179,K1=-211.06
ENDM: MARKER, AT=0.9749
ENDSEQUENCE
INJY: SEQUENCE
VK: F2DD, AT=0.0
Q5: NQD, AT=0.0866,K1=225.73
SD5: BD, AT=0.1330,ANGLE=0.0
Q6: NQF, AT=0.2465,K1=-226.91
SD6: SD, AT=0.2776,KICK=0.03491
YQ: YQDI, AT=0.3982
B2: PD, AT=0.4774,ANGLE=-0.10472
QR1: YQF, AT=0.5582
ENDM: MARKER, AT=0.6382
ENDSEQUENCE
INJECTOR: LINE=(STRAIGHT, INJY)
USE,INJECTOR