Skip to content

Commit af9fd65

Browse files
committed
up
1 parent 5905c27 commit af9fd65

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

boostedhiggs/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,10 @@ def match_H(
291291

292292

293293
def match_V(genparts: GenParticleArray, fatjet: FatJetArray):
294-
vs = genparts[get_pid_mask(genparts, [W_PDGID, Z_PDGID], byall=False) * genparts.hasFlags(GEN_FLAGS)]
294+
# vs = genparts[get_pid_mask(genparts, [W_PDGID, Z_PDGID], byall=False) * genparts.hasFlags(GEN_FLAGS)]
295+
vs = genparts[get_pid_mask(genparts, [W_PDGID, Z_PDGID], byall=False)]
295296
print(vs)
297+
296298
matched_vs = vs[ak.argmin(fatjet.delta_r(vs), axis=1, keepdims=True)]
297299
matched_vs_mask = ak.any(fatjet.delta_r(matched_vs) < JET_DR, axis=1)
298300

0 commit comments

Comments
 (0)