From 0bafe42c08c7713faa55db297060d279039b9784 Mon Sep 17 00:00:00 2001 From: Luigi Dello Stritto Date: Thu, 8 Feb 2024 15:18:06 +0100 Subject: [PATCH] fix hf_pt_spectrum macro --- FirstAnalysis/hf_pt_spectrum.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FirstAnalysis/hf_pt_spectrum.py b/FirstAnalysis/hf_pt_spectrum.py index 48cc390e..620f3773 100644 --- a/FirstAnalysis/hf_pt_spectrum.py +++ b/FirstAnalysis/hf_pt_spectrum.py @@ -316,9 +316,9 @@ def main(): hptspectrum_wo_br.SetBinContent(i_pt + 1, crosssec) hptspectrum_wo_br.SetBinError(i_pt + 1, crosssec_unc) gfraction.SetPoint(i_pt, pt_cent, frac[0]) - #gfraction.SetPointError( - # i_pt, pt_delta / 2, pt_delta / 2, frac[0] - frac[1], frac[2] - frac[0] - #) + gfraction.SetPointError( + i_pt, pt_delta / 2, pt_delta / 2, frac[0] - frac[1], frac[2] - frac[0] + ) c = TCanvas("c", "c", 600, 800) c.Divide (1, 2)