This project implements processing of neutron detector event data into neutron events. Pipelines for processing of raw data from Gd-GEM, Muli-Grid, Multi-Blade, SoNDe as well as a few other detectors have been implemented. Mostly implemented in C/C++.
For more details on the file structure, architecture, primitives see documentation/README.md
This project includes an automated changelog generator that creates formatted release notes from git commits. The tool uses uv for dependency management and requires no manual setup. See utils/changelog/README.md for details.
Quick usage from project root:
# Generate changelog since last tag (recommended)
./generate-changelog.sh --from-commit v1.0.0
# Or run directly with uv
uv run utils/changelog/generate_changelog.py --from-commit abc1234 --times
# Script can also be run directly (with executable permissions)
utils/changelog/generate_changelog.py --from-commit abc1234The essdaq repository has scripts for automatically downloading and compiling this project. Instructions for manually compiling the event formation unit software follow.
To build and run this software the following dependencies are required.
- Conan The conan script has to be available in the current
$PATH. Use the latest version smaller than 2. - CMake At least CMake version 2.8.12 is required. Some packages that requires more recent versions of CMake will download this as a dependency.
- bash For properly setting paths to the conan provided dependencies.
- A recent C/C++ compiler with support for C++14.
Note also that for additional functionality, you might want to install the following dependencies manually:
- libpcap —Network monitoring
- Valgrind — Memory usage (and other) tests
- gcovr, lcov, and gcov — Generate coverage reports
python3 -m venv venv
source venv/bin/activatepip install "conan<2"conan --versionThis includes supported Conan profiles and access to the ECDC internal package repository:
conan config install http://github.com/ess-dmsc/conan-configuration.gitmkdir build && cd buildThe ECDC Conan configuration includes a predefined profile: linux_x86_64_gcc11.
This profile is well-tested and has many prebuilt binaries available in our remote repository.
It's also the one we use in automated ci builds for this project.
If you're working on a different architecture (e.g. Apple Silicon) or using a different compiler (e.g. GCC 13), note that no predefined profiles exist in our config for those setups.
In such cases, you'll need to use Conan's locally generated default profile.
Verify your default profile exists:
conan profile show defaultTo install dependencies using your local profile:
conan install .. --build=missingTo use the ECDC-supported Linux x86 GCC 11 profile instead, add:
--profile=linux_x86_64_gcc11cmake .. -DCMAKE_BUILD_TYPE=Releasemake -j$(nproc)mkdir build && cd buildconan install .. --build=missing -s build_type=Debugcmake -DCOV=ON -DCMAKE_BUILD_TYPE=Debug -DGOOGLE_BENCHMARK=ON ..make runtestmake coverage_allView the report:
open coverage/coverage.htmlmake valgrindDoxygen documentation for the EFU C++ classes can be build by running
make doxygenAfter the documentation has been build, the doxygen documentation tree can be accesed in the cmake build directory, by opening the file doxygen/html/index.html.
An example of the commands required to run an event formation pipeline (in this case the freia pipeline) follows:
make efu freia
cd bin
./efu -d ../modules/freia --nohwcheckNote you will need to provide a config file in the case of the freia module as well.
To get the available command line arguments, use -h or --help. This works when providing a detector module argument as well. For example:
./efu -d ../modules/freia -hPlease read the CONTRIBUTING.md file for details on our code of conduct and the process for submitting pull requests to us.
- Morten Jagd Christensen
- Martin Shetty
- Jonas Nilsson
- Jenny Walker
See also the list of contributors on Github.
This project is licensed under the BSD-2 License see the LICENSE file for details.