Initial version of option parsing checks
These changes will allow us to perform the checks regarding option parsing.
After the Gaudi options are dumped and saved to a .pkl
, which is done in L115 of testing.py
. The lbapcommon
file gaudi_pickle_to_json.py
saves the expected trees to an .json
file. These are DecayTreeTuple
, EventTuple
and MCDecayTreeTuple
.
The function validate_options
in is called 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 printed out. A suggestion how to better this error list is welcome.
Relates to DPA task https://gitlab.cern.ch/lhcb-dpa/project/-/issues/93.
Edited by Jordy Butter