Saving counters result as monitoring histogram
Compare changes
Files
2- Valerii Kholoimov authored
@@ -35,7 +35,7 @@ namespace calo_filter_clusters {
Save all counter values with monitoring histograms. This will allow you to easily reach counter values in Monet.
Automatically register unsigned counters and averaging counters via the monitoring hub.
Example of counters output for MC.
For AveragingCounter saving two values in separate bins to histogram: sum of all entries and number of entries.
Some values from histogram compared to counter values from logs:
scifi_consolidate_seeds_matching INFO Number of counters : 1
| Counter | # | sum | mean/eff^* | rms/err^* | min | max |
| "n_seed_tracks" | 1000 | 79787 | 79.787 |
Values stored in float inside Allen and while passing to Gaudi to avoid integer overfilling.
To ensure accurate final value calculations when merging histograms from different machines, the average value is not stored directly for averaging counters.
In additional:
throughput test via testbench:
master: 2025-01-16T09:49:45.012 root INFO Average total throughput: Evts/s = 75294.7
MR: 2025-01-16T09:16:10.010 root INFO Average total throughput: Evts/s = 75294.1
FYI: @adeoyang @jzhuo @dovombru @ahennequ
MONET related MR: https://gitlab.cern.ch/lhcb/Monet/-/merge_requests/108