ctbmodules - DUNE DAQ module to control and read out the CTB hardware¶
Ported from original implementation in redmine:
Instructions to update the configuration and run with dunedaq v5 line¶
Area setup¶
First of all you need a v5 area. To do this follow the instructions in the daqconf wiki, for example fddaq-v5.3.2.
Locally, in the top area, you also need the base configuration repository.
Please note that the repo on gitlab are only accessible via ssh key, so please register one in the CERN gitlab.
I recommend you also set in your area a .netrc file as in the np04daq home, remember to change login to your CERN username.
After that you can simply
git clone ssh://git@gitlab.cern.ch:7999/dune-daq/online/ehn1-daqconfigs.git
cpm-setup -b fddaq-v5.3.2 ehn1-daqconfigs
cpm-* commands can be found in the runconftools documentation.
The second only works if you have setup the .netrc file correctly.
To conclude, just
source ehn1-daqconfigs/setup_db_path.sh
Update the CTB configuration¶
The ehn1-daqconfigs contains already a valid configuration for the CTB. Due to the implementation of HLTs and LLTs as confmodel::resource, it's best if any branch of ehn1-daqconfigs contains only one version of each. So, as CTB experts the only thing you should do is to update the value of the objects already created in ehn1-daqconfigs.
In order to do so, there is a script called update_ctb_settings.
Typical usage is:
update_ctb_settings ehn1-daqconfigs/sessions/np02-session.data.xml <your_json_file>
Once you are happy with the changes, you can commit and push the changes on a branch on ehn1-daqconfigs and open a Merge request toward the dedicate branch.
Run the CTB configuration¶
in order to run, start using the shifter interface in local mode:
runconf-shifter-ui -l -d ehn1-daqconfigs
create.
The output of the shifter interface will tell you how to run.
Last git commit to the markdown source of this page:
Author: Marco Roda
Date: Wed Jun 18 11:19:38 2025 +0200
If you see a problem with the documentation on this page, please file an Issue at https://github.com/DUNE-DAQ/ctbmodules/issues