;09/21/00 The dqs in SC2 card is changed to confirm to the specified exact 5.839m and 7.891m
;         cryomodule length. The dseg is about right to average (actual dseg changes within a module)
;09/20/00 Corrected tnk1-tnk2, tnk2-tnk3 distance slightly to match to exact 1betalambda
;         Rematch the MEBT-DTL match, the CCL-SC2 match redone.
;         970 MeV end. The E0 is put back to 17.94MV/m to maintain 27.5MV/m Peak field.
;08/25/00 The betag=0.81 superconducting transit time factor table updated
;         The E0 is slightly increased & adjusted to reproduce previous results.
;07/13/00 The betag=0.81 superconducting length is corrected
;         Needs to do the precise beam matching between betg=0.61 to 0.81 by adjusting
;         quad strengths. Currently almost OK as observed by the beam dynamics.
;         almost ok.
;07/06/00 Extended the CCL to SC2 drifts to accomodate pumps.
;06/29/00 Staples 5/31/00 new mebt placed in service.
;06/13/00 CCL sftables are updated.
;--------------------Global Parameters---------------------
;PrintDesignLong
;PrintDynamicsLong
DesignOnly    ; this disables the dynamics calculation
NoSFTableout
Power
FullWallPower
;NoPlotOut
Run 1 1
Title
*** ORNL Sept 22,2000 Design***
;linac W0,     Fbunch, Ibeam, Mc^2,     Nq
linac  2.5    402.5  56.00  939.3014, -1;

;--------------------Beam Particle Distribution Spec---------
;
;ReadDist -16.1885

Startphase -45.
input -8 10000  -2.3849 21.3480 0.001281
                1.9242 16.7340 0.001262
               -0.1704 93.5829 0.001570   ! RFQ beam output 56 mA 10k


;------------------RF Amplitude and Phase Error------------------
;  Each module corresponds to each RFError (for ID1 eq ID2)
;  (If ID1 <> ID2, rfmodule spans across to next structure.)
;RFErrors 0.00 0.00                 ; Error calculation is totally ignored
;      DelA(%)  DelPh(Deg) dAmax(%) dphmax(deg) Nsegprkly IndepPH/AMP
;RFErrors 0.5    0.5       3.      3.           6      1  ; Error Max is +-DelA, +-Delph
;?RFErrors  0.5    0.5       0.5     0.5          1      1  ; Error Max is +-DelA, +-Delph !errorset
;      ID1 NC1 ID2 NC2 DelA(%) Delph(Deg)
;RFError 2  1   2    336  1.e-9     1.e-9
;RFError 3  1   3    48  1.e-9     1.e-9
;  CCL
;?RFError 14    1  14   96 1.0     1.0    !errorset
;?RFError 14   97  14  192 1.0     1.0    !errorset
;?RFError 14  193  15   64 1.0     1.0    !errorset
;?RFError 15   65  15  160 1.0     1.0    !errorset
;  SC
;RFError 5  19    5  36
;RFError 5  37    5  162


;------------------------------------------------------------
;  !!! This is the New Mebt !!!
;Structure id,Nlast,F0,Fsf,deltaphi
Structure  1, 0,   402.5 402.5  0.
title
*** ORNL Sept 22,2000 Design*** MEBT by J.Staple 5/31/00
; The last half are slightly modified to accomodate the matching to
; FFODDO lattice.
Transport -45.
OldRectangle
Bore 2.5
;+++++++++Errors+++
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors 0.0127  0.0127 0.57     0.57   0.25   1.732
;?QuadErrors 0.0      0.0    0.57     0.57   0.25   1.732  ! errorset
;+++++++++
drift 0. 1.5 1 1
chopper 0.649227
;quad L, Ra, outputflag, B, errorflag
;quad 1.5 0 1 8650. 1
;cavity 0 ra out, dW, fc, psic
drift   00.e-1  1.5  1  1
drift 104.5e-1 1.5  1  4
quad   61.e-1   1.5  1    -33.796e+2   1
drift  84.e-1   1.5  1  2
quad   61.e-1   1.5  1    +35.999e+2   1
drift  84.e-1   1.5  1  2
quad   61.e-1   1.5  1    -27.61e+2    1
drift  79.5e-1  1.5  1  2
cavity  0       1.5  1     0.075 402.5 -90.
drift  79.5e-1  1.5  1  2
quad   61.e-1   1.5  1    +16.195e+2   1
drift  114.5e-1 1.5  1  4
rectangle 0     0    1  1.5 0.9
drift  175.e-1  1.5  1  10
rectangle 0     0    1  1.5 0.9
tilt      0     0    0  0   0
drift 175.e-1   1.5  1  10
rectangle 0     0    1  1.5 1.05 -1.5 -0.75
drift 155.e-1   2.0  1  5
;cavity  0       1.5  1     0.045 402.5 -90.
cavity  0       1.5  1     0.0538408 402.5 -90.
drift  77.e-1   2.0  1  2
quad   66.e-1   2.0  1    -17.e+2      1
drift  34.e-1   2.0  1  2
quad   66.e-1   2.0  1    +26.20e+2    1
drift  34.e-1   2.0  1  2
quad   66.e-1   2.0  1    -11.70e+2    1
drift 137.e-1   2.0  1  4
rectangle 0     0    1  2.0 2.0
drift 137.e-1   2.0  1  4
quad   66.e-1   2.0  1    -11.70e+2    1
drift  34.e-1   2.0  1  2
quad   66.e-1   2.0  1    +26.20e+2    1
drift  34.e-1   2.0  1  2
quad   66.e-1   2.0  1    -17.00e+2    1
drift  77.e-1   2.0  1  2
;cavity  0       1.5  1     0.049  402.5 -90.
;cavity  0       1.5  1     0.050   402.5 -90.
cavity  0       1.5  1     0.049537  402.5 -90.
drift 155.e-1   2.0  1  5
rectangle 0     0    1  1.5 1.05 -1.5 -0.75
drift  175.e-1  1.5  1  10
rectangle 0     0    1  1.5 0.9
tilt      0     0    0  0   0
drift  175.e-1  1.5  1  10
rectangle 0     0    1  1.5 0.9
drift 119.5e-1   1.5  1  4
;quad   70.e-1   1.5  1     14.198094e+2
;quad   61.e-1   1.5  1     18.447e+2   1
quad   61.e-1   1.5  1     16.999552e+2   1
drift  89.e-1   1.5  1  2
;quad   70.e-1   1.5  1    -28.632952e+2
;quad   61.e-1   1.5  1    -26.00e+2    1
quad   61.e-1   1.5  1    -24.065069e+2    1
drift  74.5e-1   1.5  1  2
;cavity  0       1.5  1     0.1176 402.5 -90.
cavity  0       1.5  1     0.1     402.5 -90.
drift  74.5e-1   1.5  1  2
;quad   70.e-1   1.5  1    +29.630334e+2
;quad   61.e-1   1.5  1    +26.50e+2    1
quad   61.e-1   1.5  1    +25.768781e+2    1
drift  84.e-1   1.5  1  2
;quad   70.e-1   1.5  1    -34.678928e+2
;quad   61.e-1   1.5  1    -17.50e+2    1
quad   61.e-1   1.5  1    -15.369541e+2    1
drift 194.5e-1  1.5  1  5
;quad   15.0e-1  1.25  1    -37.00e+2
quad   17.5e-1  1.25  1    -37.00e+2   1

;scheff deltaR. deltaZ, Nr, Nz, Nbunch, Nbetalambda, Remesh
scheff  .05     .05     20   40   0      0            3
output 2 1   1 300 1
prtbeam
begin

;------------------------------------------------------------
;Structure id,Nlast,F0,Fsf,deltaphi
;Structure   2 60  402.5 402.5  -1.4988
Structure   2 60  402.5 402.5  -0.1286
title
*** ORNL Sept 22,2000 Design*** .DTL. Tank 1
ForceReadDTL
;DTL 1  -60 -45.0  1.13 0.00400  2.980 0  0. 3. -3.
DTL 1  -60 -45.0  1.13 0.00407  3.80 0  0. 3. -3.
        3.5 5 5 11 0.    1.25 0. 0  0. 0
        1 1 2 0 0        -25     0 0 0 0

;phaselaw 1 1 1 84 -45 -45
change 14 2.49 3700.0 101.1 3700.
change 16 3700 1
;+++++++++Errors+++
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors 0.0127 0.0127  0.57     0.57   0.25   0.
;?QuadErrors  0.0     0.0    0.57     0.570   0.2864   0.  ! errorset
;TankErrors dA(%) dphi(Deg) dApr(%)
;?TankErrors  0.5   0.5       0.1  ! errorset
;+++++++++

; 12/2/99 J.Billen (New DTL design for FFODDO lattice)
; Include this file in the PARMILA input file.
; No correction to shunt impedance Z for coupling slots.
; Shunt impedance Z reduced by user-supplied factor =  0.8000.
; Geometric beta column not included.
SFDATA
; Bore = 1.25, DTL
;   Beta       T         TP        S         SP       g/bl      Z            E/E0      Tave     dZctr
  0.070000  0.563010  0.099403  0.572469  0.022447  0.170421  49.8612      1.000000  0.563010  0.000000
  0.072500  0.581612  0.096563  0.566283  0.025463  0.167853  50.4299      1.000000  0.581612  0.000000
  0.075000  0.599051  0.093822  0.560088  0.028186  0.165729  50.9760      1.000000  0.599051  0.000000
  0.077500  0.615369  0.091189  0.553920  0.030637  0.163998  51.4976      1.000000  0.615369  0.000000
  0.080000  0.630698  0.088647  0.547776  0.032845  0.162626  51.9942      1.000000  0.630698  0.000000
  0.082500  0.644995  0.086223  0.541736  0.034826  0.161560  52.4719      1.000000  0.644995  0.000000
  0.085000  0.658356  0.083904  0.535804  0.036602  0.160788  52.9310      1.000000  0.658356  0.000000
  0.087500  0.670415  0.081808  0.530288  0.038194  0.160238  53.3980      1.000000  0.670415  0.000000
  0.090000  0.682070  0.079703  0.524643  0.039624  0.159948  53.8255      1.000000  0.682070  0.000000
  0.092500  0.692965  0.077700  0.519154  0.040905  0.159869  54.2361      1.000000  0.692965  0.000000
  0.095000  0.703141  0.075794  0.513833  0.042052  0.159983  54.6305      1.000000  0.703141  0.000000
  0.097500  0.713137  0.073850  0.508297  0.043068  0.160303  54.9894      1.000000  0.713137  0.000000
  0.100000  0.722067  0.072120  0.503294  0.043986  0.160757  55.3526      1.000000  0.722067  0.000000
  0.105000  0.740646  0.068346  0.491644  0.045578  0.157853  56.0701      1.000000  0.740646  0.000000
  0.110000  0.756748  0.064987  0.480954  0.046806  0.156429  56.7435      1.000000  0.756748  0.000000
  0.115000  0.770679  0.062011  0.471253  0.047753  0.156250  57.3793      1.000000  0.770679  0.000000
  0.120000  0.782850  0.059350  0.462490  0.048490  0.157125  57.8700      1.000000  0.782850  0.000000
  0.125000  0.793343  0.057036  0.454743  0.049088  0.158742  58.3995      1.000000  0.793343  0.000000
  0.130000  0.802303  0.055025  0.447951  0.049549  0.161141  58.8976      1.000000  0.802303  0.000000 -1

change 14 2.49 3700.0 101.1 3700.
change 16 3700 1
linout 1
;linout 4
elimit 50.
scheff 0.05  0.05 20 40 0 0 1 1 2
start 1
stop 60
output 2 1  2 300 3
;output 3 1  1
;output 4 1  1
prtbeam
begin

;------------------------------------------------------------
;Structure id,Nlast,F0,Fsf,deltaphi
Structure  3  0,   402.5 402.5  0.
title
*** ORNL Sept 22,2000 Design*** BTW tank 1-2
Transport
Bore 2.5
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors 0.0127 0.0127  0.57     0.57   0.25   0.
;?QuadErrors  0.0     0.0    0.57     0.570   0.2864   0.  ! errorset
;quad L, Ra, outputflag, B, errorflag
quad 1.75 0 1 -37.e2  0
;drift  5.83341  1.5  1  4  ! slightly short
drift  5.870655 1.5  1  4
quad 1.75 0 1  0.e2   0

;scheff deltaR. deltaZ, Nr, Nz, Nbunch, Nbetalambda, Remesh
scheff  .05     .05     20   40   0      0            3
output 2 1   1 300 1
prtbeam
begin

;------------------------------------------------------------
;Structure id,Nlast,F0,Fsf,deltaphi
Structure   4 48  402.5 402.5  0.
title
*** ORNL Sept 22,2000 Design*** .DTL. Tank 2
ForceReadDTL
DTL 1  -48  -26.797  3.0370 0.000303   3.60 0  0. 3. -3.
        3.5 5 6 11 0.    1.25  0. 0. 0. 0
        1 1 0 0 0        -25     0 0 0 0

;phaselaw 1 1 1 84 -45 -45
change 14 2.49 3700.0 101.1 3700.
change 16 3700 1

;+++++++++Errors+++
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors 0.0127 0.0127  0.57     0.57   0.25   0.
;?QuadErrors  0.0     0.0    0.57     0.570   0.2864   0.  ! errorset
;TankErrors dA(%) dphi(Deg) dApr(%)
;?TankErrors  0.5   0.5       0.1  ! errorset
;+++++++++

; 12/2/99 J.Billen (New DTL design for FFODDO lattice)
; Include this file in the PARMILA input file.
; No correction to shunt impedance Z for coupling slots.
; Shunt impedance Z reduced by user-supplied factor =  0.8000.
; Geometric beta column not included.
SFDATA
; Bore = 1.25, DTL
;   Beta       T         TP        S         SP       g/bl      Z            E/E0      Tave     dZctr
  0.120000  0.778991  0.060317  0.466523  0.048559  0.162287  57.8122      1.000000  0.778991  0.000000
  0.130000  0.799509  0.055733  0.451016  0.049631  0.164713  58.8334      1.000000  0.799509  0.000000
  0.140000  0.815385  0.052086  0.438488  0.050309  0.168953  59.6421      1.000000  0.815385  0.000000
  0.150000  0.827281  0.049300  0.428965  0.050768  0.174660  60.3401      1.000000  0.827281  0.000000
  0.160000  0.836354  0.047149  0.421776  0.051121  0.180845  60.9217      1.000000  0.836354  0.000000
  0.170000  0.844978  0.045035  0.414221  0.051281  0.184731  61.4827      1.000000  0.844978  0.000000
  0.180000  0.851726  0.043367  0.408444  0.051424  0.189056  61.9558      1.000000  0.851726  0.000000
  0.190000  0.856870  0.042095  0.404318  0.051586  0.193688  62.3813      1.000000  0.856870  0.000000
  0.200000  0.860650  0.041170  0.401695  0.051790  0.198577  62.7566      1.000000  0.860650  0.000000
  0.210000  0.863282  0.040542  0.400410  0.052046  0.203654  63.1073      1.000000  0.863282  0.000000
  0.220000  0.864918  0.040178  0.400336  0.052360  0.208887  63.4450      1.000000  0.864918  0.000000 -1

change 14 2.49 3700.0 101.1 3700.
change 16 3700 1
linout 1
;linout 4
elimit 50.
scheff 0.05  0.05 20 40 0 0 1 1 2
start 1
stop 48
output 2 1  1 300 3
;output 3 1  1
;output 4 1  1
prtbeam
begin

