!----------------------------------------------------------------------------
! VUV-FEL beamline between Collimator and Undulator
!----------------------------------------------------------------------------

 &NEWRUN
  Head='VUV-FEL beamline between Collimator and Undulator Op1 08082005'
  RUN = 1
  Loop = .F
  Nloop = 1
  Distribution = 'dogleg_out.ini'
  Lmagnetized=.F
  EmitS=.T
  PhaseS=.T
  TrackS=.F
  RefS=.T
  TcheckS=.F
  check_ref_part=.T
  High_res=.T
  TRACK_ALL=.T
  PHASE_SCAN = .F
  AUTO_PHASE = .T
  ZSTART = 160.3166
  ZSTOP  = 205.0
  Zemit  = 100
  Zphase = 2
  H_max = 0.005
  H_min = 0.001
  MAX_STEP = 5000000
  LSUB_COR = .F
  Lprompt = .F
 /






 &SCAN
 /

 &CHARGE
  Loop=.T
  LSPCH = .T
  Nrad=30
  Nlong_in=900
  Cell_var=2.0
  min_grid=0.0D-6
  Max_scale=0.02
  Lmirror=.F
  N_min=100
 /
 
 &APERTURE
 /

 &FEM
 /

 &CAVITY
 /

 &SOLENOID
 /

&QUADRUPOLE
Loop=.F
Lquad=.T

! Quadrupole Q2TCOL
Q_length(1)=0.2768
Q_K(1)=-0.25952   !Design Value
Q_pos(1)=144.503

! Quadrupole Q8TCOL
Q_length(2)=0.2768
Q_K(2)=2.7672   !Design Value
Q_pos(2)=150.995

! Quadrupole Q9TCOL
Q_length(3)=0.2768
Q_K(3)=-3.0542   !Design Value
Q_pos(3)=151.795

! Quadrupole Q3ECOL
Q_length(4)=0.3286
Q_K(4)=4.2485   !Design Value
Q_pos(4)=154.597

! Quadrupole Q4ECOL
Q_length(5)=0.3286
Q_K(5)=-4.3689   !Design Value
Q_pos(5)=155.845

! Quadrupole Q5ECOL
Q_length(6)=0.3286
Q_K(6)=4.2485   !Design Value
Q_pos(6)=157.093

! Quadrupole Q1MATCH
Q_length(7)=0.2768
Q_K(7)=-2.9767   !Design Value
Q_pos(7)=160.455

! Quadrupole Q2MATCH
Q_length(8)=0.2768
Q_K(8)=2.9948   !Design Value
Q_pos(8)=161.205

! Quadrupole Q4MATCH
Q_length(9)=0.2768
Q_K(9)=-0.39028   !Design Value
Q_pos(9)=163.005

! Quadrupole Q6MATCH
Q_length(10)=0.2768
Q_K(10)=-0.13969   !Design Value
Q_pos(10)=164.561

! Quadrupole Q1SUND1
Q_length(11)=0.2768
Q_K(11)=0.35013   !Design Value
Q_pos(11)=166.727

! Quadrupole Q5SUND1
Q_length(12)=0.2768
Q_K(12)=-0.62888   !Design Value
Q_pos(12)=171.217

! Quadrupole Q4SUND2
Q_length(13)=0.2768
Q_K(13)=0.62888   !Design Value
Q_pos(13)=175.708

! Quadrupole Q4SUND3
Q_length(14)=0.2768
Q_K(14)=-0.62888   !Design Value
Q_pos(14)=180.1976

! Quadrupole Q3SEED
Q_length(15)=0.2768
Q_K(15)=0.62888   !Design Value
Q_pos(15)=184.6877

! Quadrupole Q7SEED
Q_length(16)=0.2768
Q_K(16)=-0.62888   !Design Value
Q_pos(16)=189.1778

! Quadrupole Q12SEED
Q_length(17)=0.2768
Q_K(17)=0.62888   !Design Value
Q_pos(17)=193.6679

! Quadrupole Q16SEED
Q_length(18)=0.2768
Q_K(18)=-1.2263   !Design Value
Q_pos(18)=198.158

! Quadrupole Q18SEED
Q_length(19)=0.2768
Q_K(19)=1.425527   !Design Value
Q_pos(19)=199.958

! Quadrupole Q20SEED
Q_length(20)=0.2768
Q_K(20)=-0.3692643   !Design Value
Q_pos(20)=201.758

! Quadrupole Q21SEED
Q_length(21)=0.12716
Q_K(21)=0.7515061   !Design Value
Q_pos(21)=202.943

! Quadrupole Q22SEED
Q_length(22)=0.12716
Q_K(22)=-1.160884   !Design Value
Q_pos(22)=203.328
/

 &DIPOLE
  LDipole=F
 /

 &CSR
  LCSR=.F
 /

 &ERROR
 /
