Skip to content

Add a warning about event numbers if the subevent staging list gets very long

Andy Buckley requested to merge warn-on-many-subevents into release-3-1-x

Add a warning about event numbers if the subevent staging list gets very long. In this case, it's probably a generator/user issue that the incoming event numbers are not correctly set, and the histograms will not aggregate correctly (as well as producing an apparent memory leak due to the fill-data staging lists getting longer with every event).

Maybe 1000 events is overkill and a % 100 check would be better: it'd catch the problem on smaller samples, certainly. I think we expect subevent counts < 10 in every current scenario, but maybe there'll be a lot more subtraction terms at NNLO?

Merge request reports