To avoid annoying numerical precision issues when adding the weights which can lead to the wrong number of counter events when larger than 1.0e6 and adding something of the order of 1.0, which is not that uncommon. This is issue is not as bad as it could be because we process small files
individually and we only add them up at the end (so sum of larger numbers) but is is just better to fix it anyway.
Simplest solution, we could use TH1Ds to have more minimum significant digits (minimum of 15) when adding up small numbers, which should fix the problem in practise.
To avoid annoying numerical precision issues when adding the weights which can lead to the wrong number of counter events when larger than 1.0e6 and adding something of the order of 1.0, which is not that uncommon. This is issue is not as bad as it could be because we process small files individually and we only add them up at the end (so sum of larger numbers) but is is just better to fix it anyway.
https://github.com/CMS-PD/ALPHA/blob/master/plugins/CounterAnalyzer.cc#L11
Simplest solution, we could use TH1Ds to have more minimum significant digits (minimum of 15) when adding up small numbers, which should fix the problem in practise.