Sustainability of the Merlin++ particle tracking code

Scott Rowan, Sam Tygier, Yuanfang Cai, Colin C. Venters, Robert B. Appleby, Roger J. Barlow

Research output: Contribution to journalArticle

109 Downloads (Pure)


Merlin++ is a C++ particle accelerator and particle tracking library originally developed at DESY for use in International Linear Collider (ILC) simulations. Merlin++ has more recently been adapted for High-Luminosity Large Hadron Collider (HL-LHC) collimation studies, utilizing advanced scattering physics. However, as is all too common in long-standing high-energy physics software, recent developments have focused on functional additions rather than code design and maintainability. This has resulted in usability issues for users and developers alike. The following presents recent improvements in adhering to modern software sustainability practices to address these issues. Quantifiable improvements in code complexity and maintainability are presented via appropriate test metrics and the evolution of the software architecture is analyzed. Experiences and conclusions of applying modern sustainability methodology to longstanding scientific software are discussed.
Original languageEnglish
Article number05028
JournalEPJ Web of Conferences
Publication statusPublished - 17 Sept 2019


  • particle accelerators
  • simulation
  • software sustainability
  • scientific software


Dive into the research topics of 'Sustainability of the Merlin++ particle tracking code'. Together they form a unique fingerprint.

Cite this