Author: Pelaia, T.A.
Paper Title Page
WEPC121 XML Constructs for Developing Dynamics Applications or Towards a Universal Representation of Particle Accelerators in XML 2295
  • J.T.M. Chrin, R.A. Krempaska, H. Lutz, G. Prekas
    PSI, Villigen, Switzerland
  • T.A. Pelaia
    ORNL, Oak Ridge, Tennessee, USA
  A recognized practice within the development of high-level beam dynamics applications is to separate data parameters destined for the configuration of the application from the programming language domain. The contemporary approach is to generate input files that provide the configuration parameters in a structured data format specified by the Extensible Markup Language (XML), enhancing flexibility and simplifying code maintenance. Furthermore, a careful choice of syntactic constructs, i.e. structured elements, attributes, etc., that map well to the various accelerator components, provides a basis for portability of applications. This has been exemplified by the XAL software package which initiated an XML description of the Standard Machine Format (SMF) accelerator object model. We have since adopted XML-SMF to provide an XML representation of both the Swiss Light Source (SLS) and the SwissFEL Injector Test Facility. We demonstrate how such XML constructs allow us to deploy the same orbit display application at both facilities. Our experience leads us to advocate a Universal Machine Format (UMF) that encompasses an all-inclusive XML schema for the management of accelerator information.  
poster icon Poster WEPC121 [0.313 MB]