definition of binomial error in histogram division?

From: Suyong Choi <suyong_at_fnal.gov>
Date: Tue, 03 Jul 2007 15:06:00 +0200


Hi,

In ROOT 5, the binomial error I expect to get with the "B" option in histogram
division isn't the "standard" binomial error. What is its precise definition? If it's a bug it should be fixed, if it's not, the documentation should be updated.

I attach an example where I expect to see an error of 0, but it's 0.0496 instead.

Regards,
Suyong

{

    TH1F *h1 = new TH1F("h1", "Demonimator", 1, 0.0, 1.0);     TH1F *h2 = new TH1F("h2", "Numerator", 1, 0.0, 1.0);

    h1->Sumw2();
    h2->Sumw2();

    h1->Fill(0.5,10.0);
    h2->Fill(0.5,10.0);

    h1->Divide(h1, h2, 1.0, 1.0, "B");
} Received on Tue Jul 03 2007 - 15:06:17 CEST

This archive was generated by hypermail 2.2.0 : Tue Jul 03 2007 - 17:50:02 CEST