;------------------------------------------------------------
;Structure id,Nlast,F0,Fsf,deltaphi
Structure  5  0,   402.5 402.5  0.
title
*** ORNL Sept 22,2000 Design*** BTW tank 2-3
Transport
Bore 2.5
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors 0.0127 0.0127  0.57     0.57   0.25   0.
;?QuadErrors  0.0     0.0    0.57     0.570   0.2864   0.  ! errorset
;quad L, Ra, outputflag, B, errorflag
quad 1.75 0 1 0.e2  1
;drift  12.6292 1.5  1  4  ! slightly short
drift  12.632186 1.5  1  4
quad 1.75 0 1 37.e2 1

;scheff deltaR. deltaZ, Nr, Nz, Nbunch, Nbetalambda, Remesh
scheff  .05     .05     20   40   0      0            3
output 2 1   1 300 1
prtbeam
begin

;------------------------------------------------------------
;Structure id,Nlast,F0,Fsf,deltaphi
Structure   6 34  402.5 402.5  0.
title
*** ORNL Sept 22,2000 Design*** .DTL. Tank 3
ForceReadDTL
DTL 1  -34  -25.  3.599 0.000   3.6 0  0. 3. -3.
        3.5 5 1 11 0.    1.25  0. 0  0. 0
        1 0 0 0 0        -25     0 0 0 0

;phaselaw 1 1 1 84 -45 -45
change 14 2.49 3700.0 101.1 3700.
change 16 3700 1

;+++++++++Errors+++
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors 0.0127 0.0127  0.57     0.25   0.25   0.
;?QuadErrors  0.0     0.0    0.57     0.570   0.2864   0.  ! errorset
;TankErrors dA(%) dphi(Deg) dApr(%)
;?TankErrors  0.5   0.5       0.1  ! errorset
;+++++++++

; 10/8/99 J.Billen (New DTL design for FFODDO lattice)
; Include this file in the PARMILA input file.
; No correction to shunt impedance Z for coupling slots.
; Shunt impedance Z reduced by user-supplied factor =  0.8000.
; Geometric beta column not included.
SFDATA
; Bore = 1.25, DTL
;   Beta       T         TP        S         SP       g/bl      Z            E/E0      Tave     dZctr
  0.210000  0.825803  0.051008  0.452184  0.055768  0.250346  61.2875      1.000000  0.825803  0.000000
  0.220000  0.826469  0.050956  0.453806  0.056277  0.255203  61.5794      1.000000  0.826469  0.000000
  0.230000  0.826263  0.051129  0.456330  0.056805  0.260158  61.8343      1.000000  0.826263  0.000000
  0.240000  0.825315  0.051496  0.459632  0.057352  0.265172  62.0547      1.000000  0.825315  0.000000
  0.250000  0.823673  0.052047  0.463638  0.057912  0.270252  62.2506      1.000000  0.823673  0.000000
  0.260000  0.821433  0.052756  0.468247  0.058485  0.275363  62.4257      1.000000  0.821433  0.000000
  0.270000  0.818635  0.053613  0.473405  0.059066  0.280513  62.5754      1.000000  0.818635  0.000000
  0.280000  0.815357  0.054598  0.479017  0.059651  0.285679  62.7118      1.000000  0.815357  0.000000
  0.290000  0.811630  0.055703  0.485024  0.060234  0.290843  62.8402      1.000000  0.811630  0.000000
  0.310000  0.802991  0.058225  0.498012  0.061381  0.301168  63.0706      1.000000  0.802991  0.000000
  0.320000  0.797112  0.059905  0.505959  0.061964  0.307613  63.1470      1.000000  0.797112  0.000000
  0.330000  0.790838  0.061687  0.514142  0.062521  0.314077  63.2166      1.000000  0.790838  0.000000
  0.340000  0.784224  0.063554  0.522480  0.063045  0.320524  63.2886      1.000000  0.784224  0.000000
  0.350000  0.777262  0.065508  0.530966  0.063532  0.326973  63.3575      1.000000  0.777262  0.000000
  0.360000  0.769965  0.067545  0.539575  0.063979  0.333426  63.4276      1.000000  0.769965  0.000000
  0.370000  0.762344  0.069659  0.548279  0.064380  0.339887  63.5009      1.000000  0.762344  0.000000
  0.380000  0.754380  0.071855  0.557084  0.064733  0.346370  63.5815      1.000000  0.754380  0.000000
  0.390000  0.746056  0.074136  0.565989  0.065034  0.352899  63.6736      1.000000  0.746056  0.000000
  0.400000  0.737336  0.076511  0.575012  0.065278  0.359507  63.7706      1.000000  0.737336  0.000000
  0.410000  0.728150  0.078995  0.584197  0.065460  0.366239  63.8834      1.000000  0.728150  0.000000 -1

change 14 2.49 3700.0 101.1 3700.
change 16 3700 1
linout 1
;linout 4
elimit 50.
scheff 0.05  0.05 20 40 0 0 1 1 2
start 1
stop 34
output 2 1  3 300 3
;output 3 1  1
;output 4 1  1
prtbeam
begin

;------------------------------------------------------------
;Structure id,Nlast,F0,Fsf,deltaphi
Structure  7  0,   402.5 402.5  0.
title
*** ORNL Sept 22,2000 Design*** BTW tank 3-4
Transport
Bore 2.5
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors 0.0127 0.0127  0.57     0.57   0.25   0.
;?QuadErrors  0.0     0.0    0.57     0.570   0.2864   0.  ! errorset
;quad L, Ra, outputflag, B, errorflag
quad 1.75 0 1 -37.e2 1
drift  17.51675 1.5  1  4
quad 1.75 0 1 0.e2 1

;scheff deltaR. deltaZ, Nr, Nz, Nbunch, Nbetalambda, Remesh
scheff  .05     .05     20   40   0      0            3
output 2 1   1 300 1
prtbeam
begin

;------------------------------------------------------------
;Structure id,Nlast,F0,Fsf,deltaphi
Structure   8 28    402.5 402.5  0.
title
*** ORNL Sept 22,2000 Design*** .DTL. Tank 4
ForceReadDTL
DTL 1  -28 -25.0  3.60 0.000    3.6  0  0. 3. -3.
        3.5 5 6 11 0.    1.25 0. 0  0. 0
        1 1 2 0 0        -25     0 0 0 0

;phaselaw 1 1 1 84 -45 -45
;change 14 2.49 3700.0 101.1 2600.
change 14 2.49 3700.0 101.1 3700.
;change 16 3700 1

;+++++++++Errors+++
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors 0.0127 0.0127  0.57     0.25   0.25   0.
;?QuadErrors  0.0     0.0    0.57     0.570   0.2864   0.  ! errorset
;TankErrors dA(%) dphi(Deg) dApr(%)
;?TankErrors  0.5   0.5       0.1 ! errorset
;+++++++++

; 10/8/99 J.Billen (New DTL design for FFODDO lattice)
; Include this file in the PARMILA input file.
; No correction to shunt impedance Z for coupling slots.
; Shunt impedance Z reduced by user-supplied factor =  0.8000.
; Geometric beta column not included.
SFDATA
; Bore = 1.25, DTL
;   Beta       T         TP        S         SP       g/bl      Z            E/E0      Tave     dZctr
  0.210000  0.825803  0.051008  0.452184  0.055768  0.250346  61.2875      1.000000  0.825803  0.000000
  0.220000  0.826469  0.050956  0.453806  0.056277  0.255203  61.5794      1.000000  0.826469  0.000000
  0.230000  0.826263  0.051129  0.456330  0.056805  0.260158  61.8343      1.000000  0.826263  0.000000
  0.240000  0.825315  0.051496  0.459632  0.057352  0.265172  62.0547      1.000000  0.825315  0.000000
  0.250000  0.823673  0.052047  0.463638  0.057912  0.270252  62.2506      1.000000  0.823673  0.000000
  0.260000  0.821433  0.052756  0.468247  0.058485  0.275363  62.4257      1.000000  0.821433  0.000000
  0.270000  0.818635  0.053613  0.473405  0.059066  0.280513  62.5754      1.000000  0.818635  0.000000
  0.280000  0.815357  0.054598  0.479017  0.059651  0.285679  62.7118      1.000000  0.815357  0.000000
  0.290000  0.811630  0.055703  0.485024  0.060234  0.290843  62.8402      1.000000  0.811630  0.000000
  0.310000  0.802991  0.058225  0.498012  0.061381  0.301168  63.0706      1.000000  0.802991  0.000000
  0.320000  0.797112  0.059905  0.505959  0.061964  0.307613  63.1470      1.000000  0.797112  0.000000
  0.330000  0.790838  0.061687  0.514142  0.062521  0.314077  63.2166      1.000000  0.790838  0.000000
  0.340000  0.784224  0.063554  0.522480  0.063045  0.320524  63.2886      1.000000  0.784224  0.000000
  0.350000  0.777262  0.065508  0.530966  0.063532  0.326973  63.3575      1.000000  0.777262  0.000000
  0.360000  0.769965  0.067545  0.539575  0.063979  0.333426  63.4276      1.000000  0.769965  0.000000
  0.370000  0.762344  0.069659  0.548279  0.064380  0.339887  63.5009      1.000000  0.762344  0.000000
  0.380000  0.754380  0.071855  0.557084  0.064733  0.346370  63.5815      1.000000  0.754380  0.000000
  0.390000  0.746056  0.074136  0.565989  0.065034  0.352899  63.6736      1.000000  0.746056  0.000000
  0.400000  0.737336  0.076511  0.575012  0.065278  0.359507  63.7706      1.000000  0.737336  0.000000
  0.410000  0.728150  0.078995  0.584197  0.065460  0.366239  63.8834      1.000000  0.728150  0.000000 -1

;change 14 2.49 3700.0 101.1 2600.
change 14 2.49 3700.0 101.1 3700.
change 16 3700 1
linout 1
;linout 4
elimit 50.
scheff 0.05  0.05 20 40 0 0 1 1 2
start 1
stop 28
output 2 1  1 300 3
output 3 1  1
;output 4 1  1
prtbeam
begin

;------------------------------------------------------------
;Structure id,Nlast,F0,Fsf,deltaphi
Structure  9  0,   402.5 402.5  0.
title
*** ORNL Sept 22,2000 Design*** BTW tank 4-5
Transport
Bore 2.5
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors 0.0127 0.0127  0.57     0.57   0.25   0.
;?QuadErrors  0.0     0.0    0.57     0.570   0.2864   0.  ! errorset
;quad L, Ra, outputflag, B, errorflag
quad 1.75 0 1 -37.e2 1
drift  21.24684 1.5  1  4
quad 1.75 0 1 -37.e2 1

;scheff deltaR. deltaZ, Nr, Nz, Nbunch, Nbetalambda, Remesh
scheff  .05     .05     20   40   0      0            3
output 2 1   1 300 1
prtbeam
begin

;------------------------------------------------------------
;Structure id,Nlast,F0,Fsf,deltaphi
Structure   10 24    402.5 402.5  0.
title
*** ORNL Sept 22,2000 Design*** .DTL. Tank 5
;ForceReadDTL
DTL 1  -24 -25.0  3.6 0.000    3.600 0.  0. 3. -3.
        3.5 5 5 11 0.    1.25 0. 0. 0. 0
        1 0 0 0 0        -25
change 14 2.49 3700.0 101.1 3700.
change 16 3700 1

;+++++++++Errors+++
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors 0.0127 0.0127  0.57     0.25   0.25   0.
;?QuadErrors  0.0     0.0    0.57     0.570   0.2864   0.  ! errorset
;TankErrors dA(%) dphi(Deg) dApr(%)
;?TankErrors  0.5   0.5       0.1  ! errorset
;+++++++++

; 10/8/99 J.Billen (New DTL design for FFODDO lattice)
; Include this file in the PARMILA input file.
; No correction to shunt impedance Z for coupling slots.
; Shunt impedance Z reduced by user-supplied factor =  0.8000.
; Geometric beta column not included.
SFDATA
; Bore = 1.25, DTL
;   Beta       T         TP        S         SP       g/bl      Z            E/E0      Tave     dZctr
  0.210000  0.825803  0.051008  0.452184  0.055768  0.250346  61.2875      1.000000  0.825803  0.000000
  0.220000  0.826469  0.050956  0.453806  0.056277  0.255203  61.5794      1.000000  0.826469  0.000000
  0.230000  0.826263  0.051129  0.456330  0.056805  0.260158  61.8343      1.000000  0.826263  0.000000
  0.240000  0.825315  0.051496  0.459632  0.057352  0.265172  62.0547      1.000000  0.825315  0.000000
  0.250000  0.823673  0.052047  0.463638  0.057912  0.270252  62.2506      1.000000  0.823673  0.000000
  0.260000  0.821433  0.052756  0.468247  0.058485  0.275363  62.4257      1.000000  0.821433  0.000000
  0.270000  0.818635  0.053613  0.473405  0.059066  0.280513  62.5754      1.000000  0.818635  0.000000
  0.280000  0.815357  0.054598  0.479017  0.059651  0.285679  62.7118      1.000000  0.815357  0.000000
  0.290000  0.811630  0.055703  0.485024  0.060234  0.290843  62.8402      1.000000  0.811630  0.000000
  0.310000  0.802991  0.058225  0.498012  0.061381  0.301168  63.0706      1.000000  0.802991  0.000000
  0.320000  0.797112  0.059905  0.505959  0.061964  0.307613  63.1470      1.000000  0.797112  0.000000
  0.330000  0.790838  0.061687  0.514142  0.062521  0.314077  63.2166      1.000000  0.790838  0.000000
  0.340000  0.784224  0.063554  0.522480  0.063045  0.320524  63.2886      1.000000  0.784224  0.000000
  0.350000  0.777262  0.065508  0.530966  0.063532  0.326973  63.3575      1.000000  0.777262  0.000000
  0.360000  0.769965  0.067545  0.539575  0.063979  0.333426  63.4276      1.000000  0.769965  0.000000
  0.370000  0.762344  0.069659  0.548279  0.064380  0.339887  63.5009      1.000000  0.762344  0.000000
  0.380000  0.754380  0.071855  0.557084  0.064733  0.346370  63.5815      1.000000  0.754380  0.000000
  0.390000  0.746056  0.074136  0.565989  0.065034  0.352899  63.6736      1.000000  0.746056  0.000000
  0.400000  0.737336  0.076511  0.575012  0.065278  0.359507  63.7706      1.000000  0.737336  0.000000
  0.410000  0.728150  0.078995  0.584197  0.065460  0.366239  63.8834      1.000000  0.728150  0.000000 -1

change 14 2.49 3700.0 101.1 3700.
linout 1
;linout 4
elimit 50.
scheff 0.05  0.05 20 40 0 0 1 1 2
start 1
stop 24
output 2 1  2 300 3
output 3 1  1
;output 4 1  1
prtbeam
begin

;------------------------------------------------------------
;Structure id,Nlast,F0,Fsf,deltaphi
Structure  11  0,   402.5 402.5  0.
title
*** ORNL Sept 22,2000 Design*** BTW tank 5-6
Transport
Bore 2.5
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors 0.0127 0.0127  0.57     0.57   0.25   0.
;?QuadErrors  0.0     0.0    0.57     0.570   0.2864   0.  ! errorset
;quad L, Ra, outputflag, B, errorflag
quad 1.75 0 1 -37.e2 1
drift  24.18518 1.5  1  4
quad 1.75 0 1   0.e+2 0

