Skip to content

Store smallest deltaR result as new feature #996

Answered by jpivarski
artlbv asked this question in Q&A
Discussion options

You must be logged in to vote

A few weeks after that tutorial, I gave another tutorial that answered your question. (When writing it, I decided to go into more detail on these sorts of examples, but when I was presenting it, I didn't get to that part, so it's not in the video.)

This is the relevant section.

Something that I was going to do when presenting it live and didn't get a chance to: try swapping the abs(g.pdgId) == 13 with abs(g.pdgId) != 13 and see how the distribution of ΔR changes, once you have this notebook loaded and have evaluated cells up to this point.

The idea is that you pass nested=True when computing ak.cartesian, which creates a new level of nesting in which the combinations are grouped by the l…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@artlbv
Comment options

Answer selected by artlbv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants