Using a Java Embedded Domain-Specific Language for LHC Test Analysis

The Large Hadron Collider (LHC) at CERN requires thousands of systems to work in close cooperation. All these systems have to be tested during Commissioning and after interventions on them. Starting from the experience of Hardware Commissioning, the execution of such tests were already automated to a high degree. The remaining time in commissioning campaigns is now spent in analyzing test results, which is done manually to a certain extent. To improve this situation, a new project was launched which aims to automate the analysis of such tests as much as possible. For this purpose, a dedicated Java embedded Domain Specific Language (eDSL) was created which allows system experts to describe analysis steps in a simple way. The execution of these checks finally can produce, along with the simple decisions on the success of the tests, plots for the experts to quickly track down the source of problems exposed by the tests. This paper explains the concepts used and the future vision of this first version of the eDSL. Analysis Script