Skip to content

Commit

Permalink
Merge branch 'GenZZWW_info_HVV_jets' of https://github.com/rkansal47/…
Browse files Browse the repository at this point in the history
…HHbbVV into GenZZWW_info_HVV_jets

Merging them to remove last print statement
  • Loading branch information
andresnava1000 committed Dec 15, 2023
2 parents 0c88313 + 9ed0109 commit 0cd3908
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/HHbbVV/processors/bbVVSkimmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,12 @@ def process(self, events: ak.Array):
"GenHiggsChildren" in vars_dict.keys()
): # Only HY samples which are WW by default will not have this
data = vars_dict["GenHiggsChildren"]
skimmed_events["genWW"] = np.any(data == 24, axis=1) # true if WW false if ZZ (It must be one of the two.)
skimmed_events["genZZ"] = np.any(data == 23, axis=1) # maybe we can make this one mask since the two are disjoint
skimmed_events["genWW"] = np.any(
data == 24, axis=1
) # true if WW false if ZZ (It must be one of the two.)
skimmed_events["genZZ"] = np.any(
data == 23, axis=1
) # maybe we can make this one mask since the two are disjoint
skimmed_events = {**skimmed_events, **vars_dict}

# FatJet vars
Expand Down

0 comments on commit 0cd3908

Please sign in to comment.