DUNE-DAQ / fdreadoutlibs

fdreadoutlibs
0 stars 3 forks source link

Achieve 1-1 matching of AVX2 and NAIVE TPG #199

Closed hristovaivana closed 1 month ago

hristovaivana commented 2 months ago

The goal of this branch is to apply proper division by 10 in the NAIVE implementation of the TPG algorithms in order to emulate and match the AVX2 behaviour. This is achieved by adding a method naive_avx2_div (by Alex) and calling that in the NAIVE version of the algorithms.

In addition a few other changes have been added.

These changes mostly do not affect the DAQ online running system. The changes have been tested using runs recorded in June with the ProtoDUNE-II HD setup.

hristovaivana commented 1 month ago

Thank you @aeoranday! I've updated the branch and considered your comments. I've tested that with these changes AVX and NAIVE produce the same results.

hristovaivana commented 1 month ago

Many thanks! I will proceed with the merge if that's ok.