[ROOT] problem in using TGraphAsymmErrors::BayesDivide

From: Christian Hansen (christian.hansen@cern.ch)
Date: Sun Jul 04 2004 - 23:47:09 MEST


Dear Rooters,

I'm trying to check the difference between the efficiency 
errors using binominal equation and the results given from 
BayesDivide, but I get problems using BayesDivide...

In the attached file I'm defining one-dimensional histograms
and then trying to put them in a TGraphAsymmErrors with
BayesDivide in the following way:

 signalEfficiencyGraph->BayesDivide(signalPassedHist, signalTotHist);

But when running this in root 4.00/06 I get

 Error: Can't call TGraphAsymmErrors::BayesDivide(signalPassedHist,signalTotHist)

If anyone knows what I'm doing wrong here I would be
very greatful to get some help!!!

Thanks
-- 
/ Christian Hansen
                                                                                                                                                             
===============================================
Box 535            Office: +46-(0)18-471 32 57
S-751 21 Uppsala   Office: 82104
Sweden
-----------------------------------------------
Mobile    : +46-(0)708-887617
Home Page : http://welcome.to/Christian_Hansen
            http://www.cern.ch/Christian.Hansen





This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET