Dear ROOT experts,
I’m using the TGraphAsymmErrors.Divide() function with the ‘cp’ option for fake rate studies. As expected certain points of the TGraph are zero because pass = 0, but total > 0. Unfortunately these zero bins get no error assigned, all other bins show proper error bars.
I checked the two TH1F input histograms and they have both a non-zero error for the problematic bins and both get their SumW2 set right before the Divide() command.
Is there anything missing, to get also these zero bins with an error bar?
I uploaded the python script, you can find it below.
Thanks a lot and best regards,
MaxiCalcFakeRate_v2.py (18.5 KB)