From 4784d180a165264455e4c7966e4fdb2dcc847a63 Mon Sep 17 00:00:00 2001 From: ivana Date: Thu, 16 Sep 2010 11:51:43 +0000 Subject: [PATCH] In AliMUONTriggerChamberEfficiency: When calculating efficiencies starting from the division of two histograms, a TGraphAsymmErrors is produced via TGraphAsymmErrors(const TH1* pass, const TH1* total, Option_t *option); following the guidelines of Page 27 of http://pdg.lbl.gov/2009/reviews/rpp2009-rev-statistics.pdf, the Clopper-Pearson 68% method is now used to determine errors. Explicitly specifying this option also prevents a segfault that occurs with the "tagged" v5-27-05-build1 of ROOT (rev.35249). (F.Bossu, D.Berzano, D.Stocco, L.Bianchi) --- MUON/AliMUONTriggerChamberEfficiency.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MUON/AliMUONTriggerChamberEfficiency.cxx b/MUON/AliMUONTriggerChamberEfficiency.cxx index c0796d0ce64..9c1063d2be4 100755 --- a/MUON/AliMUONTriggerChamberEfficiency.cxx +++ b/MUON/AliMUONTriggerChamberEfficiency.cxx @@ -413,7 +413,7 @@ TGraphAsymmErrors* AliMUONTriggerChamberEfficiency::GetEfficiencyGraph(TH1* hist // TGraphAsymmErrors* auxGraph = 0x0; - if ( histoDen ) auxGraph = new TGraphAsymmErrors(histoNum,histoDen); + if ( histoDen ) auxGraph = new TGraphAsymmErrors(histoNum,histoDen,"cp"); else auxGraph = new TGraphAsymmErrors(histoNum); Int_t npoints = histoNum->GetNbinsX(); -- 2.43.0