Skip to content

chainDump.py: add option to write a condensed counts yaml file

Rafal Bielski requested to merge rbielski/athena:refcomp-chaindump into master

In an attempt to simplify trigger counts reference comparison (ATR-21386):

  1. Make chainDump produce also step counts in addition to event counts and step feature counts.
  2. Add chainDump option to create a simplified and condensed counts file in yaml format.

To be done in next MR: Replace the current reference comparison step with a step using the yaml file.

The comparison will still be a simple text diff, treating the yaml file as a plain text file. Yaml is chosen just because it's human-readable, uses minimal amount of extra characters for formatting (unlike JSON), and there is a python module to dump a dict to yaml without the need to implement our own formatting.

The new file format can be seen here: https://its.cern.ch/jira/secure/attachment/255328/255328_chainDump.v2.yml

Edited by Rafal Bielski

Merge request reports