Skip to content

AthenaMonitoringKernel: Refactor TProfile filling

Frank Winklmeier requested to merge fwinkl/athena:mon_tprofile into master

The dedicated code to fill TProfile histograms was entirely redundant. Make the existing TH2 filler templated on the histogram type such that it can be used for both TH2 and TProfile. Apart from removing code duplication, TProfile can now also be filled via alphanumeric values just like any other histogram.

Also in this MR:

  • make the fill method const
  • add a unit test for TProfile filling

Tested and validated with Run3DQTestingDriver.py. cc @tbold @ponyisi @cburton

Merge request reports