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

Access to tree.Jet in src/definitions.py: possible source of errors #2

Open
fiemmi opened this issue Jun 14, 2023 · 0 comments
Open

Comments

@fiemmi
Copy link
Collaborator

fiemmi commented Jun 14, 2023

Calling tree.Jet in src/definitions.py (this line) will access different jet collections depending on the input sample. The Jet collection is CHS in Run2 samples and PUPPI in Run3 samples. This may cause users to retrieve jet collections inconsistently.

Things can get more complicated when accessing non-standard flavors of NanoAOD, e.g. JMENano where both PUPPI and CHS are available, or custom JMENano with additional ABC collections. A way to deal with this (more elegant than hard-coding the collections to be retrieved) may be needed.

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