Trigger Emulation & Analysis Tools¶
The trgtools
repository contains a collection of tools and scripts to emulate, test and analyze the performance of trigger and trigger algorithms.
Use pip install -r requirements.txt
to install all the Python packages necessary to run the *_dump.py
scripts and the trgtools.plot
submodule.
process_tpstream
: Example of a simple pipeline to process TPStream files (slice by slice) and apply a trigger activity algorithm.ta_dump.py
: Script that loads HDF5 files containing trigger activities and plots various diagnostic information. Documentation.tc_dump.py
: Script that loads HDF5 files containing trigger primitives and plots various diagnostic information. Documentation.tp_dump.py
: Script that loads HDF5 files containing trigger primitives and plots various diagnostic information. Documentation.- Python
trgtools
module: Reading and plotting module in that specializes in reading TP, TA, and TC fragments for a given HDF5. The submoduletrgtools.plot
has a commonPDFPlotter
that is used in the*_dump.py
scripts. Documentation.
Last git commit to the markdown source of this page:
Author: aeoranday
Date: Tue Feb 27 17:38:30 2024 +0100
If you see a problem with the documentation on this page, please file an Issue at https://github.com/DUNE-DAQ/trgtools/issues