Test of Ring Cooler
 $cont npart=4197  bgen=.false.
 varstep=.true. nprnt=1 prlevel=1 ntuple=.false.
 phasemodel=3 output1=.true. $
 $bmt nbeamtyp=1 $
 1 2 1. 2
 0. 0.25 0. 360. -0.4 0.9
-0.025  0.025 0.0 0.0 0.43 0.58
 0
 $ints ldecay=.false. ldedx=.true. lstrag=.true. lscatter=.true.
  delev=2 straglev=4 scatlev=4  $
 $nhs nhist=0  hauto=.true. hcprn=.false. $ 
 $nsc nscat=0  sauto=.true. $
 $nzh nzhist=2 zhauto=.true. $ 
 10  0. .2 70 0 0.1 1
 0  0. .2 70 0 0.1 6
 $nrh nrhist=0 $
 $nem nemit=2 pxycorr=.false. sigmacut=.true. $
  1 27 
 $ncv $
SECTION            
REFP   
 2 0.500  0.0  3.595038682 4
! Start cell
REPEAT
256
SREGION         ! RF
0.5  1    1e-3
1  0.   0.21
ACCEL
2.  100.625   5.00  49.0248517854  0.   0. 0. 0. 0. 0.   0. 0. 0. 0. 0. !
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         ! RF
0.5  1    1e-3
1  0.   0.21
ACCEL
2.  100.625   5.00  49.0248517854  0.   0. 0. 0. 0. 0.   0. 0. 0. 0. 0. !
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         !  drift
1.00       1  2e-3
1  0.   0.21
NONE
  0. 0. 0. 0. 0.   0. 0. 0. 0. 0.  0. 0. 0. 0. 0.
VAC
CBLOCK
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         !  drift
0.3599217  1  2e-3
1  0.   0.21
NONE
  0. 0. 0. 0. 0.   0. 0. 0. 0. 0.  0. 0. 0. 0. 0.
VAC
CBLOCK
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         ! QUAD #5
0.200  1    5e-3
1  0.   0.21
QUAD
1.  5.2543723   0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ! Gradient Q5
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         !  drift
0.250       1  2e-3
1  0.   0.21
NONE
  0. 0. 0. 0. 0.   0. 0. 0. 0. 0.  0. 0. 0. 0. 0.
VAC
CBLOCK
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         ! QUAD #4
0.200  1    5e-3
1  0.   0.21
QUAD
1.  -7.9532918 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ! Gradient Q4
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         !  drift
0.250       1  2e-3
1  0.   0.21
NONE
  0. 0. 0. 0. 0.   0. 0. 0. 0. 0.  0. 0. 0. 0. 0.
VAC
CBLOCK
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         ! QUAD #3
0.200  1    5e-3
1  0.   0.21
QUAD
1.   -2.5332275 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ! Gradient Q3
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         !  drift
0.200       1  2e-3
1  0.   0.21
NONE
  0. 0. 0. 0. 0.   0. 0. 0. 0. 0.  0. 0. 0. 0. 0.
VAC
CBLOCK
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         ! QUAD #D
0.050  1    5e-3
1  0.   0.21
QUAD
1.  29.1507461 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ! Gradient QD
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         ! Horizontal bend dipole
0.200  1    5e-3
1  0.   0.21
DIP
1.  1.6800749 0. 0.5036738569736 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ! Field strength
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         ! QUAD #D
0.050  1    5e-3
1  0.   0.21
QUAD
1.  29.1507461 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ! Gradient QD
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         !  drift
0.200       1  2e-3
1  0.   0.21
NONE
  0. 0. 0. 0. 0.   0. 0. 0. 0. 0.  0. 0. 0. 0. 0.
VAC
CBLOCK
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         ! QUAD #2
0.200  1    5e-3
1  0.   0.21
QUAD
1.  -18.6812636 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ! Gradient Q2
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         !  drift
0.250       1  2e-3
1  0.   0.21
NONE
  0. 0. 0. 0. 0.   0. 0. 0. 0. 0.  0. 0. 0. 0. 0.
VAC
CBLOCK
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         ! QUAD #1
0.200  1    5e-3
1  0.   0.21
QUAD
1.  13.2487281 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ! Gradient Q1
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         !  drift
0.1250       1  2e-3
1  0.   0.21
NONE
  0. 0. 0. 0. 0.   0. 0. 0. 0. 0.  0. 0. 0. 0. 0.
