Improve checks and add possibility to save histograms in a root file
A function to save histograms in a root file (hist_to_root
) is added in the new module checks_utils
.
In addition, some checks have been improved:
-
range_check_nd
: now also 3D histograms are created and the number of variables in input can be only 2 or 3. -
num_entries_per_invpb
: if the error on the luminosity is 100%, the check is marked as failed with the message: "Luminosity information is not reliable: 100% relative uncertainty".
Tests have been updated accordingly. Related to lhcb-dpa&1 (closed), https://gitlab.cern.ch/lhcb-dpa/project/-/issues/93
cc @djwhite
Edited by Giulia Tuci