Skip to content

Commit

Permalink
Correct bug in filter
Browse files Browse the repository at this point in the history
  • Loading branch information
achiefa committed Dec 9, 2024
1 parent 4e58fd6 commit 24e165d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def generate_data(self, variant='default', save_to_yaml=False, path='./'):
unc_dict = {STAT_LABEL: stat_unc[data_idx]}

# Lumi uncertainty
unc_dict = {'corr_lumi_unc': central_data[data_idx] * CMSLUMI13 * 0.01}
unc_dict['corr_lumi_unc'] = central_data[data_idx] * CMSLUMI13 * 0.01

# Add systematic uncertainties
unc_dict = unc_dict | tmp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ definitions:
treatment: MULT
type: CORR
bins:
- corr_lumi_unc: 1.42174837e+04
- stat_uncorr_unc: 37170.0
corr_lumi_unc: 1.42174837e+04
track_sys_unc: 2.3
brch_sys_unc: 2.4
muons_sys_unc: 1.2
Expand All @@ -69,7 +70,8 @@ bins:
pdf_sys_unc: 1.2
frag_sys_unc: 3.58434094e+00
mc_sys_unc: 3.45651559e+00
- corr_lumi_unc: 1.16728088e+04
- stat_uncorr_unc: 28410.0
corr_lumi_unc: 1.16728088e+04
track_sys_unc: 2.3
brch_sys_unc: 2.4
muons_sys_unc: 1.2
Expand All @@ -82,7 +84,8 @@ bins:
pdf_sys_unc: 1.3
frag_sys_unc: 2.83548938e+00
mc_sys_unc: 8.20167666e+00
- corr_lumi_unc: 1.19827362e+04
- stat_uncorr_unc: 30210.0
corr_lumi_unc: 1.19827362e+04
track_sys_unc: 2.3
brch_sys_unc: 2.4
muons_sys_unc: 1.2
Expand All @@ -95,7 +98,8 @@ bins:
pdf_sys_unc: 0.9
frag_sys_unc: 6.48922183e+00
mc_sys_unc: 1.06492958e+01
- corr_lumi_unc: 9.87899375e+03
- stat_uncorr_unc: 27450.0
corr_lumi_unc: 9.87899375e+03
track_sys_unc: 2.3
brch_sys_unc: 2.4
muons_sys_unc: 1.2
Expand All @@ -108,7 +112,8 @@ bins:
pdf_sys_unc: 1.4
frag_sys_unc: 3.15713478e+00
mc_sys_unc: 7.39104188e+00
- corr_lumi_unc: 7070.6
- stat_uncorr_unc: 24680.0
corr_lumi_unc: 7070.6
track_sys_unc: 2.3
brch_sys_unc: 2.4
muons_sys_unc: 1.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ definitions:
treatment: MULT
type: UNCORR
bins:
- corr_lumi_unc: 1.42174837e+04
- stat_uncorr_unc: 37170.0
corr_lumi_unc: 1.42174837e+04
track_sys_unc: 2.3
brch_sys_unc: 2.4
muons_sys_unc: 1.2
Expand All @@ -74,7 +75,8 @@ bins:
frag_sys_unc: 3.58434094e+00
mc_sys_unc: 3.45651559e+00
uncorr_mc_unc: 5.68699350e+03
- corr_lumi_unc: 1.16728088e+04
- stat_uncorr_unc: 28410.0
corr_lumi_unc: 1.16728088e+04
track_sys_unc: 2.3
brch_sys_unc: 2.4
muons_sys_unc: 1.2
Expand All @@ -88,7 +90,8 @@ bins:
frag_sys_unc: 2.83548938e+00
mc_sys_unc: 8.20167666e+00
uncorr_mc_unc: 4.66912350e+03
- corr_lumi_unc: 1.19827362e+04
- stat_uncorr_unc: 30210.0
corr_lumi_unc: 1.19827362e+04
track_sys_unc: 2.3
brch_sys_unc: 2.4
muons_sys_unc: 1.2
Expand All @@ -102,7 +105,8 @@ bins:
frag_sys_unc: 6.48922183e+00
mc_sys_unc: 1.06492958e+01
uncorr_mc_unc: 4.79309450e+03
- corr_lumi_unc: 9.87899375e+03
- stat_uncorr_unc: 27450.0
corr_lumi_unc: 9.87899375e+03
track_sys_unc: 2.3
brch_sys_unc: 2.4
muons_sys_unc: 1.2
Expand All @@ -116,7 +120,8 @@ bins:
frag_sys_unc: 3.15713478e+00
mc_sys_unc: 7.39104188e+00
uncorr_mc_unc: 3.95159750e+03
- corr_lumi_unc: 7070.6
- stat_uncorr_unc: 24680.0
corr_lumi_unc: 7070.6
track_sys_unc: 2.3
brch_sys_unc: 2.4
muons_sys_unc: 1.2
Expand Down

0 comments on commit 24e165d

Please sign in to comment.