Abstract
In view of experience with the language decoder and memory manager, large parts of MAD have been rewritten recently. The dynamic memory manager is replaced by the CERN-written ZEBRA package which has been used successfully in more than 100 other programs for HEP data analysis. A new dynamic table handler keeps large tables in memory as long as they fit; it dumps them on disk or to the Cray SSD (solid-state storage device) if necessary. Tables are accessed by simple subroutine calls in a manner transparent to the user. The input language has been extended to use a more object-oriented approach. Accelerator elements are described in terms of classes of objects, providing easy selection of single elements in a large machine. A powerful mechanism has been implemented for writing tables of selected optical functions and/or element parameters in selected positions of the machine. These tables are generated and written under control of the table handler, and can be read directly by the LEP control system. MAD contains a plot module with various options to plot data from internal tables. The tables can also be fed into a stand-alone plot program. At present the following program modulus are complete: Command Decoder; Optical Functions Calculation; Closed-Orbit Correction; Harmon (chromaticity calculation); Plotting. It is foreseen that by the end of 1989 the following other modules will be ready: Matching, including some new features; Lie Algebraic Analysis: Tracking by TRANSPORT and Lie Algebraic Methods; Electron Beam Parameters; Polarization.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
More From: Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.