DUNE-DAQ / minidaqapp

0 stars 1 forks source link

Added TPSet writing from the DF App in the mdapp_multiru confgen #75

Closed bieryAtFnal closed 3 years ago

bieryAtFnal commented 3 years ago

This request is for changes to the dataflow_gen.py file that is used in the mdapp_multiru confgen script. These changes add subscriptions to listen to TPSet messages and store them on disk. The disk-writing for the TPSets is not very well understood at this point in time, so this functionality is more of a proof-of-concept. But, it works, and I've verified that the number of TPSet/Fragment headers in the binary file match what the Zipper module in the Trigger App reports.

mroda88 commented 3 years ago

Hi @bieryAtFnal I tried it and it works for me as well. I wonder one thing. For the trigger records we have the possibility to disable the writing. I wonder if we want to do something similar for the TPWriting.

bieryAtFnal commented 3 years ago

I agree, it would be nice to have a way to turn this off. I will look into that.

bieryAtFnal commented 3 years ago

As we discussed earlier today, I have provided a --enable-tpset-writing (default = False) option to mdapp_multiru_gen to allow control of the TPSet writing which is somewhat independent of Software TPG.