#// Dejan's doublet ERL-FFAG arc cell from slide 3 of Cornell-Doublet-Magnets-Oct16-2014.pptx #// NB: sign of quads needs to be inverted relative to Dejan's presentation #// Angles set proportional to Dipole*Length assuming total cell angle is 2pi/100 {Multipole Length Angle Dipole Quad Fringe=1.5cm AlignMode=Integral} QF 8.94cm -0.024218889 -0.21 -39.1 BD 12.05cm 0.087050742 0.56 25.42 {Drift Length} D1 3cm D2 12.138cm HD2 #D2.Length/2# Cell: QF,D1,BD,D2; CellMidD2: HD2,QF,D1,BD,HD2; {MatchScan Estart Egoal Estep Species} Match 286MeV 76MeV 70MeV Electron MatchMidD2 286MeV 76MeV 70MeV Electron {Match-Aperture} MatchEnd Cell,Match,Cell,MatchEnd,Cell, CellMidD2,MatchMidD2,CellMidD2,MatchEnd,CellMidD2;