DUNE / dunedataprep

Apache License 2.0
0 stars 7 forks source link

Move AdcChannelMetric channel status retrieval out of ctor #19

Closed dladams closed 1 year ago

dladams commented 1 year ago

ADcChannelStatus has a method initialize that fetches the status for each channel. It is being called from the ctor but needs to be called later and each event if we are going to move to context-dependent status values. See duneprototypoes issue 20.

dladams commented 1 year ago

Fcl option PlotUsesStatus is int but was used as bool to indicate whether or not plots should include channels status info. This has been enhanced so nonzero value indicate the caching:

I tested and verified this work. See https://github.com/DUNE/duneprototypes/issues/20.