Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
3pia
CMS Analyses
common
Commits
b77a88a4
Commit
b77a88a4
authored
Aug 03, 2021
by
Peter Fackeldey
Browse files
[vjets] ensure correct shape for sf
parent
c6ab300a
Changes
1
Hide whitespace changes
Inline
Side-by-side
tasks/corrections/vjets.py
View file @
b77a88a4
...
...
@@ -256,7 +256,7 @@ class VptSF:
if
nlo
:
nlo
=
self
.
nlo
(
dataset
,
LHE
.
Vpt
,
LHE
.
Nb
,
shifts
=
True
)
if
nlo
is
None
:
sf
=
np
.
ones
_like
(
LHE
.
Vpt
)
sf
=
np
.
ones
((
len
(
events
.
MET
),)
)
shift
=
0
else
:
sf
,
shift
=
nlo
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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