Errors not propagated in Graphs

Hello,

I am plotting a variable bin width efficiency graph with TGraphAsymmErrors using BayesDivide function with two histograms containing pass and total entries.
But somehow, the errors are not shown in the graph. I am setting the bin contents as well as bin errors in the histograms by hand.
Could anybody please suggest, where I may be missing something.
I am attaching my macro with the mail.

Thanks a lot.
Arun.
eff_new_barrel_v1.C (4.28 KB)

Hi,

You don’t see the error because there are very small ! You can however retrieve them using TGraphAsymmErrors::GetEYlow() or GetEYhigh()

Lorenzo

Thanks a lot Lorenzo.