Click here to load reader
View
1
Download
0
Embed Size (px)
AIDA-2020-D5.5
AIDA-2020 Advanced European Infrastructures for Detectors at Accelerators
Deliverable Report
Online data model available
Irles, A. (CNRS-LAL, DESY) et al
30 November 2017
The AIDA-2020 Advanced European Infrastructures for Detectors at Accelerators project has received funding from the European Union’s Horizon 2020 Research and Innovation
programme under Grant Agreement no. 654168.
This work is part of AIDA-2020 Work Package 5: Data acquisition system for beam tests.
The electronic version of this AIDA-2020 Publication is available via the AIDA-2020 web site or on the CERN Document Server at the following URL:
Copyright c© CERN for the benefit of the AIDA-2020 Consortium
http://aida2020.web.cern.ch http://cds.cern.ch/search?p=AIDA-2020-D5.5
AIDA-2020 Consortium, 2017
Grant Agreement 654168 PUBLIC 1 / 9
Grant Agreement No: 654168
AIDA-2020 Advanced European Infrastructures for Detectors at Accelerators
Hor izon 2020 Research In f rast ructures pro ject AIDA -2020
DELIVERABLE REPORT
ONLINE DATA MODEL AVAILABLE
DELIVERABLE: D5.5
Document identifier: AIDA-2020-D5.5
Due date of milestone: End of Month 30 (October 2017)
Report release date: 30/11/2017
Work package: WP5: Data acquisition system for beam tests
Lead beneficiary: DESY
Document status: Final
Abstract:
This document summarizes the event model definition and a test thereof for common data acquisition
(DAQ) and data quality monitoring (DQM).
ONLINE DATA MODEL AVAILABLE Deliverable: D5.5
Date: 30/11/2017
Grant Agreement 654168 PUBLIC 2 / 9
AIDA-2020 Consortium, 2017
For more information on AIDA-2020, its partners and contributors please see www.cern.ch/AIDA2020
The Advanced European Infrastructures for Detectors at Accelerators (AIDA-2020) project has received funding from the
European Union’s Horizon 2020 Research and Innovation programme under Grant Agreement no. 654168. AIDA-2020
began in May 2015 and will run for 4 years.
Delivery Slip
Name Partner Date
Authored by A. Irles
R. Ete
LAL/DESY
DESY 13/11/2017
Edited by L. Lapadatescu CERN 13/11/2017
Reviewed by M. Wing [WP5 coordinator]
F. Sefkow [Scientific coordinator]
UCL
DESY 24/11/2017
Approved by F. Sefkow [Scientific coordinator]
Steering Committee
30/11/2017
http://aida2020.web.cern.ch/
ONLINE DATA MODEL AVAILABLE Deliverable: D5.5
Date: 30/11/2017
Grant Agreement 654168 PUBLIC 3 / 9
TABLE OF CONTENTS
1. Introduction ...................................................................................................................................... 4
2. Online EUDAQ event model ........................................................................................................... 4
3. Event model for online data quality monitoring .............................................................................. 5
4. Event model for common beam tests ............................................................................................... 6
5. Proof of concept ............................................................................................................................... 7
6. References ........................................................................................................................................ 8
Annex: Glossary ................................................................................................................................... 9
ONLINE DATA MODEL AVAILABLE Deliverable: D5.5
Date: 30/11/2017
Grant Agreement 654168 PUBLIC 4 / 9
Executive summary
In this document, we report on the online model definition succesfully tested in a set of combined
beam tests of a beam telescope and the analogue hadronic calorimeter technological prototype for
the linear collider.
Sections 2 and 3 are dedicated to the event model implementation for the online event synchronization
using EUDAQ 2 software and for quality monitoring using the DQM4HEP online monitor framework.
In Section 4 we present an event model general case implementation of common test beam within
AIDA2020 WP5 standards.
Finally, in Section 5, we refer to the success of the event model for common beam tests in a real case
example: the combined beam test of the beam telescope and the analogue hadronic calorimeter at the
DESY beam line.
1. INTRODUCTION
This deliverable document is largely based in the AIDA2020-MS47 document [1] where we report
on the online model definition, development and test in a set of combined beam tests of a beam
telescope and the analogue hadronic calorimeter technological prototype for the linear collider. In the
milestone document, we discussed the work of WP5 task 5.5 in the pursuit of the definition of the
event model. The first part of the document was dedicated to a summary report of the status of
EUDAQ 2 [2] which is the data acquisition framework used and developed by WP5 and for combined
beam tests of linear collider detectors. We referred to online documentation and other WP5 milestones
reports. The second part, and the core of the document, was dedicated to the event model definition
inside EUDAQ 2, its most important features and its implementation for the online data quality
monitoring and the fostered synergies with the DQM4HEP online monitor framework. Finally, we
presented and discussed the proof of concept case: the combined beam test of the beam telescope and
the analogue hadronic calorimeter at the DESY beam line.
In this deliverable document, we will basically highlight the main ideas and facts described in the
AIDA2020-MS47.
2. ONLINE EUDAQ EVENT MODEL
The event model is based in the eudaq::Event class: the most important data container in the EUDAQ
system (we refer to the AIDA-2020-MS47 document and to the EUDAQ manual for more detailed
information). Data acquired by the devices are saved as an eudaq::Event in the Producer (detector
specific software modules for hardware control and data acquisition) with an associated m_type, see
Table 1, used afterwards in the DataCollector as identifier for data conversion if needed and a variable
that allows identification of the acquisition time to which it belongs, making possible the merging in
the DataCollector with other events collected by other Producers. These identifiers can be a trigger
ID provided by an external device, an internal or external timestamp, an internal event number counter
or any combination of them. It is at this level, DataCollector (generic EUDAQ 2 module where the
data from different Producers is merged) level, where the real events containing information of all (or
a few) of the devices in the beam test are built.
ONLINE DATA MODEL AVAILABLE Deliverable: D5.5
Date: 30/11/2017
Grant Agreement 654168 PUBLIC 5 / 9
In addition, the eudaq:Event m_blocks variable allows the data to be stored in any kind of format.
Here is where the different Producers should keep the full event information (collected charge for all
channels, digital signals, etc.) and does not need to be, in principle, decoded in any way to be sent to
the DataCollector as long as this information is not needed for the basic event building.
Table 1: All member variables in eudaq::Event
eudaq::LCEvent
This is an EUDAQ wrapper for the LCIO [3] container. This is a derived class from eudaq::Event
which facilitates the online conversion to LCIO during the event merging at the DataCollector level.
Although this and eudaq::Event have been developed in the context of Linear Collider and telescope
experiments (which use LCIO objects for event definition), this object is general enough to be used
for all kind of detectors as long as they want to use LCIO format for their analysis/monitoring
offline/online tools.
3. EVENT MODEL FOR ONLINE DATA QUALITY MONITORING
During discussions with several groups about the online data quality monitoring approach for
common beam tests, WP5 has established a strong collaboration with DQM4HEP [4] developers. It
is designed for use as a generic online monitor for particle physics experiments, ranging from small
table-top experiments to large multi-detector test-beams set-ups, such as those currently
ongoing/planned at the DESY2 or CERN SPS beamlines. It has been used successfully by several
groups and detectors: i.e. telescopes and CALICE AHCAL and SDHCAL.
The software provides, among others features, a DAQ system entry point to feed the system with raw
data, a raw data distributed system using the server/client paradigm and a histogram distributed
system and visualization interfaces.
It is designed to accept any C++ serialized object as a raw event but AIDA-2020 WP5 advises to use
LCIO objects, since
- they are flexible and we also benefit from t