Skip to content

Initial JSON Menu Configuration of Cost Monitoring

This MR is working towards the menu configuration of cost monitoring.

  • A naming update bug-fix was applied to the JSON export, this populates the Sequence data once more.

  • While the Chains are now a list. The Sequence data is kept as a dict. Before this dict was being put in a single-entry list for no good reason, this is now removed. Ping @stelzer & @mark

  • The sequence data are extracted by CostMon directly from the ptree, so we only call const ptree& menuData = hltMenuHandle->data(); on the menu handle, then explore the tree by hand.

By exploring the tree, we encounter all of the strings that we will encounter online. And this lets us build up our offline reverse hash-to-string dictionary which is then used to interpret the hash values which are stored in the CostMon BS.

Tested on some P1 data from ATR-20808. Some hash values are still missing, but I will follow these up with more offline investigation.

Merge request reports