Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find the parton an MC particle comes from #10

Open
gordonwatts opened this issue Nov 10, 2019 · 0 comments
Open

Find the parton an MC particle comes from #10

gordonwatts opened this issue Nov 10, 2019 · 0 comments

Comments

@gordonwatts
Copy link
Member

Assumptions

  1. You have an MC file which contains a vertex -> daughters -> vertex type data structure. This is often found in an MC Les Houches generator files.
  2. For each tree, you have some way of telling if a particle is something that came from the hard scatter. That is, an outgoing parton.
  3. It is the case that in NLO and NNLO, etc., you might have more than one parton as a parent, but for the sake of this let's pretend that that doesn't happen.

What you want

  1. Match the closest MC particle with a jet axis
  2. Find the 'parton' that particle is descended from

Why this is tricky

You have to traverse parent vertices and particles until you find what the parton is. This is a loop that doesn't have a fixed number of iterations. You have to keep walking up the tree until you find the MC particle that satisfies the I am a parton condition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant