File odb_setup.h

FileList > midas_fe > odb_setup.h

Go to the source code of this file

Default MIDAS ODB structure and initialization for Quads frontend. More...

  • #include "midas.h"
  • #include "odbxx.h"
  • #include "registers.h"

Public Attributes

Type Name
midas::odb settings

Public Functions

Type Name
constexpr std::array< T, N > filled_array (const T & value)

Detailed Description

This header defines the structure of the Online Database (ODB) used by the Quads DAQ frontend, including readout configuration and DAQ command parameters.

The file maps the following ODB sections: * /Equipment/Quads/Settings: Contains readout options (e.g., datagen control, dummy mode, ASIC reset, maximum data words, etc.). * /Equipment/Quads/DAQ: Includes DAQ-related commands such as firmware loading.

It uses a midas::odb map for structured and type-safe access to parameters, and provides utility functions like filled_array for initializing default values.

Note:

This file must be included before using any ODB access in the frontend.

Public Attributes Documentation

variable settings

midas::odb settings;

Public Functions Documentation

function filled_array

template<typename T, std::size_t N>
constexpr std::array< T, N > filled_array (
    const T & value
) 


The documentation for this class was generated from the following file midas_fe/odb_setup.h