Author: Krempaska, R.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 rec­og­nized prac­tice with­in the de­vel­op­ment of high-lev­el beam dy­nam­ics ap­pli­ca­tions is to sep­a­rate data pa­ram­e­ters des­tined for the con­fig­u­ra­tion of the ap­pli­ca­tion from the pro­gram­ming lan­guage do­main. The con­tem­po­rary ap­proach is to gen­er­ate input files that pro­vide the con­fig­u­ra­tion pa­ram­e­ters in a struc­tured data for­mat spec­i­fied by the Ex­ten­si­ble Markup Lan­guage (XML), en­hanc­ing flex­i­bil­i­ty and sim­pli­fy­ing code main­te­nance. Fur­ther­more, a care­ful choice of syn­tac­tic con­structs, i.e. struc­tured el­e­ments, at­tributes, etc., that map well to the var­i­ous ac­cel­er­a­tor com­po­nents, pro­vides a basis for porta­bil­i­ty of ap­pli­ca­tions. This has been ex­em­pli­fied by the XAL soft­ware pack­age which ini­ti­at­ed an XML de­scrip­tion of the Stan­dard Ma­chine For­mat (SMF) ac­cel­er­a­tor ob­ject model. We have since adopt­ed XML-SMF to pro­vide an XML rep­re­sen­ta­tion of both the Swiss Light Source (SLS) and the Swiss­FEL In­jec­tor Test Fa­cil­i­ty. We demon­strate how such XML con­structs allow us to de­ploy the same orbit dis­play ap­pli­ca­tion at both fa­cil­i­ties. Our ex­pe­ri­ence leads us to ad­vo­cate a Uni­ver­sal Ma­chine For­mat (UMF) that en­com­pass­es an all-in­clu­sive XML schema for the man­age­ment of ac­cel­er­a­tor in­for­ma­tion.  
poster icon Poster WEPC121 [0.313 MB]