The complexity and extreme parameters of the LHC, such as the stored energy, the collision frequency, the high risk of adverse background conditions and potentially damaging beam losses have demanded an unprecedented connectivity between the operation of the accelerator and the experiments at both hardware and software level.
LHCb has been at the forefront of developing a software framework and hardware which connects to all of the LHC communication interfaces for timing, control and monitoring of the machine and beam parameters, in addition to its own local systems for beam and background monitoring. The framework also includes failsafe connectivity with the beam interlock system.
The framework drives the global operation of the detector and is integrated into the readout control. It provides the shifters with the tools needed to take fast and well-guided decisions to run the LHCb experiment safely and efficiently. In particular, it has allowed the detector to be operated with only two shifters already at the LHC pilot run. The requirements include reliability and clarity for the shifters, and the possibility to retrieve the past conditions for offline analysis. All essential parameters are archived and an interactive analysis tool has been developed which provides overviews of the experimental performance and which allows post-analysis of any anomaly in the operation.
This paper describes the architecture and the many functions, including the basis of the automation of the LHCb operational procedure and detector controls, and the information exchange between LHCb and the LHC, and finally the shifter and expert tools for monitoring the experimental conditions.