Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
ZJet Analysis
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Cedric Verstege
ZJet Analysis
Commits
c4336c68
Commit
c4336c68
authored
2 months ago
by
Cedric Verstege
Browse files
Options
Downloads
Patches
Plain Diff
Add merged WJets Sample
parent
c83663e6
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
analysis/tasks/PostProcessing/LumberjackRun.py
+17
-0
17 additions, 0 deletions
analysis/tasks/PostProcessing/LumberjackRun.py
with
17 additions
and
0 deletions
analysis/tasks/PostProcessing/LumberjackRun.py
+
17
−
0
View file @
c4336c68
...
...
@@ -218,6 +218,15 @@ class LumberjackHadd(LumberjackBaseWorkflow):
if
self
.
dataset
in
dataset
and
"
common
"
not
in
dataset
:
req
[
dataset
]
=
LumberjackHistos
.
req
(
self
,
dataset
=
dataset
)
return
req
# WJets
if
self
.
dataset
==
"
WJetsToLNu_XJ
"
:
for
dataset
in
(
"
WJetsToLNu_0J
"
,
"
WJetsToLNu_1J
"
,
"
WJetsToLNu_2J
"
,
):
req
[
dataset
]
=
LumberjackHistos
.
req
(
self
,
dataset
=
dataset
)
return
req
raise
NotImplementedError
def
requires
(
self
):
...
...
@@ -333,6 +342,12 @@ class LumberjackHistos(law.task.base.WrapperTask, LumberjackBaseWorkflow):
# SingelTop Merging
if
self
.
dataset
==
"
ST
"
:
return
{
"
common
"
:
LumberjackHadd
.
req
(
self
)}
# WJetsMerging
if
self
.
dataset
==
"
WJetsToLNu_XJ
"
:
return
{
"
common
"
:
LumberjackHadd
.
req
(
self
)}
# no scaling for BinCenters
if
self
.
task
==
"
BinCenters
"
:
return
{
"
common
"
:
LumberjackRun
.
req
(
self
)}
# Default to scaling MC with lumi
return
{
"
common
"
:
LumberjackScale
.
req
(
self
)}
...
...
@@ -418,6 +433,7 @@ class LumberjackCombineRun2(AnalysisTask):
if
(
self
.
task
==
"
MCShape
"
or
self
.
task
==
"
DATAShape_data
"
or
self
.
task
==
"
BinCenters
"
or
"
DY
"
not
in
self
.
dataset
or
"
M-10to50
"
in
self
.
dataset
):
...
...
@@ -444,6 +460,7 @@ class Histograms(law.task.base.WrapperTask):
"
DYJetsToLL
"
in
self
.
dataset
and
"
M-10to50
"
not
in
self
.
dataset
and
task
!=
"
MCShape
"
and
task
!=
"
BinCenters
"
):
return
MergeShifts
.
req
(
self
,
task
=
task
)
return
LumberjackHistos
.
req
(
self
,
task
=
task
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment