|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
This repository contains scripts for generating and manipulating OKS database files.
daqconf_inspectorCommandline utility to visually inspect and verify configurations databases and the objects they contain. Documenation available here.
create_config_plotCommandline utility to generate a graphical flow diagram of a full configuration session or one of its applications or segments. Documentation available here.
oks_enableAdd Resource objects to or remove from the disabled relationship of a Session
consolidateMerge the contents of several database files, putting all objects into a single output file. The output file's include list will contain the schema files included by the source databases (or their includes), but will not contain any object databases (the schema themselves).
consolidate_filesMerge the contents of several database files, preserving included databases. Output file will contain only objects defined in files given on command line. The output files' include list will contain the schema files included by the source databases (or their includes), but will not contain any object databases (the schema themselves).
copy_configurationCopy the input file(s) to the specified directory, also moving any included files and updating include paths, to create a clone of the configuration databases.
get_appsRetrieve the DAQ applications defined in the given configuration
oks-formatEnsure that database files are in the "DBE format", alphabetized and with correct spacing
oks_enable_tpgEnable or disable TPG for a Session's ReadoutApplications
validateAttempt to determine if a given Session configuration is valid and does not contain common errors
Attempt to replicate OKS' Data Base editor within Python. Full details are here. Current implementation is very incomplete so use with caution.
createOKSdbA script that generates an 'empty' OKS database, just containging the include files for the core schema and any other schema/data files you specify on the commad line.
dromap2oksConvert a JSON readout map file from dunedaq v4 to an OKS file.
generate_readoutOKSCreate an OKS configuration file defining ReadoutApplications for all readout groups defined in a readout map.
assets.pyRead the DUNE-DAQ asset file database and return a path to a referenced asset file
generate.pyA collection of methods to generate segments and sessions.
generate_hwmap.pyCreate a set of DetectorToDaqConnection objects, GeoIDs, and streams for the given number of links and applications.
utils.pyUtilities for parsing OKS databases. Currently contains an include file search routine.