TGraphAsymmErrors::Divide -> SetBinContent leads to wrong results

From: Alexander Mann <amann_at_uni-goettingen.de>
Date: Tue, 8 Feb 2011 17:57:50 +0100

Hi,

I am using TGraphAsymmErrors::BayesDivide to calculate cut efficiencies.

Under certain circumstances I'd like to mask out some bins of my histogram by setting both enumerator and denominator to zero using SetBinContent.

This breaks TGraphAsymmErrors::(Bayes)Divide, because then the built-in flag bEffective is (I guess) set to true leading to error messages, wrong results etc. Unfortunately, there is no way of steering bEffective from outside the function.

Is there a way to amend this?

Thanks,
Alexander Received on Tue Feb 08 2011 - 17:57:54 CET

This archive was generated by hypermail 2.2.0 : Tue Feb 08 2011 - 23:50:01 CET