Is there a TEfficiency class?

Dear all,

i’m wondering if do exist an implementation of a TEfficiency class in ROOT
to be used to fill efficiency histograms. It would be nice to have something that allows to make a Fill(x,y,z, passed) with passed as bool.
Then at the end a call like Finalize that divide number of true to all getting the efficiency values as a function of x,y,z. Maybe an overload with arguments like Finalize(TH1F*& h1dim), Finalize(TH2F*& h2dim) …

What do you think ?


see the description of TGraphAsymmErrors::BayesDivide at … ayesDivide