;scheff deltaR. deltaZ, Nr, Nz, Nbunch, Nbetalambda, Remesh
scheff  .05     .05     20   40   0      0            3
output 2 1   1 300 1
prtbeam
begin

;------------------------------------------------------------
;Structure id,Nlast,F0,Fsf,deltaphi
Structure   12 22    402.5 402.5  0.
title
*** ORNL Sept 22,2000 Design*** .DTL. Tank 6
;ForceReadDTL
DTL 1  -22 -25.0  3.60 0.00008    3.80 0.  0. 3. -3.
        3.5 5 6 11 0.    1.25 0. 0. 0. 0
        1 0 0 0 0        -25

phaselaw 1 1   1 22    -25 -45.00
change 14 2.49 3700.0 101.1 3700.
change 16 3700 1
change 2 22 0.

;+++++++++Errors+++
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors 0.0127 0.0127  0.57     0.25   0.25   0.
;?QuadErrors  0.0     0.0    0.57     0.570   0.2864   0.  ! errorset
;TankErrors dA(%) dphi(Deg) dApr(%)
;?TankErrors  0.5   0.5       0.1  ! errorset
;+++++++++

; 10/8/99 J.Billen (New DTL design for FFODDO lattice)
; Include this file in the PARMILA input file.
; No correction to shunt impedance Z for coupling slots.
; Shunt impedance Z reduced by user-supplied factor =  0.8000.
; Geometric beta column not included.
SFDATA
; Bore = 1.25, DTL
;   Beta       T         TP        S         SP       g/bl      Z            E/E0      Tave     dZctr
  0.210000  0.825803  0.051008  0.452184  0.055768  0.250346  61.2875      1.000000  0.825803  0.000000
  0.220000  0.826469  0.050956  0.453806  0.056277  0.255203  61.5794      1.000000  0.826469  0.000000
  0.230000  0.826263  0.051129  0.456330  0.056805  0.260158  61.8343      1.000000  0.826263  0.000000
  0.240000  0.825315  0.051496  0.459632  0.057352  0.265172  62.0547      1.000000  0.825315  0.000000
  0.250000  0.823673  0.052047  0.463638  0.057912  0.270252  62.2506      1.000000  0.823673  0.000000
  0.260000  0.821433  0.052756  0.468247  0.058485  0.275363  62.4257      1.000000  0.821433  0.000000
  0.270000  0.818635  0.053613  0.473405  0.059066  0.280513  62.5754      1.000000  0.818635  0.000000
  0.280000  0.815357  0.054598  0.479017  0.059651  0.285679  62.7118      1.000000  0.815357  0.000000
  0.290000  0.811630  0.055703  0.485024  0.060234  0.290843  62.8402      1.000000  0.811630  0.000000
  0.310000  0.802991  0.058225  0.498012  0.061381  0.301168  63.0706      1.000000  0.802991  0.000000
  0.320000  0.797112  0.059905  0.505959  0.061964  0.307613  63.1470      1.000000  0.797112  0.000000
  0.330000  0.790838  0.061687  0.514142  0.062521  0.314077  63.2166      1.000000  0.790838  0.000000
  0.340000  0.784224  0.063554  0.522480  0.063045  0.320524  63.2886      1.000000  0.784224  0.000000
  0.350000  0.777262  0.065508  0.530966  0.063532  0.326973  63.3575      1.000000  0.777262  0.000000
  0.360000  0.769965  0.067545  0.539575  0.063979  0.333426  63.4276      1.000000  0.769965  0.000000
  0.370000  0.762344  0.069659  0.548279  0.064380  0.339887  63.5009      1.000000  0.762344  0.000000
  0.380000  0.754380  0.071855  0.557084  0.064733  0.346370  63.5815      1.000000  0.754380  0.000000
  0.390000  0.746056  0.074136  0.565989  0.065034  0.352899  63.6736      1.000000  0.746056  0.000000
  0.400000  0.737336  0.076511  0.575012  0.065278  0.359507  63.7706      1.000000  0.737336  0.000000
  0.410000  0.728150  0.078995  0.584197  0.065460  0.366239  63.8834      1.000000  0.728150  0.000000 -1

change 14 2.49 3700.0 101.1 3700.
change 16 3700 1
change 2 22 0.
linout 1
;linout 4
elimit 50.
scheff 0.05  0.05 20 40 0 0 1 1 2
start 1
stop 22
output 2 1  1 300 3
output 3 1  1
;output 4 1  1
prtbeam
begin

;------------------------------------------------------------
;Structure id,Nlast,F0,Fsf,deltaphi
Structure  13  0,   805. 805.
title
*** ORNL Sept 22,2000 Design*** BTW tank 6-CCL
Transport
Bore 1.5
;+++++++++Errors+++
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors  0.0127  0.0127 0.57     0.286  0.286  0.5
;?QuadErrors   0.0     0.0    0.57     0.57  0.286  0.5   ! errorset
;+++++++++
;quad L, Ra, outputflag, B, errorflag
drift  0.     1.25  1  4
drift  2.4626 1.25  1  4
drift  8.53  1.25  1  4
quad 4.0 0 1 -29.131445e2 1
quad 4.0 0 1 -29.131445e2 1
drift  5.3265 1.25  1  4
;scheff deltaR. deltaZ, Nr, Nz, Nbunch, Nbetalambda, Remesh
scheff  .05     .05     20   40   0      0            3
output 2 1   1 3000 1
prtbeam
begin

;------------------------------------------------------------
;Structure id,Nlast,F0,Fsf,deltaphi
Structure  14 224   805. 805. 13.4452
title
*** ORNL Sept 22,2000 Design*** .CCL1a. ***

