Skip to content

Add optional bin labels to Histogram accumulators axes

Marco Clemencic requested to merge add-axis-labels-to-histo-counters into master

With this small change we can define histograms with labels for the bins, like in:

Gaudi::Accumulators::Histogram<1, Gaudi::Accumulators::atomicity::full, int> m_trigger_lines{
  this, "lines", "lines", {5, 0, 5, "line id", {"line 1", "line 2", "line 3", "line 4", "line 5"}}};

To-do:

  • add a test

/cc @alupato

Edited by Marco Clemencic

Merge request reports

Loading