DDAS Format
1.1.1
A self-contained, lightweight format library and unpacker for DDAS data
|
Many NSCLDAQ and user applications using DDAS rely on methods which can transform formatted binary event data into something more useful, usually by parsing binary data into some object which provides an interface to access raw values (timestamp, energy, etc.). This process is colloquially referred to as "unpacking" the data and the codes which perform this task are therefore called "unpackers."
This project provides a single DDAS format library and unpacker which can be used in programs which process DDAS data e.g., the NSCLDAQ ddasdumper or SpecTcl. The format library can be used as-is on systems where NSCLDAQ is not installed as it does not depend on any other FRIB software packages.
The format library consists of the following:
The minimum software requirements are listed below. The code has been built and tested extensively on Debian 10 (buster) and Debian 11 (bullseye) systems at FRIB.
This project is built with CMake, which prefers out-of-tree builds. The CMake variable CMAKE_INSTALL_PREFIX
governs where the package is installed. Here is a sample build from the cloned repository:
Running the tests using ctest -VV
will in general give better feedback than make test
about which tests are failing and why. One may prefer to make all install && ctest -VV
. For CMake 3.15+, one can use the install
and prefix
options of the cmake
command: