DUNE-DAQ / fdreadoutlibs

fdreadoutlibs
0 stars 3 forks source link

Added TPG RS Factors By Plane #178

Closed aeoranday closed 3 months ago

aeoranday commented 3 months ago

Running sum memory and scale factors are now configurable by plane.

This PR is very similar to #177, but this time affecting the RS memory and scale factors. Testing was done online and verifying that the TPs generated were acceptable to the given configuration. It is difficult to account for the online median estimation, so the quality check was on edge cases of tpg_rs_memory_factor_planeX = 0 and tpg_rs_scale_factor_planeX = 1 or 10. This was done for both StandardRS and AbsRS. Both implementations are consistent with these edge cases, and the expected running values of 0.8, 0.9 for the memory factor and 2 for the scale factor produced results that appeared consistent before the change.

There are linked PRs in daqconf, fddaqconf, readoutlibs, and tpgtools for the updates in configurables and emulation.