TEfficiency example slightly wrong? What is the default confidence level?

I am trying to get started with TEfficiency graphs. The documentation/example at root.cern.ch/doc/master/classTEfficiency.html#EFF063
is confusing me.

The plot “Different confidance levels” has 95% band smaller than 68.3 %. Is the legend wrong?
leg1->AddEntry(pEff,“95%”,“F”);
leg1->AddEntry(pCopy,“68.3%”,“F”);

should be
leg1->AddEntry(pEff,“68.3%”,“F”);
leg1->AddEntry(pCopy,“90%”,“F”);
?

I basically wanted to know the default value, which I guess is “one sigma equivalent”, or 68.3 %.

Nigel

Hello,

Thank you for posting this. It is true, the legend in the example is wrong, and it should be as you suggest. The default confidence level for TEfficiency is 68.3%.
I will make a PR fixing this example in the documentation.
Thanks again, best regards

Lorenzo

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.