Closed vicha-w closed 1 year ago
CI also complained that we don't have pyROOT. Can we have pyROOT in MLPlayground? Or at least I will try to make this work with uproot...
I have just written a set of tests on nanoDQMIO file. Since a nanoDQMIO file contains both 1D and 2D, testing for file import completeness and duplicates should be done after 1D and 2D histograms are imported.
With this test, I have made some modifications to from_dqmio methods to make the testing work. I have also added a test nanoDQMIO file provided by Luka here.
Hi,
As discussed in Mattermost, I have added the initial version of DQMIO file support for MLPlayground. I have also added histograms/DQMIOReader.py, which is a direct copy from https://github.com/LukaLambrecht/ML4DQMDC-PixelAE/blob/master/dqmio/src/DQMIOReader.py.
This PR is not yet tested, and I am unsure how to test this, but I have a sample nanoDQMIO file with one lumisection and 19k monitoring elements.
I will discuss with Luka and check if there are any DQMIO files we can read off from EOS. In the meantime, I will also have to write some tests in
histograms/tests.py
as well.As always, please let me know what you think.
Vichayanun