Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
3pia
CMS Analyses
bbWW_SL
Commits
054a254d
Commit
054a254d
authored
Feb 18, 2022
by
Dennis Noll
Browse files
[recipe] tth: fixes bug in muon sf (must use mu_corr)
parent
029f267f
Changes
1
Hide whitespace changes
Inline
Side-by-side
recipes/tth.py
View file @
054a254d
...
...
@@ -629,9 +629,9 @@ class Base(common.NeutrinoBase, common.Base):
# fmt: off
## tight tth id
mask
=
(
abs
(
lep
.
pdgId
)
==
13
)
&
lep
.
gen_matched
&
lep
.
tight_cand
nominal
=
ak
.
prod
(
e
_corr
[
"muon_Tallinn_tth_tight_EGamma_SF2D"
](
abs
(
lep
.
eta
),
lep
.
pt
)[
mask
],
axis
=-
1
)
# using pT
up
=
ak
.
prod
(
e
_corr
[
"muon_Tallinn_tth_tight_error_histo_eff_data_max"
](
abs
(
lep
.
eta
),
lep
.
pt
)[
mask
],
axis
=-
1
)
# using pT
down
=
ak
.
prod
(
e
_corr
[
"muon_Tallinn_tth_tight_error_histo_eff_data_min"
](
abs
(
lep
.
eta
),
lep
.
pt
)[
mask
],
axis
=-
1
)
# using pT
nominal
=
ak
.
prod
(
mu
_corr
[
"muon_Tallinn_tth_tight_EGamma_SF2D"
](
abs
(
lep
.
eta
),
lep
.
pt
)[
mask
],
axis
=-
1
)
up
=
ak
.
prod
(
mu
_corr
[
"muon_Tallinn_tth_tight_error_histo_eff_data_max"
](
abs
(
lep
.
eta
),
lep
.
pt
)[
mask
],
axis
=-
1
)
down
=
ak
.
prod
(
mu
_corr
[
"muon_Tallinn_tth_tight_error_histo_eff_data_min"
](
abs
(
lep
.
eta
),
lep
.
pt
)[
mask
],
axis
=-
1
)
weights
.
add
(
"muon_tth_tight"
,
nominal
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment