Oct 10 – 14, 2016
San Francisco Marriott Marquis
America/Los_Angeles timezone

SWATCH: Common software for controlling and monitoring the upgraded CMS Level-1 trigger

Oct 13, 2016, 3:30 PM
1h 15m
San Francisco Marriott Marquis

San Francisco Marriott Marquis

Poster Track 1: Online Computing Posters B / Break


Christos Lazaridis (University of Wisconsin-Madison (US))


The Large Hadron Collider at CERN restarted in 2015 with a higher
centre-of-mass energy of 13 TeV. The instantaneous luminosity is expected
to increase significantly in the coming
years. An upgraded Level-1 trigger system is being deployed in the CMS
experiment in order to maintain the same efficiencies for searches and
precision measurements as those achieved in
the previous run. This system must be controlled and monitored coherently
through software, with high operational efficiency.

The legacy system is composed of approximately 4000 data processor boards,
of several custom application-specific designs. These boards are organised
into several subsystems; each
subsystem receives data from different detector systems (calorimeters,
barrel/endcap muon detectors), or with differing granularity. These boards
have been controlled and monitored by a
medium-sized distributed system of over 40 computers and 200 processes.
Only a small fraction of the control and monitoring software was common
between the different subsystems; the
configuration data was stored in a database, with a different schema for
each subsystem. This large proportion of subsystem-specific software
resulted in high long-term maintenance
costs, and a high risk of losing critical knowledge through the turnover
of software developers in the Level-1 trigger project.

The upgraded system is composed of a set of general purpose boards, that
follow the MicroTCA specification, and transmit data over optical links,
resulting in a more homogeneous system.
This system will contain the order of 100 boards connected by 3000 optical
links, which must be controlled and monitored coherently. The associated
software is based on generic C++
classes corresponding to the firmware blocks that are shared across
different cards, regardless of the role that the card plays in the system.
A common database schema will also be used
to describe the hardware composition and configuration data. Whilst
providing a generic description of the upgrade hardware, its monitoring
data, and control interface, this software
framework (SWATCH) must also have the flexibility to allow each subsystem
to specify different configuration sequences and monitoring data depending
on its role. By increasing the
proportion of common software, the upgrade system's software will require
less manpower for development and maintenance. By defining a generic
hardware description of significantly
finer granularity, the SWATCH framework will be able to provide a more
uniform graphical interface across the different subsystems compared with
the legacy system, simplifying the
training of the shift crew, on-call experts, and other operation

We present here, the design of the control software for the upgrade
Level-1 Trigger, and experience from using this software to commission the
upgraded system.

Primary Keyword (Mandatory) Trigger
Secondary Keyword (Optional) DAQ
Tertiary Keyword (Optional) Control systems

Primary author

Alessandro Thea (STFC - Rutherford Appleton Lab. (GB))


Carlos Ghabrous Larrea (CERN) Christos Lazaridis (University of Wisconsin-Madison (US)) Giuseppe Codispoti (Universita e INFN, Bologna (IT)) Glenn Ronny L Dirkx (KU Leuven (BE)) Joschka Lingemann (CERN) Karol Bunkowski (University of Warsaw (PL)) Lukasz Kreczko (University of Bristol (GB)) Simone Bologna (Universita & INFN, Milano-Bicocca (IT)) Tom Williams (STFC - Rutherford Appleton Lab. (GB))

Presentation materials