Skip to content

Convert SIMDRecoStats to use new Gaudi counters

Christopher Rob Jones requested to merge RichRecoStats-ConvertToCounters into master

Converts the monitoring algorithm used by the RICH to use the new Gaudi counters from @sponce instead of my own home grown tallies. Both reduces the amount of boilplate code, but also I hope will help to remove opt versus dbg differences as with this the RICH numbers are compared properly as counters (with a reasonable precision) instead of indirectly via the log file diff.

@cattanem WIP as, obviously, will affect the tests in the nightlies, so please test at your convenience.

Example of the output expected is

RichRecoStatsLong SUCCESS Number of counters : 6
 |    Counter                                      |     #     |    sum     | mean/eff^* | rms/err^*  |     min     |     max     |
 | "# Rich1Gas Photons"                            |       100 |     949847 |     9498.5 |     9902.3 |      0.0000 |      42228. |
 | "# Rich1Gas Segments"                           |       100 |       5387 |     53.870 |     35.848 |      0.0000 |      166.00 |
 | "# Rich2Gas Photons"                            |       100 |     217597 |     2176.0 |     2274.0 |      0.0000 |      13414. |
 | "# Rich2Gas Segments"                           |       100 |       3538 |     35.380 |     23.035 |      0.0000 |      102.00 |
 | "# Selected Tracks"                             |       100 |       6780 |     67.800 |     44.046 |      0.0000 |      207.00 |
 |*"RICH selection efficiency"                     |      7265 |       6780 |( 93.32416 +- 0.2928413)% |
Edited by Marco Cattaneo

Merge request reports