Skip to content

Commit

Permalink
event run lumiblock in skimmer
Browse files Browse the repository at this point in the history
  • Loading branch information
rkansal47 committed Jul 4, 2024
1 parent ded7daa commit 00380ee
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/HHbbVV/processors/bbVVSkimmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ class bbVVSkimmer(SkimmerABC):
"""

# key is name in nano files, value will be the name in the skimmed output
# IMPORTANT!! REMEMBER TO ADD NEW VARIABLES TO min_branches IF NEEDED
skim_vars = { # noqa: RUF012
"FatJet": {
**P4,
Expand All @@ -84,7 +85,13 @@ class bbVVSkimmer(SkimmerABC):
},
"Jet": P4,
"GenHiggs": P4,
"other": {"MET_pt": "MET_pt", "MET_phi": "MET_phi"},
"other": {
"MET_pt": "MET_pt",
"MET_phi": "MET_phi",
"event": "event",
"run": "run",
"luminosityBlock": "luminosityBlock",
},
}

preselection = { # noqa: RUF012
Expand Down Expand Up @@ -145,6 +152,9 @@ class bbVVSkimmer(SkimmerABC):
"ak8FatJetLowestWTaggedTxbb",
"ak8FatJetWTaggedMsd",
"ak8FatJetWTaggedParticleNetMass",
"event",
"run",
"luminosityBlock",
]

for shift in jec_shifts:
Expand Down

0 comments on commit 00380ee

Please sign in to comment.