Skip to content

DUNE-DAQ/detdataformats

Repository files navigation

DUNE Detectors Data Formats

This package contains general-purpose bitfields of detector raw data and utilities used to decode them. For related code which treats specific parts of the DAQ, there are the following packages: fddetdataformats for the far detector, nddetdataformats for the near detector, and trgdataformats for the trigger. In general, each kind of detector data can be conveniently decoded via a class with the name of the form <datatype>Frame found in a public header file called <datatype>Frame.hpp, where values like timestamps and ADC values can be easily retrieved via getter functions. Additionally, for some kinds of data, Python bindings are available.

In this package you can find:

  • DetID: DetID is basically an enhanced enum used to describe which of the various subdetectors in the DUNE DAQ are the source of data
  • DAQHeader: DAQHeader is a struct which provides a common header for every FrontEnd electronics board
  • DAQEthHeader: DAQEthHeader is a struct which provides a common header for every FrontEnd electronics board sending data over ethernet
  • HSIFrame: HSIFrame describes the bitfield of data from the Hardware Signals Interface