Initial version of option parsing checks
These changes will allow lbaplocal
to perform the checks regarding option parsing.
After the Gaudi options are dumped and saved to a .pkl
(in lbaplocal
), in gaudi_pickle_to_json.py
expected trees are obtained and saved to an .json
file.
These are DecayTreeTuple
, EventTuple
and MCDecayTreeTuple
.
The function validate_options
in __init__.py
checks if the expected trees from the .json
file are present in the given root file. If not it adds an error to a list, which is currently just printed in lbaplocal
.
Relates to DPA task https://gitlab.cern.ch/lhcb-dpa/project/-/issues/93.