Skip to content

Commit

Permalink
fix hf_pt_spectrum macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Luigi Dello Stritto committed Feb 8, 2024
1 parent 208b13d commit 0bafe42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions FirstAnalysis/hf_pt_spectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0bafe42

Please sign in to comment.