Skip to content

Commit

Permalink
Update parametric_exercise.md (#1010)
Browse files Browse the repository at this point in the history
Bugfix. Also added weight in RooArgSet in line 218.
  • Loading branch information
maxwrabetz authored Oct 7, 2024
1 parent 6760559 commit 98592fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial2023/parametric_exercise.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ f = ROOT.TFile("data_part1.root","r")
t = f.Get("data_Tag0")

# Convert TTree to a RooDataSet
data = ROOT.RooDataSet("data_Tag0", "data_Tag0", t, ROOT.RooArgSet(mass), "", "weight")
data = ROOT.RooDataSet("data_Tag0", "data_Tag0", t, ROOT.RooArgSet(mass, weight), "", "weight")

# Define mass sideband ranges on the mass variable: 100-115 and 135-180
n_bins = 80
Expand Down

0 comments on commit 98592fa

Please sign in to comment.