DUNE-DAQ / fdreadoutlibs

fdreadoutlibs
0 stars 3 forks source link

Added a condition that the previous timestamp is non-zero before checking whether there are missing frames #230

Closed bieryAtFnal closed 4 weeks ago

bieryAtFnal commented 1 month ago

...in the WIBEthFrameProcessor::timestamp_check() method.

We believe that the existing logic was inappropriately labeling the initial data at the start of each run as having MISSING_FRAMES. This had the side effect of causing the BinarySearchQueueModel::lower_bound() method to be called instead of the FixedRateQueueModel::lower_bound() method, and that tickle some unexpected behavior in the BSQM.