15–19 Sept 2008
Naxos - GREECE
Europe/Athens timezone

Control, test and monitoring software framework for the ATLAS Level-1 Calorimeter Trigger

18 Sept 2008, 16:15
2h
Naxos - GREECE

Naxos - GREECE

Speaker

Dr Murrough Landon (Queen Mary, University of London)

Description

The ATLAS first-level calorimeter trigger is a hardware-based system designed to identify high-pT jets, electron/photon and tau candidates and to measure total and missing ET in the ATLAS calorimeters. The complete trigger system consists of over 300 custom designed VME modules of varying complexity. These modules are based around FPGAs or ASICs with many configurable parameters, both to initialize the system with correct calibrations and timings and to allow flexibility in the trigger algorithms. The control, testing and monitoring of these modules requires a comprehensive, but well-designed and modular, software framework, which we will describe in this paper.

Summary

The ATLAS first-level calorimeter trigger (L1Calo) is a hardware-based system with a high degree of adaptability provided by widespread use of FPGAs. The real-time path of the trigger is subdivided into a Preprocessor which takes analogue signals from the calorimeters and digitizes them, followed by two digital processor systems working in parallel: the Jet/Energy-sum processor and the Cluster Processor. The design necessitates over 300 VME modules of about 10 different types, each of which has a unique register and memory map. The most complex of these modules contains around 2000 individually programmable registers, as well as many kBytes of look-up table memory.

It is clear that the software needed to control a system on this scale needs to be sophisticated enough to manage the different properties of each module, but also modular enough to be maintainable over the long period of commissioning and running of the ATLAS experiment. The L1Calo software is primarily written in C++ with some Java libraries included. Alongside the module control, there is also a safety monitoring system implemented via a Finite State Model operating over CANbus.

There are several distinct areas of software that can be clearly separated, but must have some means of interaction. For example, the configuration parameters must be stored in a common database framework which is independent of the rest of the software, but many of the other software components (e.g. configuration, monitoring) will need access to this information. The software framework must also fit into the existing ATLAS online software environment to be successfully integrated into a standard integrated run. Some of the design choices and implementations used in the L1Calo software framework will be described.

One of the most fundamental areas are the underlying VME access libraries, which were designed so that they could be used in several ways: under the control of run-control to configure modules at run start, using standalone programs or using an interactive GUI for expert intervention at the VME register level. Another large body of the software is dedicated to a detailed simulation of the hardware at the level of data that can be probed at each level of the trigger processing. This is again driven by the database settings to closely model the behaviour of each module. An exact match between the hardware and simulation results provides a rigorous test of the correct performance of the hardware.

There are several different libraries dedicated to calibration, both of signal timing and of energy of input signals. These are based around a common calibration strategy which extends the run concept to encompass multi-step runs, where parameters are adjusted between each run. Finally, and most recently, a set of libraries dedicated to monitoring and event-by-event analysis has been developed. These will be used to ensure that the trigger is operating correctly during normal data taking, immediately flagging up errors, inconsistencies or merely unusual features to the shift crew.

All of these areas of software will be described, with an overview of how they fit together in the L1Calo software architecture.

Primary authors

Mr Adam Davis (STFC, Rutherford Appleton Laboratory) Dr Alan Watson (University of Birmingham) Dr Alvin Tan (University of Birmingham) Ms Andrea Neusiedl (University of Mainz) Mr Attila Hidvegi (Stockholm University) Prof. Barbro Asman (Stockholm University) Ms Birgit Oltmann (University of Mainz) Dr Bruce Barnett (STFC, Rutherford Appleton Laboratory) Mr Bruno Bauss (University of Mainz) Prof. Christian Bohm (Stockholm University) Mr Christian Goringer (University of Mainz) Mr Christian Ohm (Stockholm University) Mr Christopher Curtis (University of Birmingham) Dr Damien Prieur (STFC, Rutherford Appleton Laboratory) Prof. David Charlton (University of Birmingham) Mr David Hadley (University of Birmingham) Dr David Sankey (STFC, Rutherford Appleton Laboratory) Prof. Eike-Erik Kluge (University of Heidelberg) Prof. Eric Eisenhandler (Queen Mary, University of London) Mr Felix Muller (University of Heidelberg) Dr Florian Fohlisch (University of Heidelberg) Mr Frederik Ruhr (University of Heidelberg) Dr Gilles Mahout (University of Birmingham) Prof. Hans-Christian Schultz-Coulon (University of Heidelberg) Dr Ian Brawn (STFC, Rutherford Appleton Laboratory) Ms Johanna Fleckner (University of Mainz) Dr John Morris (Queen Mary, University of London) Mr Jorgen Sjolin (Stockholm University) Mr Joseph Lilley (University of Birmingham) Dr Juergen Thomas (University of Birmingham) Dr Juraj Bracinik (University of Birmingham) Dr Kambiz Mahboubi (University of Heidelberg) Prof. Karlheinz Meier (University of Heidelberg) Dr Klaus Schmitt (University of Heidelberg) Ms Marianne Johansen (Stockholm University) Dr Marius Groll (University of Mainz) Mr Mark Stockton (University of Birmingham) Mr Markus Bendel (University of Mainz) Mr Martin Gallacher (University of Birmingham) Dr Martin Wessels (University of Heidelberg) Mr Martin Wildt (University of Mainz) Dr Mohammed Aharrouche (University of Mainz) Dr Murrough Landon (Queen Mary, University of London) Mr Neil Collins (University of Birmingham) Dr Norman Gee (STFC, Rutherford Appleton Laboratory) Mr Paolo Adragna (Queen Mary, University of London) Dr Paul Hanke (University of Heidelberg) Dr Paul Thompson (University of Birmingham) Mr Pavel Weber (University of Heidelberg) Dr Peter Faulkner (University of Birmingham) Prof. Peter Watkins (University of Birmingham) Dr Rainer Stamen (University of Heidelberg) Dr Ralf Achenbach (University of Heidelberg) Mr Richard Booth (University of Birmingham) Dr Richard Staley (University of Birmingham) Dr Robin Middleton (STFC, Rutherford Appleton Laboratory) Dr Sam Silverstein (Stockholm University) Mr Sebastian Eckweiler (University of Mainz) Mr Stefan Rieke (University of Mainz) Prof. Stefan Tapprogge (University of Mainz) Dr Sten Hellman (Stockholm University) Dr Stephen Hillier (University of Birmingham) Dr Taylor Childers (University of Heidelberg) Dr Thorsten Kuhl (University of Mainz) Dr Tony Gillman (STFC, Rutherford Appleton Laboratory) Dr Torbjorn Moa (Stockholm University) Dr Ulrich Schafer (University of Mainz) Mr Victor Andrei (University of Heidelberg) Dr Victor Lendermann (University of Heidelberg) Dr Viraj Perera (STFC, Rutherford Appleton Laboratory) Dr Weiming Qian (STFC, Rutherford Appleton Laboratory)

Presentation materials