Skip to content

Commit

Permalink
added Gen ZZ or WW indformation to from gen_selection_dict to skimmer…
Browse files Browse the repository at this point in the history
… for extrapolation purposes
  • Loading branch information
andresnava1000 committed Dec 15, 2023
1 parent 974634e commit e8d5a39
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/HHbbVV/processors/bbVVSkimmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,6 @@ def process(self, events: ak.Array):
print( type(vars_dict),vars_dict.keys() )
if "GenHiggsChildren" in vars_dict.keys(): # Only HY samples which are WW by default will not have this
data = vars_dict["GenHiggsChildren"]
print(np.any(data == 24, axis=1))
print(np.any(data == 23, axis=1))
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}
Expand Down

0 comments on commit e8d5a39

Please sign in to comment.