DUNE-DAQ / fdreadoutlibs

fdreadoutlibs
0 stars 3 forks source link

TPG accumulator initialization fix #183

Closed hristovaivana closed 2 months ago

hristovaivana commented 2 months ago

This branch is based on Alex's branch requested here https://github.com/DUNE-DAQ/fdreadoutlibs/pull/182

At TPG algorithm initialization, the pedestal value is set to the first ADC value in the WIB frame. In this branch, we also set the accumulator value to 0. This helps to compare offline emulation with the data collected online.

The branch has been tested at NP04 HD test and overnight runs.