Skip to content

IDTPM: Automatic definition of resolution plots from their helpers

Marco Aparo requested to merge maparo/athena:maparo-main-IDTPM-v2.0.7 into main
  • Small python config addition to force xAxis binning of resolution and bias (pullmean and pullwidth) plots to be the same as the corresponding resHelper (pullHelper) TH2Fs, which is strictly required to avoid errors. This MR completely removes the possibility of this user error occurring
  • In case resolution and bias (pullmean and pullwidth) plots are defined in the json file, only their xAxis is overwritten. Otherwise, these plots definitions are automatically created at configuration. This dramatically reduces the size of the resolution plots definition json file (i.e. the minimal implementation includes only the TH2F helpers), which makes it much more maintainable and easier to debug.
  • These changes are completely backward-compatible

FYI @tstreble, @piazza

Merge request reports