Skip to content

Commit

Permalink
removed print statements and merged
Browse files Browse the repository at this point in the history
  • Loading branch information
andresnava1000 committed Dec 15, 2023
2 parents 1bd073c + 32b7b15 commit c421a69
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/HHbbVV/processors/bbVVSkimmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,10 @@ def process(self, events: ak.Array):
vars_dict, (genbb, genq) = gen_selection_dict[d](
events, fatjets, selection, cutflow, gen_weights, P4
)
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
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"]
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
Expand Down

0 comments on commit c421a69

Please sign in to comment.