Skip to content

Commit 304fe50

Browse files
committed
add extra p4 variables to processor
1 parent 10c97ae commit 304fe50

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

boostedhiggs/hwwprocessor.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,7 @@ def process(self, events: ak.Array):
475475
"lep_met_mt": mt_lep_met,
476476
"met_fj_dphi": met_fj_dphi,
477477
"met_pt": met.pt,
478+
"met_phi": met.phi,
478479
"deta": deta,
479480
"mjj": mjj,
480481
"ht": ht,
@@ -517,6 +518,7 @@ def process(self, events: ak.Array):
517518
"dR_genlep_recolep": dR_genlep_recolep,
518519
"nB": nBjets,
519520
"nC": nCjets,
521+
"fj_mass_raw": good_fatjets[fj_idx_lep].mass,
520522
}
521523

522524
# store the genweight as a column
@@ -803,10 +805,6 @@ def process(self, events: ak.Array):
803805
# store the final weight per ch
804806
variables[f"weight_{ch}"] = self.weights[ch].weight()
805807

806-
# store each weight (for debug)
807-
# for key in self.weights[ch]._weights:
808-
# variables[f"{ch}_single_weight_{key}"] = self.weights[ch].partial_weight([key])
809-
810808
if self._systematics:
811809
for systematic in self.weights[ch].variations:
812810
variables[f"weight_{ch}_{systematic}"] = self.weights[ch].weight(modifier=systematic)

0 commit comments

Comments
 (0)