{Low-energy ring optimisation for VL's energies
'c' is 'b' with TOF contraint relaxed from 50 to 55ppm and TuneMax increased from 0.4 to 0.425}

#QLF=1.1;
#BLD=0.9;

#RADQF=293.945;
#RADBD=298.569;

{Parameter Value}
QX [-2cm,2cm]

{Multipole Length Angle Quad Xhere Fringe AlignMode}
QF1 #QLF# #QLF/RADQF# [-15,15] #-QX# 3cm Integral
BD1 #BLD# #BLD/RADBD# [-15,15] #QX# 3cm Integral

{Drift Length Angle}
D 0.290943623
HD #D.Length/2#

ArcCell1: HD,BD1,D,QF1,HD;

{MatchScan Estart Egoal Estep Species TuneMin TuneMax TOFRangeRel FOM SR_TopEnergy SR_Current SR_Length}
MatchLER 6622MeV 1334MeV 1322MeV Electron 0.035 0.425 55e-6 SR 19.842GeV -50mA #6*356.30044#m

{Match-Aperture} 
MatchEnd  

MatchLER,ArcCell1,MatchEnd;