I am trying to make a simple efficiency graph from dividing two histograms.
But I am getting following warnings and errors**
Then I checked explicitly the bin contents of both the histograms and I have following entries***
So, numerator is always smaller than denominator but even then I am getting these warnings and errors.
Could anybody please suggest any solution?
I am attaching my macro with this message.
Thanks for the reply and sorry for my late response.
Please find another macro attached but root file is slightly big to attach.
Find the root file here : arun-afs.web.cern.ch/arun-afs/D … _Tree.root
The numbers I am getting from this macro are**.
Which are again with Numerator always less than denominator but still I got the same error messages.
Please suggest.
[quote]The following inequality has to be valid for each bin i: total.GetBinContent(i) >= pass.GetBinContent(i) and the histogram have to be filled with unit weights.[/quote] There is an option to accept the weighted histograms though, but I don’t really see how you can propagate this option calling the BayesDivide method…
Is there any solution on this issue? I also meet the same problem with ROOT 6.10/09. I checked that for each bin the bin content in the passed hist is smaller than the total hist, but I got the same error message. Both the passed and total histos are filled with weighted values.
Hi,
I had the same issue, but it works for me now in root version 6.10/04
I’m wondering if their are still limitations to using TEfficiency methods with weighted histograms?
Cheers, Mattias