VAC
CBLOCK
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION                        ! 1st half 20 deg WEDGE FOR BENDING RING
0.25  1  1e-3
1  0.   0.21
NONE
0.0  0.0  0.0  0.0  0.0    0.   0. 0. 0. 0.  0. 0. 0. 0. 0.
LH
WEDGE
40.0  0.343434731287  0.25  180.0  0.60  0.50  0. 0. 0. 0. !ANG RVERT ZVERT AZ DX DY
SREGION                        ! 2nd half 20 deg WEDGE FOR BENDING RING
0.25  1  1e-3
1  0.   0.21
NONE
0.0  0.0  0.0  0.0  0.0    0.   0. 0. 0. 0.  0. 0. 0. 0. 0.
LH
WEDGE
40.0  0.343434731287  0.00  180.0  0.60  0.50  0. 0. 0. 0. !ANG RVERT ZVERT AZ DX DY
SREGION         !  drift
0.1250       1  2e-3
1  0.   0.21
NONE
  0. 0. 0. 0. 0.   0. 0. 0. 0. 0.  0. 0. 0. 0. 0.
VAC
CBLOCK
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         ! QUAD #1
0.200  1    5e-3
1  0.   0.21
QUAD
1.  13.0554220 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ! Gradient Q1
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         !  drift
0.250       1  2e-3
1  0.   0.21
NONE
  0. 0. 0. 0. 0.   0. 0. 0. 0. 0.  0. 0. 0. 0. 0.
VAC
CBLOCK
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         ! QUAD #2
0.200  1    5e-3
1  0.   0.21
QUAD
1.  -18.4086938 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ! Gradient Q2
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         !  drift
0.200       1  2e-3
1  0.   0.21
NONE
  0. 0. 0. 0. 0.   0. 0. 0. 0. 0.  0. 0. 0. 0. 0.
VAC
CBLOCK
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         ! QUAD #D
0.050  1    5e-3
1  0.   0.21
QUAD
1.  28.7254209 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ! Gradient QD
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         ! Horizontal bend dipole
0.200  1    5e-3
1  0.   0.21
DIP
1.  1.6555617 0. 0.49632498869985 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ! Field strength
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         ! QUAD #D
0.050  1    5e-3
1  0.   0.21
QUAD
1.  28.7254209 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ! Gradient QD
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         !  drift
0.200       1  2e-3
1  0.   0.21
NONE
  0. 0. 0. 0. 0.   0. 0. 0. 0. 0.  0. 0. 0. 0. 0.
VAC
CBLOCK
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         ! QUAD #3
0.200  1    5e-3
1  0.   0.21
QUAD
1.   -2.4962664 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ! Gradient Q3
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         !  drift
0.250       1  2e-3
1  0.   0.21
NONE
  0. 0. 0. 0. 0.   0. 0. 0. 0. 0.  0. 0. 0. 0. 0.
VAC
CBLOCK
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         ! QUAD #4
0.200  1    5e-3
1  0.   0.21
QUAD
1.  -7.8372490 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ! Gradient Q4
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         !  drift
0.25       1  2e-3
1  0.   0.21
NONE
  0. 0. 0. 0. 0.   0. 0. 0. 0. 0.  0. 0. 0. 0. 0.
VAC
CBLOCK
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         ! QUAD #5
0.200  1    5e-3
1  0.   0.21
QUAD
1.  5.1777081 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ! Gradient Q5
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         !  drift
0.3599217  1  2e-3
1  0.   0.21
NONE
  0. 0. 0. 0. 0.   0. 0. 0. 0. 0.  0. 0. 0. 0. 0.
VAC
CBLOCK
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         !  drift
1.00       1  2e-3
1  0.   0.21
NONE
  0. 0. 0. 0. 0.   0. 0. 0. 0. 0.  0. 0. 0. 0. 0.
VAC
CBLOCK
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
SREGION         ! RF
0.5  1    1e-3
1  0.   0.21
ACCEL
2.  100.625   5.00  49.025354  0.   0. 0. 0. 0. 0.   0. 0. 0. 0. 0. !
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
OUTPUT
SREGION         ! RF
0.5  1    1e-3
1  0.   0.21
ACCEL
2.  100.625   5.00  49.025354  0.   0. 0. 0. 0. 0.   0. 0. 0. 0. 0. !
VAC
NONE
   0. 0. 0. 0. 0.   0. 0. 0. 0. 0.
ENDREPEAT
ENDSECTION