;ccl Wf,  Phid,  E0,  Ncav,Nbeta  B,  Lquad Quad     Quad     Quad  Lattice,Dds,Polarity
;                          lamb             Sequence Location entry Type
;The Quad length increased. The default B field should be set. Inherited value is not correct.
ccl 145.0 -30.  3.06  8   2.5    2667.0  8.  1010     1         0    1
Bore  1.5
SymDesign 8 1
;QuadLocs (ExitCavface to Quad Entry face (cm))
Extquad 14 92.6    2.667e+3 139.7 2.020+3  ! for CCDTL
Extquad 10 0 -29.131445e+2 8. 1
Extquad 10 8  30.557173e+2 8. 1
Extquad 10 16 -28.754851e+2 8. 1
Extquad 10 24  28.581512e+2 8. 1
QuadLocs 8.97164
QuadLoc 0 8.97164     ! preceding quad positioning
QuadLoc 8 18.64384 16 14.32914 24 11.20664 32 9.27432 40 8.52999 48 8.97164
;QuadBetaLoc (Cav# 1) (beta 1) (toQuad Space 1) (Cav# 2) (beta 2) (toQuad Space 2
;QuadBetaLoc   6       0.20451    8.31           104      0.30778    11.
;         delaycmi delaypsi endcmi endpsi endw
SetBetaRamp  1        0       0      0    0
;PhaseRamp 0. -20.
;;phaselaw 1 1 1 88 -30.503 -30
;;phaselaw 1 1 89 600 -30 -30
E0Ramp 0. 3.772 0.08875

;+++++++++Errors+++
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors  0.0127  0.0127 0.57     0.286  0.286  0.5
;?QuadErrors   0.0     0.0    0.57     0.57  0.286  0.5   ! errorset
;+++++++++

;ETfixed
;deltabl 16 +0.00152
; Include this file in the PARMILA input file.
; Shunt impedance Z corresponds to coupling =  5.0000%
; No other reduction in shunt impedance Z applied.
; Geometric beta column not included.
SFDATAQ
; Bore = 1.5, external CCL
;   Beta       T         TP        S         SP       g/bl      Z            E/E0      Tave     dZctr
  0.400000  0.881357  0.035161  0.364339  0.047953  0.126063  43.6543      1.000000  0.881357  0.016578
  0.410000  0.883145  0.034698  0.362649  0.047945  0.129492  44.6338      0.999999  0.883145  0.015313
  0.420000  0.884830  0.034261  0.361084  0.047941  0.132834  45.5973      1.000000  0.884830  0.014142
  0.430000  0.886299  0.033881  0.359843  0.047962  0.136114  46.5253      0.999998  0.886299  0.013091
  0.440000  0.887568  0.033556  0.358868  0.048001  0.139297  47.4295      0.999999  0.887568  0.012152
  0.450000  0.888666  0.033276  0.358158  0.048059  0.142409  48.2989      0.999999  0.888666  0.011284
  0.460000  0.889557  0.033054  0.357741  0.048141  0.145486  49.1487      1.000001  0.889557  0.010512
  0.470000  0.890420  0.032838  0.357387  0.048226  0.148395  49.9562      1.000001  0.890420  0.009754
  0.480000  0.891072  0.032680  0.357327  0.048334  0.151286  50.7522      1.000000  0.891072  0.009104
  0.490000  0.891574  0.032564  0.357496  0.048461  0.154136  51.5243      1.000000  0.891575  0.008509
  0.510000  0.892301  0.032409  0.358264  0.048750  0.159611  52.9874      0.999999  0.892301  0.007455
  0.520000  0.892509  0.032375  0.358887  0.048915  0.162262  53.6829      1.000001  0.892509  0.006977
  0.530000  0.892610  0.032370  0.359657  0.049090  0.164868  54.3607      0.999999  0.892610  0.006559
  0.540000  0.892644  0.032385  0.360538  0.049275  0.167399  55.0125      1.000000  0.892644  0.006150
  0.550000  0.892575  0.032428  0.361561  0.049472  0.169901  55.6480      1.000001  0.892575  0.005792
  0.560000  0.892444  0.032488  0.362684  0.049676  0.172341  56.2593      1.000001  0.892444  0.005445 -1
SFDATAE
; Bore = 1.5, internal CCL
;   Beta       T         TP        S         SP       g/bl      Z            E/E0      Tave     dZctr
  0.400000  0.887244  0.033823  0.360501  0.048387  0.126062  42.2686      1.000000  0.887244  0.000000
  0.410000  0.888527  0.033466  0.359065  0.048322  0.129491  43.2778      1.000001  0.888527  0.000000
  0.420000  0.889664  0.033152  0.357883  0.048283  0.132833  44.2496      0.999999  0.889664  0.000000
  0.430000  0.890661  0.032878  0.356950  0.048268  0.136113  45.1913      1.000001  0.890661  0.000000
  0.440000  0.891521  0.032644  0.356252  0.048277  0.139295  46.1037      1.000000  0.891521  0.000000
  0.450000  0.892241  0.032450  0.355802  0.048311  0.142409  46.9885      0.999999  0.892241  0.000000
  0.460000  0.892844  0.032291  0.355557  0.048366  0.145485  47.8444      0.999999  0.892844  0.000000
  0.470000  0.893378  0.032151  0.355380  0.048425  0.148393  48.6777      1.000000  0.893378  0.000000
  0.480000  0.893767  0.032054  0.355514  0.048517  0.151283  49.4742      0.999999  0.893767  0.000000
  0.490000  0.894063  0.031983  0.355808  0.048626  0.154134  50.2512      1.000000  0.894063  0.000000
  0.500000  0.894268  0.031939  0.356257  0.048750  0.156903  50.9968      1.000001  0.894268  0.000000
  0.510000  0.894372  0.031925  0.356878  0.048890  0.159610  51.7210      1.000000  0.894372  0.000000
  0.520000  0.894414  0.031928  0.357591  0.049040  0.162261  52.4256      1.000001  0.894414  0.000000
  0.530000  0.894364  0.031958  0.358476  0.049207  0.164867  53.1032      0.999999  0.894364  0.000000
  0.540000  0.894257  0.032005  0.359442  0.049381  0.167397  53.7550      1.000001  0.894257  0.000000
  0.550000  0.894067  0.032076  0.360554  0.049569  0.169900  54.3901      0.999999  0.894067  0.000000
  0.560000  0.893821  0.032163  0.361743  0.049765  0.172340  55.0068      0.999999  0.893821  0.000000 -1

;QuadLocs (ExitCavface to Quad Entry face (cm))
QuadLocs 8.97164
QuadLoc 0 8.97164     ! preceding quad positioning
QuadLoc 1 18.64384 2 14.32914 3 11.20664 4 9.27432 5 8.52999 6 8.97164
;QuadBetaLoc (Cav# 1) (beta 1) (toQuad Space 1) (Cav# 2) (beta 2) (toQuad Space 2
;QuadBetaLoc   6       0.20451    8.31           104      0.30778    11.
Extquad 14 92.6    2.667e+3 139.7 2.020+3  ! for CCDTL
Extquad 10 0 -29.131445e+2 8. 1
Extquad 10 8  30.557173e+2 8. 1
Extquad 10 16 -28.754851e+2 8. 1
Extquad 10 24  28.581512e+2 8. 1
linout
elimit   2.0
scheff 0.15  0.20  20  40 0 0 3
start  1
stop 224
prtbeam
optcon 1 3
;output 2 1  8 3000 8
output 2 1  1 3000 1
begin

;------------------------------------------------------------
;ramp down the phase from -30 deg to -25 deg
;Structure id,Nlast,F0,Fsf,deltaphi
Structure  15 160   805. 805.
title
*** ORNL Sept 22,2000 Design*** .CCL1b.

;ccl Wf,  Phid,  E0,  Ncav,Nbeta  B,  Lquad Quad     Quad     Quad  Lattice,Dds,Polarity
;                          lamb             Sequence Location entry Type
;The Quad length increased. The default B field should be set. Inherited value is not correct.
ccl 190.0 -30.  3.772 8   2.5    2020.0  8.  1010     1         1    1
Bore  1.5
SymDesign 8 1
;QuadLocs (ExitCavface to Quad Entry face (cm))
Extquad 14 139.6539 2.020e+3 183.2480 1.5e+3
Extquad 10 160  1.e-12 8. 1
;;Extquad 10 144  -1354.6 8. 1
;;Extquad 10 152  +1211.6 8. 1
;Extquad 10 144  -13.334077e+2 8. 1
;Extquad 10 152  +8.2335565e+2 8. 1
Extquad 10 144  -14.276710e+2 8. 1
Extquad 10 152   +9.5841076e+2 8. 1
QuadLocs 8.97164
QuadLoc 0 8.97164     ! preceding quad positioning
;         delaycmi delaypsi endcmi endpsi endw
SetBetaRamp  1        0       0      0    0
PhaseRamp 0. -25. +0.15789
;;phaselaw 1 1 1 88 -30.503 -30
;;phaselaw 1 1 89 600 -30 -30
;E0Ramp 0. 3.770 0.08875

;+++++++++Errors+++
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors  0.0127  0.0127 0.57     0.286  0.286  0.5
;?QuadErrors   0.0     0.0    0.57     0.57  0.286  0.5   ! errorset
;+++++++++

;ETfixed
;deltabl 16 +0.00152
; 6/13/00 data
; Include this file in the PARMILA input file.
; Shunt impedance Z corresponds to coupling =  5.0000%
; No other reduction in shunt impedance Z applied.
; Geometric beta column not included.
SFDATAQ
; Bore = 1.5, external CCL
;   Beta       T         TP        S         SP       g/bl      Z            E/E0      Tave     dZctr
  0.400000  0.881357  0.035161  0.364339  0.047953  0.126063  43.6543      1.000000  0.881357  0.016578
  0.410000  0.883145  0.034698  0.362649  0.047945  0.129492  44.6338      0.999999  0.883145  0.015313
  0.420000  0.884830  0.034261  0.361084  0.047941  0.132834  45.5973      1.000000  0.884830  0.014142
  0.430000  0.886299  0.033881  0.359843  0.047962  0.136114  46.5253      0.999998  0.886299  0.013091
  0.440000  0.887568  0.033556  0.358868  0.048001  0.139297  47.4295      0.999999  0.887568  0.012152
  0.450000  0.888666  0.033276  0.358158  0.048059  0.142409  48.2989      0.999999  0.888666  0.011284
  0.460000  0.889557  0.033054  0.357741  0.048141  0.145486  49.1487      1.000001  0.889557  0.010512
  0.470000  0.890420  0.032838  0.357387  0.048226  0.148395  49.9562      1.000001  0.890420  0.009754
  0.480000  0.891072  0.032680  0.357327  0.048334  0.151286  50.7522      1.000000  0.891072  0.009104
  0.490000  0.891574  0.032564  0.357496  0.048461  0.154136  51.5243      1.000000  0.891575  0.008509
  0.510000  0.892301  0.032409  0.358264  0.048750  0.159611  52.9874      0.999999  0.892301  0.007455
  0.520000  0.892509  0.032375  0.358887  0.048915  0.162262  53.6829      1.000001  0.892509  0.006977
  0.530000  0.892610  0.032370  0.359657  0.049090  0.164868  54.3607      0.999999  0.892610  0.006559
  0.540000  0.892644  0.032385  0.360538  0.049275  0.167399  55.0125      1.000000  0.892644  0.006150
  0.550000  0.892575  0.032428  0.361561  0.049472  0.169901  55.6480      1.000001  0.892575  0.005792
  0.560000  0.892444  0.032488  0.362684  0.049676  0.172341  56.2593      1.000001  0.892444  0.005445 -1
SFDATAE
; Bore = 1.5, internal CCL
;   Beta       T         TP        S         SP       g/bl      Z            E/E0      Tave     dZctr
  0.400000  0.887244  0.033823  0.360501  0.048387  0.126062  42.2686      1.000000  0.887244  0.000000
  0.410000  0.888527  0.033466  0.359065  0.048322  0.129491  43.2778      1.000001  0.888527  0.000000
  0.420000  0.889664  0.033152  0.357883  0.048283  0.132833  44.2496      0.999999  0.889664  0.000000
  0.430000  0.890661  0.032878  0.356950  0.048268  0.136113  45.1913      1.000001  0.890661  0.000000
  0.440000  0.891521  0.032644  0.356252  0.048277  0.139295  46.1037      1.000000  0.891521  0.000000
  0.450000  0.892241  0.032450  0.355802  0.048311  0.142409  46.9885      0.999999  0.892241  0.000000
  0.460000  0.892844  0.032291  0.355557  0.048366  0.145485  47.8444      0.999999  0.892844  0.000000
  0.470000  0.893378  0.032151  0.355380  0.048425  0.148393  48.6777      1.000000  0.893378  0.000000
  0.480000  0.893767  0.032054  0.355514  0.048517  0.151283  49.4742      0.999999  0.893767  0.000000
  0.490000  0.894063  0.031983  0.355808  0.048626  0.154134  50.2512      1.000000  0.894063  0.000000
  0.500000  0.894268  0.031939  0.356257  0.048750  0.156903  50.9968      1.000001  0.894268  0.000000
  0.510000  0.894372  0.031925  0.356878  0.048890  0.159610  51.7210      1.000000  0.894372  0.000000
  0.520000  0.894414  0.031928  0.357591  0.049040  0.162261  52.4256      1.000001  0.894414  0.000000
  0.530000  0.894364  0.031958  0.358476  0.049207  0.164867  53.1032      0.999999  0.894364  0.000000
  0.540000  0.894257  0.032005  0.359442  0.049381  0.167397  53.7550      1.000001  0.894257  0.000000
  0.550000  0.894067  0.032076  0.360554  0.049569  0.169900  54.3901      0.999999  0.894067  0.000000
  0.560000  0.893821  0.032163  0.361743  0.049765  0.172340  55.0068      0.999999  0.893821  0.000000 -1


;QuadLocs (ExitCavface to Quad Entry face (cm))
QuadLocs 8.97164
QuadLoc 0 8.97164     ! preceding quad positioning
Extquad 14 139.6539 2.020e+3 183.2480 1.5e+3
Extquad 10 160  1.e-12 8. 1
;;Extquad 10 144  -1354.6 8. 1
;;Extquad 10 152  +1211.6 8. 1
;Extquad 10 144  -13.334077e+2 8. 1
;Extquad 10 152  +8.2335565e+2 8. 1
Extquad 10 144  -14.276710e+2 8. 1
Extquad 10 152   +9.5841076e+2 8. 1
linout
elimit   2.0
scheff 0.15  0.20  20  40 0 0 3
start  1
stop 160
prtbeam
optcon 1 3
output 2 1  1 3000 1
;output 2 1  8 3000 8
begin

;------------------------------------------------------------
;Structure id,Nlast,F0,Fsf,deltaphi
Structure  16  0   805. 805.
title
*** ORNL Sept 22,2000 Design*** BTW CCL-SC2
Transport
Bore 2.8
;+++++++++Errors+++
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors  0.0127  0.0127 0.57     0.286  0.286  0.5
;?QuadErrors   0.0     0.0    0.57     0.57  0.286  0.5   ! errorset
;+++++++++
;quad L, Ra, outputflag, B, errorflag
drift  0.     5.0  1  4
;;drift  12.0284     5.0  1  8
drift  70.0284     5.0  1  8
;quad 8.0 0 1 -24.793318e+2  1    1
quad 8.0 0 1 -24.813035e+2  1    1
drift  42.     5.0  1  8
;quad 8.0 0 1 +23.713636e+2  1    1
quad 8.0 0 1  +23.343521e+2  1    1
;;drift  25.     5.0  1  8
drift  94.     5.0  1  8
drift  58.6976 5.0  1  8

;scheff deltaR. deltaZ, Nr, Nz, Nbunch, Nbetalambda, Remesh
scheff  .05     .05     20   40   0      0            3
output 2 1   1 3000 1
prtbeam
begin

;------------------------------------------------------------
; --SC2 1a--
; the some (2) cavities phase and amp will be specified manually to match to CCL
;        ID Nlst f0  fsh deltaphi
Structure 17 126   805. 805. 5.7864
title
*** ORNL Sept 22,2000 Design*** SC2 1a ***
;    Wf    Phi Nlo Ncel LaTyp  Qentry BetS     DWseg  Nsq    Dseg  Dqs
SC2 332.0  -22. 7    6    2      0     0.5552  3.3633  3   51.00 175.445263
                                       0.5790  3.3633  3   51.00 175.445263
                                       0.5929  3.3633  3   51.00 175.445263
                                       0.6078  3.3633  3   51.00 175.445263
                                       0.6223  3.3633  3   51.00 175.445263
                                       0.6361  3.3633  3   51.00 175.445263
                                       0.6497  3.3633  3   51.00 175.445263
AutoStructPhase
ConstESuper 14.4706
;            (G/cm)    Lq   dds  pol Qloc
QuadDoublet 4.732e2  40.0 30.0 0   2
            4.744e2  40.0 30.0 0   2
            4.756e2  40.0 30.0 0   2
            4.768e2  40.0 30.0 0   2
            4.780e2  40.0 30.0 0   2
            4.792e2  40.0 30.0 0   2
            4.804e2  40.0 30.0 0   2
Bore  4.0
;         delaycmi delaypsi endcmi endpsi endw
SetBetaRamp  0        0       0      0    0
PhaseRamp 0. -26. -0.190476

;SetSuperCav Seg# SpecPhase SpecE0
;                   (deg)    (MV/m)
;;SetSuperCav    2 -21.922     6.2062  !5.008  e0t
;;SetSuperCav    5 -15.155     7.18198 !5.375  ! e0t
;SetSuperCav    2 -21.922     11.2961463
;SetSuperCav    5 -15.155     11.8038273
SetSuperCav    2 -21.922     12.196666
SetSuperCav    5 -15.155      9.880703

;+++++++++Errors+++
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors  0.0127  0.0127 0.57     0.286  0.286  0.5
;?QuadErrors   0.0     0.0    0.57     0.57  0.286  0.5   ! errorset
;+++++++++
;************************
;EphiError DelE(%) Cos(1),sin(2)
;EphiError  5.       2          ! errorset
;************************

; 1/5/00 J. Billen
; Include this file in the PARMILA input file.
; No correction to shunt impedance Z for coupling slots.
; No other reduction in shunt impedance Z applied.
; Geometric beta column included for superconducting linac.
; Geometric beta = 0.61000.
SFDATAQ
; Created by SFO for problem file D:\PROJECTS\NSNS\SC\BETA.61\ORNL\6C61OE1.AF
;   Beta       T         TP        S         SP       g/bl      Z            E/E0      Tave     dZctr     Beta(g)
  0.400000  0.326857  0.111687  0.600574  0.016277  0.072724 0.762256E+07  1.171220  0.063459  0.523091  0.610000
  0.410000  0.344229  0.112215  0.604250  0.012533  0.070950 0.762256E+07  1.171220  0.071886  0.563385  0.610000
  0.420000  0.361244  0.112490  0.607175  0.008893  0.069261 0.762256E+07  1.171220  0.072499  0.600744  0.610000
  0.430000  0.377881  0.112537  0.609408  0.005365  0.067650 0.762256E+07  1.171220  0.064096  0.635477  0.610000
  0.440000  0.394127  0.112379  0.610972  0.001965  0.066113 0.762256E+07  1.171220  0.046176  0.667847  0.610000
  0.450000  0.409974  0.112039  0.611981  0.001314  0.064643 0.762256E+07  1.171220  0.018879  0.698080  0.610000
  0.460000  0.425413  0.111535  0.612447  0.004463  0.063238 0.762256E+07  1.171220  0.017112  0.726370  0.610000
  0.470000  0.440442  0.110885  0.612429  0.007480  0.061893 0.762256E+07  1.171220  0.060697  0.752890  0.610000
  0.480000  0.455061  0.110108  0.611976  0.010366  0.060603 0.762256E+07  1.171220  0.110487  0.777789  0.610000
  0.490000  0.469269  0.109217  0.611115  0.013119  0.059366 0.762256E+07  1.171220  0.164925  0.801201  0.610000
  0.500000  0.483071  0.108226  0.609889  0.015742  0.058179 0.762256E+07  1.171220  0.222392  0.823244  0.610000
  0.510000  0.496471  0.107149  0.608344  0.018239  0.057038 0.762256E+07  1.171220  0.281298  0.844026  0.610000
  0.520000  0.509475  0.105997  0.606477  0.020606  0.055941 0.762256E+07  1.171220  0.340143  0.863642  0.610000
  0.530000  0.522089  0.104781  0.604365  0.022853  0.054886 0.762256E+07  1.171220  0.397571  0.882178  0.610000
  0.540000  0.534321  0.103511  0.601990  0.024979  0.053869 0.762256E+07  1.171220  0.452400  0.899713  0.610000
  0.550000  0.546180  0.102195  0.599397  0.026988  0.052890 0.762256E+07  1.171220  0.503634  0.916317  0.610000
  0.560000  0.557674  0.100842  0.596623  0.028888  0.051946 0.762256E+07  1.171220  0.550474  0.932055  0.610000
  0.570000  0.568812  0.099458  0.593660  0.030677  0.051034 0.762256E+07  1.171220  0.592308  0.946986  0.610000
  0.580000  0.579604  0.098051  0.590535  0.032362  0.050154 0.762256E+07  1.171220  0.628703  0.961165  0.610000
  0.590000  0.590059  0.096625  0.587282  0.033949  0.049304 0.762256E+07  1.171220  0.659389  0.974640  0.610000
  0.600000  0.600187  0.095187  0.583916  0.035442  0.048483 0.762256E+07  1.171220  0.684243  0.987458  0.610000
  0.610000  0.609998  0.093741  0.580416  0.036839  0.047688 0.762256E+07  1.171220  0.703264  0.999660  0.610000
  0.620000  0.619501  0.092291  0.576828  0.038150  0.046919 0.762256E+07  1.171220  0.716558  1.011284  0.610000
  0.630000  0.628707  0.090840  0.573166  0.039378  0.046174 0.762256E+07  1.171220  0.724319  1.022367  0.610000
  0.640000  0.637624  0.089393  0.569439  0.040529  0.045452 0.762256E+07  1.171220  0.726810  1.032942  0.610000
  0.650000  0.646262  0.087952  0.565643  0.041602  0.044753 0.762256E+07  1.171220  0.724346  1.043038  0.610000
  0.660000  0.654631  0.086519  0.561788  0.042602  0.044075 0.762256E+07  1.171220  0.717281  1.052684  0.610000
  0.670000  0.662738  0.085096  0.557896  0.043535  0.043417 0.762256E+07  1.171220  0.705996  1.061906  0.610000
  0.680000  0.670594  0.083687  0.553975  0.044404  0.042779 0.762256E+07  1.171220  0.690885  1.070728  0.610000
  0.690000  0.678206  0.082291  0.550029  0.045211  0.042159 0.762256E+07  1.171220  0.672349  1.079173  0.610000
  0.700000  0.685584  0.080912  0.546067  0.045961  0.041556 0.762256E+07  1.171220  0.650786  1.087263  0.610000
  0.710000  0.692734  0.079549  0.542076  0.046653  0.040971 0.762256E+07  1.171220  0.626587  1.095016  0.610000
  0.720000  0.699666  0.078204  0.538077  0.047294  0.040402 0.762256E+07  1.171220  0.600129  1.102451  0.610000
  0.730000  0.706386  0.076879  0.534077  0.047885  0.039849 0.762256E+07  1.171220  0.571773  1.109585  0.610000
  0.740000  0.712902  0.075573  0.530080  0.048429  0.039310 0.762256E+07  1.171220  0.541859  1.116434  0.610000
  0.750000  0.719222  0.074287  0.526090  0.048930  0.038786 0.762256E+07  1.171220  0.510707  1.123013  0.610000
  0.760000  0.725351  0.073021  0.522110  0.049389  0.038276 0.762256E+07  1.171220  0.478613  1.129335  0.610000
  0.770000  0.731298  0.071777  0.518143  0.049809  0.037779 0.762256E+07  1.171220  0.445852  1.135414  0.610000
  0.780000  0.737067  0.070554  0.514186  0.050190  0.037294 0.762256E+07  1.171220  0.412674  1.141262  0.610000
  0.790000  0.742667  0.069353  0.510242  0.050535  0.036822 0.762256E+07  1.171220  0.379305  1.146891  0.610000
  0.800000  0.748101  0.068173  0.506319  0.050848  0.036362 0.762256E+07  1.171220  0.345951  1.152311  0.610000 -1
SFDATAE
; Created by SFO for problem file D:\PROJECTS\NSNS\SC\BETA.61\ORNL\6C61OE1.AF
;   Beta       T         TP        S         SP       g/bl      Z            E/E0      Tave     dZctr     Beta(g)
  0.400000  0.539079  0.117414  0.647332  0.036512  0.078942 0.762256E+07  0.914337  0.063459  0.000000  0.610000
  0.410000  0.557045  0.114176  0.641436  0.039439  0.077016 0.762256E+07  0.914337  0.071886  0.000000  0.610000
  0.420000  0.574091  0.110981  0.635264  0.042053  0.075183 0.762256E+07  0.914337  0.072499  0.000000  0.610000
  0.430000  0.590267  0.107841  0.628872  0.044382  0.073434 0.762256E+07  0.914337  0.064096  0.000000  0.610000
  0.440000  0.605622  0.104766  0.622309  0.046454  0.071765 0.762256E+07  0.914337  0.046176  0.000000  0.610000
  0.450000  0.620203  0.101763  0.615618  0.048292  0.070170 0.762256E+07  0.914337  0.018879  0.000000  0.610000
  0.460000  0.634054  0.098837  0.608835  0.049919  0.068645 0.762256E+07  0.914337  0.017112  0.000000  0.610000
  0.470000  0.647217  0.095992  0.601991  0.051354  0.067184 0.762256E+07  0.914337  0.060697  0.000000  0.610000
  0.480000  0.659732  0.093229  0.595112  0.052615  0.065785 0.762256E+07  0.914337  0.110487  0.000000  0.610000
  0.490000  0.671637  0.090551  0.588223  0.053719  0.064442 0.762256E+07  0.914337  0.164925  0.000000  0.610000
  0.500000  0.682966  0.087957  0.581342  0.054681  0.063153 0.762256E+07  0.914337  0.222392  0.000000  0.610000
  0.510000  0.693754  0.085447  0.574485  0.055514  0.061915 0.762256E+07  0.914337  0.281298  0.000000  0.610000
  0.520000  0.704030  0.083019  0.567667  0.056230  0.060724 0.762256E+07  0.914337  0.340143  0.000000  0.610000
  0.530000  0.713826  0.080674  0.560900  0.056841  0.059579 0.762256E+07  0.914337  0.397571  0.000000  0.610000
  0.540000  0.723167  0.078408  0.554193  0.057356  0.058475 0.762256E+07  0.914337  0.452400  0.000000  0.610000
  0.550000  0.732080  0.076220  0.547555  0.057784  0.057412 0.762256E+07  0.914337  0.503634  0.000000  0.610000
  0.560000  0.740589  0.074108  0.540993  0.058134  0.056387 0.762256E+07  0.914337  0.550474  0.000000  0.610000
  0.570000  0.748717  0.072070  0.534512  0.058412  0.055398 0.762256E+07  0.914337  0.592308  0.000000  0.610000
  0.580000  0.756485  0.070103  0.528117  0.058626  0.054443 0.762256E+07  0.914337  0.628703  0.000000  0.610000
  0.590000  0.763912  0.068205  0.521811  0.058782  0.053520 0.762256E+07  0.914337  0.659389  0.000000  0.610000
  0.600000  0.771018  0.066374  0.515597  0.058885  0.052628 0.762256E+07  0.914337  0.684243  0.000000  0.610000
  0.610000  0.777819  0.064607  0.509479  0.058940  0.051765 0.762256E+07  0.914337  0.703264  0.000000  0.610000
  0.620000  0.784333  0.062902  0.503456  0.058952  0.050930 0.762256E+07  0.914337  0.716558  0.000000  0.610000
  0.630000  0.790573  0.061257  0.497530  0.058925  0.050122 0.762256E+07  0.914337  0.724319  0.000000  0.610000
  0.640000  0.796556  0.059669  0.491702  0.058863  0.049339 0.762256E+07  0.914337  0.726810  0.000000  0.610000
  0.650000  0.802294  0.058137  0.485973  0.058769  0.048580 0.762256E+07  0.914337  0.724346  0.000000  0.610000
  0.660000  0.807799  0.056657  0.480341  0.058646  0.047843 0.762256E+07  0.914337  0.717281  0.000000  0.610000
  0.670000  0.813085  0.055229  0.474806  0.058497  0.047129 0.762256E+07  0.914337  0.705996  0.000000  0.610000
  0.680000  0.818162  0.053850  0.469369  0.058325  0.046436 0.762256E+07  0.914337  0.690885  0.000000  0.610000
  0.690000  0.823040  0.052518  0.464027  0.058132  0.045763 0.762256E+07  0.914337  0.672349  0.000000  0.610000
  0.700000  0.827730  0.051231  0.458781  0.057920  0.045110 0.762256E+07  0.914337  0.650786  0.000000  0.610000
  0.710000  0.832240  0.049987  0.453629  0.057691  0.044474 0.762256E+07  0.914337  0.626587  0.000000  0.610000
  0.720000  0.836580  0.048786  0.448570  0.057447  0.043857 0.762256E+07  0.914337  0.600129  0.000000  0.610000
  0.730000  0.840757  0.047624  0.443603  0.057189  0.043256 0.762256E+07  0.914337  0.571773  0.000000  0.610000
  0.740000  0.844780  0.046501  0.438725  0.056920  0.042671 0.762256E+07  0.914337  0.541859  0.000000  0.610000
  0.750000  0.848656  0.045415  0.433936  0.056639  0.042102 0.762256E+07  0.914337  0.510707  0.000000  0.610000
  0.760000  0.852392  0.044364  0.429235  0.056349  0.041548 0.762256E+07  0.914337  0.478613  0.000000  0.610000
  0.770000  0.855994  0.043347  0.424618  0.056051  0.041009 0.762256E+07  0.914337  0.445852  0.000000  0.610000
  0.780000  0.859468  0.042363  0.420086  0.055746  0.040483 0.762256E+07  0.914337  0.412674  0.000000  0.610000
  0.790000  0.862821  0.041410  0.415637  0.055434  0.039971 0.762256E+07  0.914337  0.379305  0.000000  0.610000
  0.800000  0.866057  0.040488  0.411268  0.055117  0.039471 0.762256E+07  0.914337  0.345951  0.000000  0.610000 -1
QuadDoublet 4.732e2  40.0 30.0 0   2
            4.744e2  40.0 30.0 0   2
            4.756e2  40.0 30.0 0   2
            4.768e2  40.0 30.0 0   2
            4.780e2  40.0 30.0 0   2
            4.792e2  40.0 30.0 0   2
            4.804e2  40.0 30.0 0   2
linout  1
;scheff deltaR. deltaZ, Nr, Nz, Nbunch, Nbetalambda, Remesh
scheff 0.05      0.05   20  40   0        0           3
start 1
stop 126
optcon 1 3
;output 2 1  18 600 18
output 2 1  1 3000 1
prtbeam
begin

;------------------------------------------------------------
;Structure id,Nlast,F0,Fsf,deltaphi
Structure  18  0   805. 805.
title
*** ORNL Sept 22,2000 Design*** BTW SC2 1a--SC2 1b
Transport
Bore 4.0
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors  0.0127  0.0127 0.57     0.286  0.286  0.5
;?QuadErrors   0.0     0.0    0.57     0.57  0.286  0.5   ! errorset
;quad L, Ra, outputflag, B, errorflag
drift  0.     5.0  1  4
drift  15.0   5.0  1  8
quad 40.0 0 1 +480.4 1
drift  25.     5.0  1  8
drift  58.6976 5.0  1  8

;scheff deltaR. deltaZ, Nr, Nz, Nbunch, Nbetalambda, Remesh
scheff  .05     .05     20   40   0      0            3
output 2 1   1 3000 1
prtbeam
begin

;------------------------------------------------------------
; --SC2 1b--
;        ID Nlst f0  fsh deltaphi
;;Structure 5 72  805. 805. -53.3738
Structure 19 72  805. 805. -54.7697
title
*** ORNL Sept 22,2000 Design*** SC2 1b ***
;    Wf    Phi Nlo Ncel LaTyp  Qentry BetS     DWseg  Nsq    Dseg  Dqs
SC2 405.0  -26. 4    6    2      0     0.6000  3.3633  3   51.00 175.445263
                                       0.6840  3.3633  3   51.00 175.445263
                                       0.6940  3.3633  3   51.00 175.445263
                                       0.7040  3.3633  3   51.00 175.445263
AutoStructPhase
ConstESuper 14.4706
;            (G/cm)    Lq   dds  pol Qloc
QuadDoublet 4.804e2  40.0 30.0 0   2
            4.804e2  40.0 30.0 0   2
            4.804e2  40.0 30.0 0   2
            4.804e2  40.0 30.0 0   2
;QuadDoublet 4.816e2  40.0 30.0 0   2
;            4.828e2  40.0 30.0 0   2
;            4.840e2  40.0 30.0 0   2
;            5.420e2  40.0 30.0 0   2
;ExtQuad 16 18 -4.7090994e+2 0
;ExtQuad 16 36 -4.811e+2 0
ExtDquad 10 54 -466.9 40.0 1 30.0
ExtDQuad 16 54  466.0  0
ExtDquad 10 72 -520.1 40.0 1 30.0
ExtDQuad 16 72 +515.0  0
;ExtDquad 10 144 -516.4 40.0 1 30.0
Bore  4.0
;         delaycmi delaypsi endcmi endpsi endw
SetBetaRamp  0        0       0      0    0
;PhaseRamp 0. -24. -8.6956e-2

;+++++++++Errors+++
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors  0.0127  0.0127 0.57     0.286  0.286  0.5
;?QuadErrors   0.0     0.0    0.57     0.57  0.286  0.5   ! errorset
;+++++++++
;************************
;EphiError DelE(%) Cos(1),sin(2)
;EphiError  5.       2          ! errorset
;************************

; 1/5/00 J. Billen
; Include this file in the PARMILA input file.
; No correction to shunt impedance Z for coupling slots.
; No other reduction in shunt impedance Z applied.
; Geometric beta column included for superconducting linac.
; Geometric beta = 0.61000.
SFDATAQ
; Created by SFO for problem file D:\PROJECTS\NSNS\SC\BETA.61\ORNL\6C61OE1.AF
;   Beta       T         TP        S         SP       g/bl      Z            E/E0      Tave     dZctr     Beta(g)
  0.400000  0.326857  0.111687  0.600574  0.016277  0.072724 0.762256E+07  1.171220  0.063459  0.523091  0.610000
  0.410000  0.344229  0.112215  0.604250  0.012533  0.070950 0.762256E+07  1.171220  0.071886  0.563385  0.610000
  0.420000  0.361244  0.112490  0.607175  0.008893  0.069261 0.762256E+07  1.171220  0.072499  0.600744  0.610000
  0.430000  0.377881  0.112537  0.609408  0.005365  0.067650 0.762256E+07  1.171220  0.064096  0.635477  0.610000
  0.440000  0.394127  0.112379  0.610972  0.001965  0.066113 0.762256E+07  1.171220  0.046176  0.667847  0.610000
  0.450000  0.409974  0.112039  0.611981  0.001314  0.064643 0.762256E+07  1.171220  0.018879  0.698080  0.610000
  0.460000  0.425413  0.111535  0.612447  0.004463  0.063238 0.762256E+07  1.171220  0.017112  0.726370  0.610000
  0.470000  0.440442  0.110885  0.612429  0.007480  0.061893 0.762256E+07  1.171220  0.060697  0.752890  0.610000
  0.480000  0.455061  0.110108  0.611976  0.010366  0.060603 0.762256E+07  1.171220  0.110487  0.777789  0.610000
  0.490000  0.469269  0.109217  0.611115  0.013119  0.059366 0.762256E+07  1.171220  0.164925  0.801201  0.610000
  0.500000  0.483071  0.108226  0.609889  0.015742  0.058179 0.762256E+07  1.171220  0.222392  0.823244  0.610000
  0.510000  0.496471  0.107149  0.608344  0.018239  0.057038 0.762256E+07  1.171220  0.281298  0.844026  0.610000
  0.520000  0.509475  0.105997  0.606477  0.020606  0.055941 0.762256E+07  1.171220  0.340143  0.863642  0.610000
  0.530000  0.522089  0.104781  0.604365  0.022853  0.054886 0.762256E+07  1.171220  0.397571  0.882178  0.610000
  0.540000  0.534321  0.103511  0.601990  0.024979  0.053869 0.762256E+07  1.171220  0.452400  0.899713  0.610000
  0.550000  0.546180  0.102195  0.599397  0.026988  0.052890 0.762256E+07  1.171220  0.503634  0.916317  0.610000
  0.560000  0.557674  0.100842  0.596623  0.028888  0.051946 0.762256E+07  1.171220  0.550474  0.932055  0.610000
  0.570000  0.568812  0.099458  0.593660  0.030677  0.051034 0.762256E+07  1.171220  0.592308  0.946986  0.610000
  0.580000  0.579604  0.098051  0.590535  0.032362  0.050154 0.762256E+07  1.171220  0.628703  0.961165  0.610000
  0.590000  0.590059  0.096625  0.587282  0.033949  0.049304 0.762256E+07  1.171220  0.659389  0.974640  0.610000
  0.600000  0.600187  0.095187  0.583916  0.035442  0.048483 0.762256E+07  1.171220  0.684243  0.987458  0.610000
  0.610000  0.609998  0.093741  0.580416  0.036839  0.047688 0.762256E+07  1.171220  0.703264  0.999660  0.610000
  0.620000  0.619501  0.092291  0.576828  0.038150  0.046919 0.762256E+07  1.171220  0.716558  1.011284  0.610000
  0.630000  0.628707  0.090840  0.573166  0.039378  0.046174 0.762256E+07  1.171220  0.724319  1.022367  0.610000
  0.640000  0.637624  0.089393  0.569439  0.040529  0.045452 0.762256E+07  1.171220  0.726810  1.032942  0.610000
  0.650000  0.646262  0.087952  0.565643  0.041602  0.044753 0.762256E+07  1.171220  0.724346  1.043038  0.610000
  0.660000  0.654631  0.086519  0.561788  0.042602  0.044075 0.762256E+07  1.171220  0.717281  1.052684  0.610000
  0.670000  0.662738  0.085096  0.557896  0.043535  0.043417 0.762256E+07  1.171220  0.705996  1.061906  0.610000
  0.680000  0.670594  0.083687  0.553975  0.044404  0.042779 0.762256E+07  1.171220  0.690885  1.070728  0.610000
  0.690000  0.678206  0.082291  0.550029  0.045211  0.042159 0.762256E+07  1.171220  0.672349  1.079173  0.610000
  0.700000  0.685584  0.080912  0.546067  0.045961  0.041556 0.762256E+07  1.171220  0.650786  1.087263  0.610000
  0.710000  0.692734  0.079549  0.542076  0.046653  0.040971 0.762256E+07  1.171220  0.626587  1.095016  0.610000
  0.720000  0.699666  0.078204  0.538077  0.047294  0.040402 0.762256E+07  1.171220  0.600129  1.102451  0.610000
  0.730000  0.706386  0.076879  0.534077  0.047885  0.039849 0.762256E+07  1.171220  0.571773  1.109585  0.610000
  0.740000  0.712902  0.075573  0.530080  0.048429  0.039310 0.762256E+07  1.171220  0.541859  1.116434  0.610000
  0.750000  0.719222  0.074287  0.526090  0.048930  0.038786 0.762256E+07  1.171220  0.510707  1.123013  0.610000
  0.760000  0.725351  0.073021  0.522110  0.049389  0.038276 0.762256E+07  1.171220  0.478613  1.129335  0.610000
  0.770000  0.731298  0.071777  0.518143  0.049809  0.037779 0.762256E+07  1.171220  0.445852  1.135414  0.610000
  0.780000  0.737067  0.070554  0.514186  0.050190  0.037294 0.762256E+07  1.171220  0.412674  1.141262  0.610000
  0.790000  0.742667  0.069353  0.510242  0.050535  0.036822 0.762256E+07  1.171220  0.379305  1.146891  0.610000
  0.800000  0.748101  0.068173  0.506319  0.050848  0.036362 0.762256E+07  1.171220  0.345951  1.152311  0.610000 -1
SFDATAE
; Created by SFO for problem file D:\PROJECTS\NSNS\SC\BETA.61\ORNL\6C61OE1.AF
;   Beta       T         TP        S         SP       g/bl      Z            E/E0      Tave     dZctr     Beta(g)
  0.400000  0.539079  0.117414  0.647332  0.036512  0.078942 0.762256E+07  0.914337  0.063459  0.000000  0.610000
  0.410000  0.557045  0.114176  0.641436  0.039439  0.077016 0.762256E+07  0.914337  0.071886  0.000000  0.610000
  0.420000  0.574091  0.110981  0.635264  0.042053  0.075183 0.762256E+07  0.914337  0.072499  0.000000  0.610000
  0.430000  0.590267  0.107841  0.628872  0.044382  0.073434 0.762256E+07  0.914337  0.064096  0.000000  0.610000
  0.440000  0.605622  0.104766  0.622309  0.046454  0.071765 0.762256E+07  0.914337  0.046176  0.000000  0.610000
  0.450000  0.620203  0.101763  0.615618  0.048292  0.070170 0.762256E+07  0.914337  0.018879  0.000000  0.610000
  0.460000  0.634054  0.098837  0.608835  0.049919  0.068645 0.762256E+07  0.914337  0.017112  0.000000  0.610000
  0.470000  0.647217  0.095992  0.601991  0.051354  0.067184 0.762256E+07  0.914337  0.060697  0.000000  0.610000
  0.480000  0.659732  0.093229  0.595112  0.052615  0.065785 0.762256E+07  0.914337  0.110487  0.000000  0.610000
  0.490000  0.671637  0.090551  0.588223  0.053719  0.064442 0.762256E+07  0.914337  0.164925  0.000000  0.610000
  0.500000  0.682966  0.087957  0.581342  0.054681  0.063153 0.762256E+07  0.914337  0.222392  0.000000  0.610000
  0.510000  0.693754  0.085447  0.574485  0.055514  0.061915 0.762256E+07  0.914337  0.281298  0.000000  0.610000
  0.520000  0.704030  0.083019  0.567667  0.056230  0.060724 0.762256E+07  0.914337  0.340143  0.000000  0.610000
  0.530000  0.713826  0.080674  0.560900  0.056841  0.059579 0.762256E+07  0.914337  0.397571  0.000000  0.610000
  0.540000  0.723167  0.078408  0.554193  0.057356  0.058475 0.762256E+07  0.914337  0.452400  0.000000  0.610000
  0.550000  0.732080  0.076220  0.547555  0.057784  0.057412 0.762256E+07  0.914337  0.503634  0.000000  0.610000
  0.560000  0.740589  0.074108  0.540993  0.058134  0.056387 0.762256E+07  0.914337  0.550474  0.000000  0.610000
  0.570000  0.748717  0.072070  0.534512  0.058412  0.055398 0.762256E+07  0.914337  0.592308  0.000000  0.610000
  0.580000  0.756485  0.070103  0.528117  0.058626  0.054443 0.762256E+07  0.914337  0.628703  0.000000  0.610000
  0.590000  0.763912  0.068205  0.521811  0.058782  0.053520 0.762256E+07  0.914337  0.659389  0.000000  0.610000
  0.600000  0.771018  0.066374  0.515597  0.058885  0.052628 0.762256E+07  0.914337  0.684243  0.000000  0.610000
  0.610000  0.777819  0.064607  0.509479  0.058940  0.051765 0.762256E+07  0.914337  0.703264  0.000000  0.610000
  0.620000  0.784333  0.062902  0.503456  0.058952  0.050930 0.762256E+07  0.914337  0.716558  0.000000  0.610000
  0.630000  0.790573  0.061257  0.497530  0.058925  0.050122 0.762256E+07  0.914337  0.724319  0.000000  0.610000
  0.640000  0.796556  0.059669  0.491702  0.058863  0.049339 0.762256E+07  0.914337  0.726810  0.000000  0.610000
  0.650000  0.802294  0.058137  0.485973  0.058769  0.048580 0.762256E+07  0.914337  0.724346  0.000000  0.610000
  0.660000  0.807799  0.056657  0.480341  0.058646  0.047843 0.762256E+07  0.914337  0.717281  0.000000  0.610000
  0.670000  0.813085  0.055229  0.474806  0.058497  0.047129 0.762256E+07  0.914337  0.705996  0.000000  0.610000
  0.680000  0.818162  0.053850  0.469369  0.058325  0.046436 0.762256E+07  0.914337  0.690885  0.000000  0.610000
  0.690000  0.823040  0.052518  0.464027  0.058132  0.045763 0.762256E+07  0.914337  0.672349  0.000000  0.610000
  0.700000  0.827730  0.051231  0.458781  0.057920  0.045110 0.762256E+07  0.914337  0.650786  0.000000  0.610000
  0.710000  0.832240  0.049987  0.453629  0.057691  0.044474 0.762256E+07  0.914337  0.626587  0.000000  0.610000
  0.720000  0.836580  0.048786  0.448570  0.057447  0.043857 0.762256E+07  0.914337  0.600129  0.000000  0.610000
  0.730000  0.840757  0.047624  0.443603  0.057189  0.043256 0.762256E+07  0.914337  0.571773  0.000000  0.610000
  0.740000  0.844780  0.046501  0.438725  0.056920  0.042671 0.762256E+07  0.914337  0.541859  0.000000  0.610000
  0.750000  0.848656  0.045415  0.433936  0.056639  0.042102 0.762256E+07  0.914337  0.510707  0.000000  0.610000
  0.760000  0.852392  0.044364  0.429235  0.056349  0.041548 0.762256E+07  0.914337  0.478613  0.000000  0.610000
  0.770000  0.855994  0.043347  0.424618  0.056051  0.041009 0.762256E+07  0.914337  0.445852  0.000000  0.610000
  0.780000  0.859468  0.042363  0.420086  0.055746  0.040483 0.762256E+07  0.914337  0.412674  0.000000  0.610000
  0.790000  0.862821  0.041410  0.415637  0.055434  0.039971 0.762256E+07  0.914337  0.379305  0.000000  0.610000
  0.800000  0.866057  0.040488  0.411268  0.055117  0.039471 0.762256E+07  0.914337  0.345951  0.000000  0.610000 -1
QuadDoublet 4.804e2  40.0 30.0 0   2
            4.804e2  40.0 30.0 0   2
            4.804e2  40.0 30.0 0   2
            4.804e2  40.0 30.0 0   2
;QuadDoublet 4.816e2  40.0 30.0 0   2
;            4.828e2  40.0 30.0 0   2
;            4.840e2  40.0 30.0 0   2
;            5.420e2  40.0 30.0 0   2
;ExtQuad 16 18 -4.7090994e+2 0
ExtDquad 10 54 -466.9 40.0 1 30.0
ExtDQuad 16 54  466.0  0
ExtDquad 10 72 -520.1 40.0 1 30.0
ExtDQuad 16 72 +515.0  0
;ExtDquad 10 126 -469.3 40.0 1 30.0
;ExtDQuad 16 126  468.3 0
;ExtDquad 10 144 -516.4 40.0 1 30.0
linout  1
;scheff deltaR. deltaZ, Nr, Nz, Nbunch, Nbetalambda, Remesh
scheff 0.05      0.05   20  40   0        0           3
start 1
stop 72
optcon 1 3
;output 2 1  18 600 18
output 2 1  1 3000 1
;output 3 1  1 2 3 4
prtbeam
begin

;------------------------------------------------------------
;Structure id,Nlast,F0,Fsf,deltaphi
Structure  20  100   805. 805.
title
*** ORNL Sept 22,2000 Design*** BTW Sc2 1b-SC2 2a
Transport -20
Bore 4.0
;quad L, Ra, outputflag, B, errorflag
;+++++++++Errors+++
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors  0.0127  0.0127 0.57     0.286  0.286  0.5
;?QuadErrors   0.0     0.0    0.57     0.57  0.286  0.5   ! errorset
;+++++++++

drift  0.     5.0    1  4
drift  15.     5.0   1  6
quad 40.0 0 1 +515.0 1  1
drift  25.     5.0   1  6
drift  58.7164 5.0   1  10

;scheff deltaR. deltaZ, Nr, Nz, Nbunch, Nbetalambda, Remesh
scheff  .05     .05     20   40   0      0            3
output 2 1   1 3000 1
prtbeam
begin

;------------------------------------------------------------


; --SC2 2a--
;        ID Nlst f0  fsh  deltaphi
Structure 21 360 805. 805. -19.9955
title
*** ORNL Sept 22,2000 Design*** SC2 2a ***
;    Wf    Phi  Nlo Ncel LaTyp  Qentry BetS    DWseg   Nsq Dseg  Dqs
SC2 1014.0 -26.5 1    6    2      0     0.60   3.3633  4  47.67024 188.34865

AutoStructPhase
ConstESuper 18.0257   !
ConstESuper 18.596101
ConstESuper 17.94
;         delaycmi delaypsi endcmi endpsi endw
SetBetaRamp  0        0       0      0    0
PhaseRamp 0. -15. 0.191666

;SetSuperCav Seg# SpecPhase SpecE0
;                   (deg)    (MV/m)
SetSuperCav     60   -0.001      0.00001

;            (G/cm) Lq   dds  pol Qloc
QuadDoublet  542.    40.0 30.0  0   2
Bore 4.0

;+++++++++Errors+++
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors  0.0127  0.0127 0.57     0.286  0.286  0.5
;?QuadErrors   0.0     0.0    0.57     0.57  0.286  0.5   ! errorset
;+++++++++
;************************
;EphiError DelE(%) Cos(1),sin(2)
;EphiError  5.       2          ! errorset
;************************

; J billen 08/25/00
; Include this file in the PARMILA input file.
; No correction to shunt impedance Z for coupling slots.
; No other reduction in shunt impedance Z applied.
; Geometric beta column included for superconducting linac.
; Geometric beta = 0.81093.
SFDATAQ
; Created by SFO for problem file D:\PROJECTS\NSNS\SC\BETA.81\INFN\AVG\6C81E1.AF
;   Beta       T         TP        S         SP       g/bl      Z            E/E0      Tave     dZctr     Beta(g)
  0.600000  0.399486  0.117290  0.624869  0.001150  0.061595 0.155223E+08  1.177075  0.014204  1.035992  0.810928
  0.610000  0.411641  0.116767  0.625177  0.003739  0.060585 0.155223E+08  1.177076  0.011363  1.062954  0.810928
  0.620000  0.423540  0.116156  0.625188  0.006235  0.059608 0.155223E+08  1.177073  0.041345  1.088490  0.810928
  0.630000  0.435184  0.115466  0.624920  0.008637  0.058662 0.155223E+08  1.177076  0.075218  1.112709  0.810928
  0.640000  0.446572  0.114705  0.624396  0.010947  0.057745 0.155223E+08  1.177075  0.112384  1.135709  0.810928
  0.650000  0.457707  0.113880  0.623640  0.013168  0.056857 0.155223E+08  1.177074  0.152193  1.157579  0.810928
  0.660000  0.468589  0.113000  0.622655  0.015299  0.055995 0.155223E+08  1.177075  0.193971  1.178398  0.810928
  0.670000  0.479222  0.112070  0.621483  0.017345  0.055160 0.155223E+08  1.177076  0.237043  1.198238  0.810928
  0.680000  0.489610  0.111095  0.620104  0.019304  0.054348 0.155223E+08  1.177074  0.280750  1.217163  0.810928
  0.690000  0.499754  0.110083  0.618563  0.021181  0.053561 0.155223E+08  1.177075  0.324466  1.235234  0.810928
  0.700000  0.509659  0.109037  0.616870  0.022979  0.052796 0.155223E+08  1.177073  0.367608  1.252505  0.810928
  0.710000  0.519330  0.107962  0.615013  0.024697  0.052052 0.155223E+08  1.177075  0.409643  1.269024  0.810928
  0.720000  0.528769  0.106862  0.613032  0.026340  0.051329 0.155223E+08  1.177077  0.450097  1.284837  0.810928
  0.730000  0.537982  0.105742  0.610935  0.027911  0.050626 0.155223E+08  1.177076  0.488556  1.299986  0.810928
  0.740000  0.546973  0.104604  0.608707  0.029409  0.049942 0.155223E+08  1.177079  0.524668  1.314510  0.810928
  0.750000  0.555747  0.103452  0.606382  0.030838  0.049276 0.155223E+08  1.177079  0.558142  1.328444  0.810928
  0.760000  0.564308  0.102288  0.603968  0.032203  0.048628 0.155223E+08  1.177076  0.588745  1.341820  0.810928
  0.770000  0.572662  0.101116  0.601466  0.033503  0.047996 0.155223E+08  1.177076  0.616300  1.354670  0.810928
  0.780000  0.580812  0.099938  0.598877  0.034740  0.047381 0.155223E+08  1.177079  0.640682  1.367021  0.810928
  0.790000  0.588764  0.098756  0.596222  0.035918  0.046781 0.155223E+08  1.177078  0.661816  1.378901  0.810928
  0.800000  0.596523  0.097572  0.593506  0.037040  0.046196 0.155223E+08  1.177072  0.679666  1.390332  0.810928
  0.810000  0.604092  0.096387  0.590735  0.038107  0.045626 0.155223E+08  1.177076  0.694240  1.401339  0.810928
  0.820000  0.611478  0.095204  0.587899  0.039120  0.045069 0.155223E+08  1.177077  0.705575  1.411943  0.810928
  0.830000  0.618684  0.094024  0.585021  0.040082  0.044526 0.155223E+08  1.177074  0.713740  1.422162  0.810928
  0.840000  0.625715  0.092849  0.582105  0.040995  0.043996 0.155223E+08  1.177071  0.718830  1.432018  0.810928
  0.850000  0.632575  0.091679  0.579154  0.041862  0.043479 0.155223E+08  1.177078  0.720957  1.441526  0.810928
  0.860000  0.639270  0.090515  0.576173  0.042685  0.042973 0.155223E+08  1.177070  0.720255  1.450703  0.810928
  0.870000  0.645803  0.089360  0.573154  0.043462  0.042479 0.155223E+08  1.177077  0.716866  1.459564  0.810928
  0.880000  0.652178  0.088212  0.570114  0.044198  0.041997 0.155223E+08  1.177075  0.710947  1.468125  0.810928
  0.890000  0.658401  0.087074  0.567055  0.044895  0.041525 0.155223E+08  1.177078  0.702660  1.476399  0.810928
  0.900000  0.664474  0.085946  0.563981  0.045553  0.041063 0.155223E+08  1.177074  0.692170  1.484398  0.810928
  0.910000  0.670402  0.084829  0.560895  0.046176  0.040612 0.155223E+08  1.177071  0.679649  1.492136  0.810928
  0.920000  0.676190  0.083723  0.557799  0.046764  0.040171 0.155223E+08  1.177071  0.665265  1.499623  0.810928
  0.930000  0.681839  0.082628  0.554687  0.047316  0.039739 0.155223E+08  1.177072  0.649188  1.506869  0.810928
  0.940000  0.687356  0.081545  0.551570  0.047837  0.039316 0.155223E+08  1.177073  0.631584  1.513887  0.810928
  0.950000  0.692742  0.080475  0.548451  0.048327  0.038902 0.155223E+08  1.177078  0.612614  1.520684  0.810928
  0.960000  0.698002  0.079417  0.545332  0.048787  0.038497 0.155223E+08  1.177075  0.592435  1.527271  0.810928
  0.970000  0.703139  0.078372  0.542215  0.049220  0.038100 0.155223E+08  1.177073  0.571200  1.533656  0.810928
  0.980000  0.708156  0.077340  0.539102  0.049626  0.037711 0.155223E+08  1.177077  0.549055  1.539847  0.810928
  0.990000  0.713057  0.076322  0.535994  0.050005  0.037330 0.155223E+08  1.177074  0.526136  1.545852  0.810928 -1
SFDATAE
; Created by SFO for problem file D:\PROJECTS\NSNS\SC\BETA.81\INFN\AVG\6C81E1.AF
;   Beta       T         TP        S         SP       g/bl      Z            E/E0      Tave     dZctr     Beta(g)
  0.600000  0.610037  0.104264  0.623685  0.047908  0.057096 0.155223E+08  0.911580  0.014204  0.000000  0.810928
  0.610000  0.620749  0.102023  0.618641  0.049218  0.056160 0.155223E+08  0.911580  0.011363  0.000000  0.810928
  0.620000  0.631060  0.099826  0.613551  0.050414  0.055255 0.155223E+08  0.911578  0.041345  0.000000  0.810928
  0.630000  0.640988  0.097676  0.608427  0.051503  0.054378 0.155223E+08  0.911580  0.075218  0.000000  0.810928
  0.640000  0.650548  0.095572  0.603281  0.052493  0.053528 0.155223E+08  0.911579  0.112384  0.000000  0.810928
  0.650000  0.659758  0.093516  0.598123  0.053391  0.052704 0.155223E+08  0.911579  0.152193  0.000000  0.810928
  0.660000  0.668632  0.091507  0.592962  0.054204  0.051906 0.155223E+08  0.911580  0.193971  0.000000  0.810928
  0.670000  0.677186  0.089545  0.587805  0.054937  0.051131 0.155223E+08  0.911580  0.237043  0.000000  0.810928
  0.680000  0.685432  0.087631  0.582660  0.055596  0.050379 0.155223E+08  0.911579  0.280750  0.000000  0.810928
  0.690000  0.693384  0.085765  0.577533  0.056187  0.049649 0.155223E+08  0.911579  0.324466  0.000000  0.810928
  0.700000  0.701056  0.083944  0.572429  0.056715  0.048940 0.155223E+08  0.911578  0.367608  0.000000  0.810928
  0.710000  0.708458  0.082170  0.567353  0.057183  0.048250 0.155223E+08  0.911580  0.409643  0.000000  0.810928
  0.720000  0.715603  0.080441  0.562309  0.057597  0.047580 0.155223E+08  0.911581  0.450097  0.000000  0.810928
  0.730000  0.722501  0.078756  0.557302  0.057959  0.046929 0.155223E+08  0.911580  0.488556  0.000000  0.810928
  0.740000  0.729163  0.077115  0.552333  0.058274  0.046294 0.155223E+08  0.911583  0.524668  0.000000  0.810928
  0.750000  0.735600  0.075516  0.547407  0.058546  0.045677 0.155223E+08  0.911583  0.558142  0.000000  0.810928
  0.760000  0.741819  0.073960  0.542525  0.058776  0.045076 0.155223E+08  0.911580  0.588745  0.000000  0.810928
  0.770000  0.747831  0.072444  0.537689  0.058969  0.044491 0.155223E+08  0.911580  0.616300  0.000000  0.810928
  0.780000  0.753645  0.070967  0.532901  0.059126  0.043920 0.155223E+08  0.911582  0.640682  0.000000  0.810928
  0.790000  0.759267  0.069530  0.528164  0.059250  0.043364 0.155223E+08  0.911582  0.661816  0.000000  0.810928
  0.800000  0.764707  0.068131  0.523477  0.059345  0.042822 0.155223E+08  0.911577  0.679666  0.000000  0.810928
  0.810000  0.769972  0.066768  0.518842  0.059411  0.042294 0.155223E+08  0.911580  0.694240  0.000000  0.810928
  0.820000  0.775068  0.065441  0.514260  0.059451  0.041778 0.155223E+08  0.911581  0.705575  0.000000  0.810928
  0.830000  0.780003  0.064149  0.509732  0.059466  0.041275 0.155223E+08  0.911579  0.713740  0.000000  0.810928
  0.840000  0.784782  0.062891  0.505257  0.059459  0.040783 0.155223E+08  0.911576  0.718830  0.000000  0.810928
  0.850000  0.789413  0.061666  0.500837  0.059431  0.040303 0.155223E+08  0.911582  0.720957  0.000000  0.810928
  0.860000  0.793901  0.060473  0.496471  0.059384  0.039835 0.155223E+08  0.911576  0.720255  0.000000  0.810928
  0.870000  0.798251  0.059311  0.492160  0.059319  0.039377 0.155223E+08  0.911581  0.716866  0.000000  0.810928
  0.880000  0.802470  0.058179  0.487903  0.059237  0.038929 0.155223E+08  0.911580  0.710947  0.000000  0.810928
  0.890000  0.806561  0.057076  0.483701  0.059139  0.038492 0.155223E+08  0.911582  0.702660  0.000000  0.810928
  0.900000  0.810530  0.056002  0.479553  0.059028  0.038064 0.155223E+08  0.911579  0.692170  0.000000  0.810928
  0.910000  0.814382  0.054956  0.475459  0.058903  0.037646 0.155223E+08  0.911576  0.679649  0.000000  0.810928
  0.920000  0.818120  0.053936  0.471419  0.058766  0.037237 0.155223E+08  0.911576  0.665265  0.000000  0.810928
  0.930000  0.821750  0.052942  0.467432  0.058618  0.036836 0.155223E+08  0.911577  0.649188  0.000000  0.810928
  0.940000  0.825275  0.051974  0.463498  0.058459  0.036445 0.155223E+08  0.911578  0.631584  0.000000  0.810928
  0.950000  0.828700  0.051030  0.459616  0.058291  0.036061 0.155223E+08  0.911582  0.612614  0.000000  0.810928
  0.960000  0.832027  0.050110  0.455787  0.058114  0.035685 0.155223E+08  0.911579  0.592435  0.000000  0.810928
  0.970000  0.835260  0.049212  0.452009  0.057928  0.035317 0.155223E+08  0.911578  0.571200  0.000000  0.810928
  0.980000  0.838403  0.048338  0.448282  0.057736  0.034957 0.155223E+08  0.911581  0.549055  0.000000  0.810928
  0.990000  0.841459  0.047484  0.444606  0.057536  0.034604 0.155223E+08  0.911579  0.526136  0.000000  0.810928 -1

linout  1
;scheff deltaR. deltaZ, Nr, Nz, Nbunch, Nbetalambda, Remesh
scheff 0.05      0.05   20  40   0        0           3
start 1
stop 360
prtbeam
optcon 1 3
;output 2 1 24 3000 24
output 2 1  1 3000 1
;output 3 1  1 2 3 4
;output 1 1  450
begin
end

;------------------------------------------------------------
;Structure id,Nlast,F0,Fsf,deltaphi
Structure  22  100   805. 805.
title
*** ORNL August 16,2000 Design*** After SC2-2a, drift beam the length of SC2-2b.
Transport
Bore 4.0
OldRectangle
;quad L, Ra, outputflag, B, errorflag
drift    0.       5.0   1    1
drift   15.       5.0   1    3 
quad    40.0      5     1   +542.0     1  1
drift   25.       5.0   1    4
;1st
drift  629.1      5.0   1  100    !  (5)
drift   25.       5.0   1    4
quad    40.0      5     1   -542.0     1  1
drift   30.       5.0   1    5
quad    40.0      5     1   +542.0     1  1
drift   25.       5.0   1    4      ! (10)
;2nd
drift  629.1      5.0   1  100
drift   25.       5.0   1    4
quad    40.0      5     1   -542.0     1  1
drift   30.       5.0   1    5
quad    40.0      5     1   +542.0     1  1      ! (15)
drift   25.       5.0   1    4
;3rd
drift  629.1      5.0   1  100
drift   25.       5.0   1    4
quad    40.0      5     1   -542.0     1  1
drift   30.       5.0   1    5      ! (20)
quad    40.0      5     1   +542.0     1  1
drift   25.       5.0   1    4
;4th
drift  629.1      5.0   1  100
drift   25.       5.0   1    4
;;quad 40.0 5 1 -542.0 1  1
quad    40.0      5     1   -500.0     1  1      ! (25)
drift   30.       5.0   1    5
;;quad 40.0 5 1 +542.0 1  1
quad    40.0      5     1   +576.30212 1  1
drift   25.       5.0   1    4
;5th
drift  629.1      5.0   1  100
drift   25.       5.0   1    4      ! (30)
;;quad 40.0 5 1 -542.0 1  1
quad   40.0       5     1   -552.01982 1  1
drift   30.       5.0   1    5
;;quad 40.0 5 1 +542.0 1  1
quad   40.0       5     1   +656.48935 1  1
drift   25.       5.0   1    4
;6th
drift  629.1      5.0   1  100    ! (35)
drift   25.       5.0   1    4
;;quad 40.0 5 1 -542.0 1  1
quad    40.0      5     1   -748.75048 1  1
;drift  15.     5.0   1  3

drift   30.       5.    1    3  
quad    40.       5.    1    750.0  1
drift   25.       5.    1    2        ! (40)
drift  673.64666  5.    1   67  
quad    25.0      6.    1    021.611609  1
quad    25.0      6.    1    410.426200  1
steerer 0         0     1    0.  0.
drift  155.00000 6.    1    15        ! (45)
rectangle 0       0     1    1.   1.  
drift  175.00000 6.    1    17
quad    50.0      6.    1   -410.426200  1
steerer 0         0     1    0.  0.
drift  155.00000 6.    1    15        ! (50)
rectangle 0       0     1    1.   1.  
drift  175.00000 6.    1    17
quad    50.0      6.    1   +410.426200  1
steerer 0         0     1    0.  0.
drift  155.00000 6.    1    15         ! (55)
rectangle 0       0     1    1.   1.  
drift  175.00000 6.    1    17
quad    50.0      6.    1   -410.426200  1
steerer 0         0     1    0.  0.
drift   155.00000 6.    1    15         ! (60)
rectangle 0       0     1    1.   1.  
drift   175.00000 6.    1    17
quad     50.0    20.    1   +410.426200  1
;drift   0.00000   6.    1    1
drift    25.0000  6.    1     2        ! (65)
drift   300.0000  6.    1    30         
drift    25.0000  6.    1     2
quad    50.0      6.    1   -410.426200  1
;drift   0.00000   6.    1    1
drift    25.0000  6.    1     2        ! (70)  
drift   300.0000  6.    1    30        
drift    25.0000  6.    1    1         
quad    50.0      6.    1   +410.426200  1
steerer 0         0     1    0.  0.
drift   330.0000  6.    1    33        ! (75)  
quad     50.0     6.    1   -351.59310   1
steerer 0         0     1    0.  0.  
drift   330.0000  6.    1    33
quad     50.0     6.    1   313.05480    1
;drift   0.00000   6.    1    1        ! (80)
drift   350.0000  6.    1    35
quad     50.0     6.    1   -291.92540   1
drift   69.67110  6.    1    7         
drift   21.721483 2.4   1    2
cavity  0         6     1    0.3  805.0 -90.  ! (85) 
drift   43.442967 2.4   1    4
cavity  0         6     1    0.3  805.0 -90.   
drift   43.442967 2.4   1    4         
cavity  0         6     1    0.3  805.0 -90.   
drift   43.442967 2.4   1    4                !(90)  
cavity  0         6     1    0.3  805.0 -90.   
drift   43.442967 2.4   1    4
cavity  0         6     1    0.3  805.0 -90.   
drift   43.442967 2.4   1    1
cavity  0         6     1    0.3  805.0 -90.  ! (95) 
drift   21.721483 2.4   1    2
drift   69.67110  6.    1    7
quad     25.0     6.    1   274.44950   1    
quad     25.0    10.    1   198.16390   1
;drift   0.00000   6.    1    1               ! (100)
drift   50.0000  10.    1    5
bend     0.      4.0    1   11.250 -2712.0  0.  0.  0.45 2.8 
drift  100.0000  10.    1    10
quad     50.0    10.    1   -211.57920  1     ! (105)
steerer 0         0     1    0.  0.             
drift    30.0000 10.    1    3
bend     0.      4.0    1   11.250 -2712.0  0.  0.  0.45 2.8 
drift  100.0000  10.    1    10
quad     50.0    10.    1   198.16390  1      ! (110) 
steerer 0         0     1    0.  0.
drift   30.0000  10.    1    3
bend     0.      4.0    1   11.250 -2712.0  0.  0.  0.45 2.8 
rectangle 0       0     1    2.   2.  
drift  100.0000  10.    1    10               ! (115) 
quad     50.0    10.    1   -211.57920 1
steerer 0         0     1    0.  0.
drift   30.0000  10.    1    3
bend     0.      4.0    1   11.250 -2712.0  0.  0.  0.45 2.8 
drift  100.0000  10.    1    10               ! (120) 
quad     50.0    10.    1   198.16390  1
steerer 0         0     1    0.  0.
drift   30.0000  10.    1    3
bend     0.      4.0    1   11.250 -2712.0  0.  0.  0.45 2.8 
rectangle 0       0     1    2.   2.              ! (125) 
drift  100.0000  10.    1    10
quad     50.0    10.    1   -211.57920 1
;drift   0.00000   6.    1    1
drift   50.0000  10.    1    5
bend     0.      4.0    1   11.250 -2712.0  0.  0. ! (130)  0.45 2.8 
drift   50.0000  10.    1    5
quad     50.0    10.    1   198.16390  1
steerer 0         0     1    0.  0.
drift   30.0000  10.    1    3
bend     0.      4.0    1   11.250 -2712.0  0.  0.  0.45 2.8  ! (135) 
drift  100.0000  10.    1    10
quad     50.0    10.    1   -211.57920 1
steerer 0         0     1    0.  0.
drift   30.0000  10.    1    3
bend     0.      4.0    1   11.250 -2712.0  0.  0.  0.45 2.8 ! (140) 
drift  100.0000  10.    1    10
quad     50.0    10.    1   198.16390  1
;drift   0.00000   6.    1    1    (id 18 ?)
drift  500.0000   6.    1    50
quad     50.0     6.    1   -253.81350 1  ! (145) 
;drift   0.00000   6.    1    1    (id 19)
drift  450.0000   6.    1    45
quad     50.0     6.    1   267.38440 1
steerer 0         0     1    0.  0.
drift  380.0000   6.    1    38            ! (150) 
quad     50.0     6.    1   -308.12850 1
steerer 0         0     1    0.  0.
drift  380.0000   6.    1    38
quad     50.0     6.    1   290.59250 1
;drift   0.00000   6.    1    1    (id 19) ! (155) 
drift  400.0000   6.    1    40
quad     50.0     6.    1   -357.25880
drift  350.0000   6.    1    35
quad     50.0     6.    1   336.13420 1
;drift   0.00000   6.    1    1    (id 19) ! (160) 
drift  100.0000   6.    1    10
bend     0.      4.0    1   8.7550 -2712.0  0.  0.  0.45 2.8  
drift  50.0000   6.    1    5
quad     50.0     6.    1   -334.68920
steerer 0         0     1    0.  0.        ! (165) 
drift  330.0000   6.    1    33
quad     50.0     6.    1   336.13420 1
steerer 0         0     1    0.  0.
drift  330.0000   6.    1    33
quad     50.0     6.    1   -334.68920     ! (170) 
;drift   0.00000   6.    1    1    (id 19)
drift  350.0000   6.    1    35
quad     50.0     6.    1   336.13420 1
;drift   0.00000   6.    1    1    (id 19)
drift  350.0000   6.    1    35            ! (175) 
quad     50.0     6.    1   -406.89840
steerer 0         0     1    0.  0.
drift  330.0000   6.    1    7
quad     50.0     6.    1   336.13420 1
steerer 0         0     1    0.  0.      ! (180) 
drift  330.0000   6.    1    33
quad     50.0     6.    1   -334.68920
;drift   0.00000   6.    1    1    (id 19)
drift  611.50000   6.    1    61
quad     50.0     6.    1   570.76360 1    ! (185) 
drift  36.0000   6.    1    4
quad     50.0     6.    1   -553.06270
;drift   0.00000   6.    1    1    (id 19)
drift  125.0000   6.    1    12
bend     0.      4.0    1   -6.3510000 2764.0  0.  0.  0.45 2.8  ! (190) 
drift  225.0000   6.    1    22
bend     0.      4.0    1   -2.4040 2273.7  0.  0.  0.45 2.8  
drift   0.00000   6.    1    1    
;
;scheff deltaR. deltaZ, Nr, Nz, Nbunch, Nbetalambda, Remesh
scheff  .05     .05     20   40   0      0            3
output 2 1   1 3000 1
prtbeam
begin
end
; --------This is the end of Deepak HEBT transport line---------

;------------------------------------------------------------
;------------------------------------------------------------
; --SC2 2b--
;        ID Nlst f0  fsh  deltaphi
Structure 22 144 805. 805. -51.8073
title
*** ORNL Sept 22,2000 Design*** SC2 2b ***
;    Wf    Phi  Nlo Ncel LaTyp  Qentry BetS    DWseg   Nsq Dseg  Dqs
SC2 1300.0 -15. 1    6    2      1     0.60   3.3633  4   47.67024 188.34866

AutoStructPhase
ConstESuper 18.0257   !
ConstESuper 18.596101
;         delaycmi delaypsi endcmi endpsi endw
;            (G/cm) Lq   dds  pol Qloc
QuadDoublet  542.    40.0 30.0  0   2
Bore 4.0

;+++++++++Errors+++
;QuadErrors dx(cm)  dy    dthx(deg) dthy   dthz  dA (%)
;QuadErrors  0.0127  0.0127 0.57     0.286  0.286  0.5
;?QuadErrors   0.0     0.0    0.57     0.57  0.286  0.5   ! errorset
;+++++++++
;************************
;EphiError DelE(%) Cos(1),sin(2)
;EphiError  5.       2          ! errorset
;************************
; J billen 08/25/00
; Include this file in the PARMILA input file.
; No correction to shunt impedance Z for coupling slots.
; No other reduction in shunt impedance Z applied.
; Geometric beta column included for superconducting linac.
; Geometric beta = 0.81093.
SFDATAQ
; Created by SFO for problem file D:\PROJECTS\NSNS\SC\BETA.81\INFN\AVG\6C81E1.AF
;   Beta       T         TP        S         SP       g/bl      Z            E/E0      Tave     dZctr     Beta(g)
  0.600000  0.399486  0.117290  0.624869  0.001150  0.061595 0.155223E+08  1.177075  0.014204  1.035992  0.810928
  0.610000  0.411641  0.116767  0.625177  0.003739  0.060585 0.155223E+08  1.177076  0.011363  1.062954  0.810928
  0.620000  0.423540  0.116156  0.625188  0.006235  0.059608 0.155223E+08  1.177073  0.041345  1.088490  0.810928
  0.630000  0.435184  0.115466  0.624920  0.008637  0.058662 0.155223E+08  1.177076  0.075218  1.112709  0.810928
  0.640000  0.446572  0.114705  0.624396  0.010947  0.057745 0.155223E+08  1.177075  0.112384  1.135709  0.810928
  0.650000  0.457707  0.113880  0.623640  0.013168  0.056857 0.155223E+08  1.177074  0.152193  1.157579  0.810928
  0.660000  0.468589  0.113000  0.622655  0.015299  0.055995 0.155223E+08  1.177075  0.193971  1.178398  0.810928
  0.670000  0.479222  0.112070  0.621483  0.017345  0.055160 0.155223E+08  1.177076  0.237043  1.198238  0.810928
  0.680000  0.489610  0.111095  0.620104  0.019304  0.054348 0.155223E+08  1.177074  0.280750  1.217163  0.810928
  0.690000  0.499754  0.110083  0.618563  0.021181  0.053561 0.155223E+08  1.177075  0.324466  1.235234  0.810928
  0.700000  0.509659  0.109037  0.616870  0.022979  0.052796 0.155223E+08  1.177073  0.367608  1.252505  0.810928
  0.710000  0.519330  0.107962  0.615013  0.024697  0.052052 0.155223E+08  1.177075  0.409643  1.269024  0.810928
  0.720000  0.528769  0.106862  0.613032  0.026340  0.051329 0.155223E+08  1.177077  0.450097  1.284837  0.810928
  0.730000  0.537982  0.105742  0.610935  0.027911  0.050626 0.155223E+08  1.177076  0.488556  1.299986  0.810928
  0.740000  0.546973  0.104604  0.608707  0.029409  0.049942 0.155223E+08  1.177079  0.524668  1.314510  0.810928
  0.750000  0.555747  0.103452  0.606382  0.030838  0.049276 0.155223E+08  1.177079  0.558142  1.328444  0.810928
  0.760000  0.564308  0.102288  0.603968  0.032203  0.048628 0.155223E+08  1.177076  0.588745  1.341820  0.810928
  0.770000  0.572662  0.101116  0.601466  0.033503  0.047996 0.155223E+08  1.177076  0.616300  1.354670  0.810928
  0.780000  0.580812  0.099938  0.598877  0.034740  0.047381 0.155223E+08  1.177079  0.640682  1.367021  0.810928
  0.790000  0.588764  0.098756  0.596222  0.035918  0.046781 0.155223E+08  1.177078  0.661816  1.378901  0.810928
  0.800000  0.596523  0.097572  0.593506  0.037040  0.046196 0.155223E+08  1.177072  0.679666  1.390332  0.810928
  0.810000  0.604092  0.096387  0.590735  0.038107  0.045626 0.155223E+08  1.177076  0.694240  1.401339  0.810928
  0.820000  0.611478  0.095204  0.587899  0.039120  0.045069 0.155223E+08  1.177077  0.705575  1.411943  0.810928
  0.830000  0.618684  0.094024  0.585021  0.040082  0.044526 0.155223E+08  1.177074  0.713740  1.422162  0.810928
  0.840000  0.625715  0.092849  0.582105  0.040995  0.043996 0.155223E+08  1.177071  0.718830  1.432018  0.810928
  0.850000  0.632575  0.091679  0.579154  0.041862  0.043479 0.155223E+08  1.177078  0.720957  1.441526  0.810928
  0.860000  0.639270  0.090515  0.576173  0.042685  0.042973 0.155223E+08  1.177070  0.720255  1.450703  0.810928
  0.870000  0.645803  0.089360  0.573154  0.043462  0.042479 0.155223E+08  1.177077  0.716866  1.459564  0.810928
  0.880000  0.652178  0.088212  0.570114  0.044198  0.041997 0.155223E+08  1.177075  0.710947  1.468125  0.810928
  0.890000  0.658401  0.087074  0.567055  0.044895  0.041525 0.155223E+08  1.177078  0.702660  1.476399  0.810928
  0.900000  0.664474  0.085946  0.563981  0.045553  0.041063 0.155223E+08  1.177074  0.692170  1.484398  0.810928
  0.910000  0.670402  0.084829  0.560895  0.046176  0.040612 0.155223E+08  1.177071  0.679649  1.492136  0.810928
  0.920000  0.676190  0.083723  0.557799  0.046764  0.040171 0.155223E+08  1.177071  0.665265  1.499623  0.810928
  0.930000  0.681839  0.082628  0.554687  0.047316  0.039739 0.155223E+08  1.177072  0.649188  1.506869  0.810928
  0.940000  0.687356  0.081545  0.551570  0.047837  0.039316 0.155223E+08  1.177073  0.631584  1.513887  0.810928
  0.950000  0.692742  0.080475  0.548451  0.048327  0.038902 0.155223E+08  1.177078  0.612614  1.520684  0.810928
  0.960000  0.698002  0.079417  0.545332  0.048787  0.038497 0.155223E+08  1.177075  0.592435  1.527271  0.810928
  0.970000  0.703139  0.078372  0.542215  0.049220  0.038100 0.155223E+08  1.177073  0.571200  1.533656  0.810928
  0.980000  0.708156  0.077340  0.539102  0.049626  0.037711 0.155223E+08  1.177077  0.549055  1.539847  0.810928
  0.990000  0.713057  0.076322  0.535994  0.050005  0.037330 0.155223E+08  1.177074  0.526136  1.545852  0.810928 -1
SFDATAE
; Created by SFO for problem file D:\PROJECTS\NSNS\SC\BETA.81\INFN\AVG\6C81E1.AF
;   Beta       T         TP        S         SP       g/bl      Z            E/E0      Tave     dZctr     Beta(g)
  0.600000  0.610037  0.104264  0.623685  0.047908  0.057096 0.155223E+08  0.911580  0.014204  0.000000  0.810928
  0.610000  0.620749  0.102023  0.618641  0.049218  0.056160 0.155223E+08  0.911580  0.011363  0.000000  0.810928
  0.620000  0.631060  0.099826  0.613551  0.050414  0.055255 0.155223E+08  0.911578  0.041345  0.000000  0.810928
  0.630000  0.640988  0.097676  0.608427  0.051503  0.054378 0.155223E+08  0.911580  0.075218  0.000000  0.810928
  0.640000  0.650548  0.095572  0.603281  0.052493  0.053528 0.155223E+08  0.911579  0.112384  0.000000  0.810928
  0.650000  0.659758  0.093516  0.598123  0.053391  0.052704 0.155223E+08  0.911579  0.152193  0.000000  0.810928
  0.660000  0.668632  0.091507  0.592962  0.054204  0.051906 0.155223E+08  0.911580  0.193971  0.000000  0.810928
  0.670000  0.677186  0.089545  0.587805  0.054937  0.051131 0.155223E+08  0.911580  0.237043  0.000000  0.810928
  0.680000  0.685432  0.087631  0.582660  0.055596  0.050379 0.155223E+08  0.911579  0.280750  0.000000  0.810928
  0.690000  0.693384  0.085765  0.577533  0.056187  0.049649 0.155223E+08  0.911579  0.324466  0.000000  0.810928
  0.700000  0.701056  0.083944  0.572429  0.056715  0.048940 0.155223E+08  0.911578  0.367608  0.000000  0.810928
  0.710000  0.708458  0.082170  0.567353  0.057183  0.048250 0.155223E+08  0.911580  0.409643  0.000000  0.810928
  0.720000  0.715603  0.080441  0.562309  0.057597  0.047580 0.155223E+08  0.911581  0.450097  0.000000  0.810928
  0.730000  0.722501  0.078756  0.557302  0.057959  0.046929 0.155223E+08  0.911580  0.488556  0.000000  0.810928
  0.740000  0.729163  0.077115  0.552333  0.058274  0.046294 0.155223E+08  0.911583  0.524668  0.000000  0.810928
  0.750000  0.735600  0.075516  0.547407  0.058546  0.045677 0.155223E+08  0.911583  0.558142  0.000000  0.810928
  0.760000  0.741819  0.073960  0.542525  0.058776  0.045076 0.155223E+08  0.911580  0.588745  0.000000  0.810928
  0.770000  0.747831  0.072444  0.537689  0.058969  0.044491 0.155223E+08  0.911580  0.616300  0.000000  0.810928
  0.780000  0.753645  0.070967  0.532901  0.059126  0.043920 0.155223E+08  0.911582  0.640682  0.000000  0.810928
  0.790000  0.759267  0.069530  0.528164  0.059250  0.043364 0.155223E+08  0.911582  0.661816  0.000000  0.810928
  0.800000  0.764707  0.068131  0.523477  0.059345  0.042822 0.155223E+08  0.911577  0.679666  0.000000  0.810928
  0.810000  0.769972  0.066768  0.518842  0.059411  0.042294 0.155223E+08  0.911580  0.694240  0.000000  0.810928
  0.820000  0.775068  0.065441  0.514260  0.059451  0.041778 0.155223E+08  0.911581  0.705575  0.000000  0.810928
  0.830000  0.780003  0.064149  0.509732  0.059466  0.041275 0.155223E+08  0.911579  0.713740  0.000000  0.810928
  0.840000  0.784782  0.062891  0.505257  0.059459  0.040783 0.155223E+08  0.911576  0.718830  0.000000  0.810928
  0.850000  0.789413  0.061666  0.500837  0.059431  0.040303 0.155223E+08  0.911582  0.720957  0.000000  0.810928
  0.860000  0.793901  0.060473  0.496471  0.059384  0.039835 0.155223E+08  0.911576  0.720255  0.000000  0.810928
  0.870000  0.798251  0.059311  0.492160  0.059319  0.039377 0.155223E+08  0.911581  0.716866  0.000000  0.810928
  0.880000  0.802470  0.058179  0.487903  0.059237  0.038929 0.155223E+08  0.911580  0.710947  0.000000  0.810928
  0.890000  0.806561  0.057076  0.483701  0.059139  0.038492 0.155223E+08  0.911582  0.702660  0.000000  0.810928
  0.900000  0.810530  0.056002  0.479553  0.059028  0.038064 0.155223E+08  0.911579  0.692170  0.000000  0.810928
  0.910000  0.814382  0.054956  0.475459  0.058903  0.037646 0.155223E+08  0.911576  0.679649  0.000000  0.810928
  0.920000  0.818120  0.053936  0.471419  0.058766  0.037237 0.155223E+08  0.911576  0.665265  0.000000  0.810928
  0.930000  0.821750  0.052942  0.467432  0.058618  0.036836 0.155223E+08  0.911577  0.649188  0.000000  0.810928
  0.940000  0.825275  0.051974  0.463498  0.058459  0.036445 0.155223E+08  0.911578  0.631584  0.000000  0.810928
  0.950000  0.828700  0.051030  0.459616  0.058291  0.036061 0.155223E+08  0.911582  0.612614  0.000000  0.810928
  0.960000  0.832027  0.050110  0.455787  0.058114  0.035685 0.155223E+08  0.911579  0.592435  0.000000  0.810928
  0.970000  0.835260  0.049212  0.452009  0.057928  0.035317 0.155223E+08  0.911578  0.571200  0.000000  0.810928
  0.980000  0.838403  0.048338  0.448282  0.057736  0.034957 0.155223E+08  0.911581  0.549055  0.000000  0.810928
  0.990000  0.841459  0.047484  0.444606  0.057536  0.034604 0.155223E+08  0.911579  0.526136  0.000000  0.810928 -1
linout  1
;scheff deltaR. deltaZ, Nr, Nz, Nbunch, Nbetalambda, Remesh
scheff 0.05      0.05   20  40   0        0           3
start 1
stop 144
prtbeam
optcon 1 3
;output 2 1 24 3000 24
output 2 1  1 3000 1
;output 3 1  1 2 3 4
;output 1 1  450
begin
end