Add optional bin labels to Histogram accumulators axes
All threads resolved!
All threads resolved!
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
Activity
changed milestone to %v36r1
added lhcb-gaudi-head label
added 1 commit
- 24192b7d - Add optional bin labels to Histogram accumulators axes
- [2021-07-15 00:06] Validation started with lhcb-gaudi-head#2987
- [2021-07-15 01:28] Validation started with lhcb-run2-gaudi-head#167
- [2021-07-16 00:04] Validation started with lhcb-gaudi-head#2988
- [2021-07-16 00:44] Validation started with lhcb-run2-gaudi-head#168
- [2021-07-17 00:30] Validation started with lhcb-gaudi-head#2989
- [2021-07-17 01:23] Validation started with lhcb-run2-gaudi-head#169
- [2021-07-18 00:03] Validation started with lhcb-gaudi-head#2990
- [2021-07-18 00:10] Validation started with lhcb-run2-gaudi-head#170
- [2021-07-20 00:04] Validation started with lhcb-gaudi-head#2991
- [2021-07-20 00:31] Validation started with lhcb-run2-gaudi-head#171
- [2021-07-21 00:28] Validation started with lhcb-gaudi-head#2992
- [2021-07-21 01:29] Validation started with lhcb-run2-gaudi-head#172
- [2021-07-22 00:15] Validation started with lhcb-gaudi-head#2993
- [2021-07-22 01:08] Validation started with lhcb-run2-gaudi-head#173
- [2021-07-23 00:04] Validation started with lhcb-gaudi-head#2994
- [2021-07-24 00:15] Validation started with lhcb-gaudi-head#2995
- [2021-07-24 01:21] Validation started with lhcb-run2-gaudi-head#174
Edited by Software for LHCbadded 1 commit
- a14656c9 - Add test of axis labels in Gaudi::Accumulators::Histogram
- Resolved by Marco Clemencic
added 5 commits
- 6ae726fd - Take into account grouping of histograms in directories
- db5709d9 - Test histogram writing and grouping for tools too
- 63917b20 - Store tools' histograms in subdirs of the parent
- a3525dd2 - Add optional bin labels to Histogram accumulators axes
- 02169e0a - Add test of axis labels in Gaudi::Accumulators::Histogram
Toggle commit listRebased on !1234 (merged) to avoid conflicts.
mentioned in merge request !1236 (merged)
mentioned in commit b65f1d45
mentioned in merge request lhcb/LHCb!3154 (merged)
Please register or sign in to reply