From 00380eeff0417b543651880e838d7f1f4b04c9f7 Mon Sep 17 00:00:00 2001 From: rkansal47 Date: Thu, 4 Jul 2024 11:51:12 +0530 Subject: [PATCH] event run lumiblock in skimmer --- src/HHbbVV/processors/bbVVSkimmer.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/HHbbVV/processors/bbVVSkimmer.py b/src/HHbbVV/processors/bbVVSkimmer.py index 099736ab..d9bb805e 100644 --- a/src/HHbbVV/processors/bbVVSkimmer.py +++ b/src/HHbbVV/processors/bbVVSkimmer.py @@ -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, @@ -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 @@ -145,6 +152,9 @@ class bbVVSkimmer(SkimmerABC): "ak8FatJetLowestWTaggedTxbb", "ak8FatJetWTaggedMsd", "ak8FatJetWTaggedParticleNetMass", + "event", + "run", + "luminosityBlock", ] for shift in jec_shifts: