Offline software - Introduction L.Gatignon EN-EA-LE/SBA retreat, 26 April 2017
The Stone Age of Computing (1) L.Gatignon, LE-SBA Retreat, 25-04-2017 Offline Software
The Stone Age of Computing (2) L.Gatignon, LE-SBA Retreat, 25-04-2017 Offline Software
The Stone Age of Computing (3) L.Gatignon, LE-SBA Retreat, 25-04-2017 Offline Software
Traditional main software in the group Program Pro’s Cons Beatch Simple Legacy data files Barely accepted by AN-ACE-SU No transverse information No default integration with optics or tracking software Transport Based on transfer matrix Simple to use Well tested Fit routine not the best No graphical output (by default) Decoupled from Beatch Turtle-STD Easy link to Transport No particle production at all Only RMS addition, no Xo’s Barely used Turtle-EBS Can implement nr Xo CERN-only Particle production unreliable Only circular angle input HALO Rather precise field maps Well tested and validated Good performance Fast Horrible input format Horrible output format Not very flexible Only muons, no h±, n, e, g,,.. L.Gatignon, LE-SBA Retreat, 25-04-2017 Offline Software
Main auxiliary tools Program Pro’s Cons beamplt Quick, almost automatic Reads only transout file Not to scale beamopt1,2 Nice, to scale drawings Time consuming Need to adapt Beatch currents All magnets of a beam file Random polarities Only for NA beams beamfiles Output easy to export to Word, Excel, etc Only for East Area beams Need hand-made input file bli Relatively convenient Rather precise Only NA magnet parameterisation blips Strange parameterisation Mostly for PS magnets BL to I not always converging turt2hbook halo2hbook Good for PAW plots Cut-off in scatter plots No selection of plots L.Gatignon, LE-SBA Retreat, 25-04-2017 Offline Software
Small utilities Command Function cuttr Print only (last) Transport table coptodbea Copy from primary directory to ~eagroup/database Update/create web pages with beatch file links copfrdbea Copy from ~eagroup/database to private subdirectories nrec Count number of lines in a file partprod Particle production calculator (applet) partratio Table of partprod output for list of momenta psprint Print ps files from beamplt or beamopt shuffle Invert lines of a file (e.g transin file) lxprintf Print input files lxprintl Print output files decently L.Gatignon, LE-SBA Retreat, 25-04-2017 Offline Software
General remarks All based on old Fortran No guaranteed long-term support Knowledge slowly disappearing (both Fortran and software) Not a modern look-and-feel But… Many years of experience and validation Often much faster than modern software Sometimes debugging is difficult (crashes, logfiles, lack of detailed tracing, etc) L.Gatignon, LE-SBA Retreat, 25-04-2017 Offline Software
How to proceed? New software (lots of work) Wrappers around e.g. MADX for R-matrix approach Any tool with GIUs & fits ‘à la Marcel’ Combination / integration with layout database, naming convention, etc Who does what L.Gatignon, LE-SBA Retreat, 25-04-2017 Offline Software
Other programs for beam calculations PATH (but based on Turtle) MADX PLACET G4-Beamline BDSIM FLUKA … L.Gatignon, LE-SBA Retreat, 25-04-2017 Offline Software