Skip to content

Fix weighted efficiency CutFlow in bbtt

Thomas Strebler requested to merge tstreble-main-patch-96805 into main

Follow up to !563 (merged)

Denominator of weighted efficiency was using the number of events instead of the sum of MC weights, leading to errors like

TROOT::TEfficiency::Ch... INFO    Histograms are not consistent: passed bin content > total bin content
TROOT::TEfficiency::Ch... ERROR   passed TEfficiency objects do not have consistent bin contents

Merge request reports