Mathematical formula behind the default TEfficiency uncertainty

Hi Everyone,

I was wondering which mathematical formula is used to calculate the standard uncertainty in TEfficiency. I saw that it was based on the Clopper-Pearson error bars. I tried to look for the method but without succes.

Can someone explain me how they are calculated (a formula maybe?) ?

By the way, I want also to calculate uncertainties of my closure test ( ratio of yields(= sum of efficiencies)), is there any smart method to use?

Thank you very much !

Most (read: i didn’t check if all of them) of the formulas are spelled out on the doxygen page. for clopper-pearson eg: … a1476ef75b