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

genParticle_N vs. actual genParticle vector size #229

Open
IzaakWN opened this issue Jul 5, 2018 · 0 comments
Open

genParticle_N vs. actual genParticle vector size #229

IzaakWN opened this issue Jul 5, 2018 · 0 comments

Comments

@IzaakWN
Copy link
Member

IzaakWN commented Jul 5, 2018

nBranches_->genParticle_N = genParticles_->size();

We are filtering out unwanted particles, so we should define genParticle_N as the number of particles that pass this filter:
https://github.com/UZHCMS/EXOVVNtuplizerRunII/blob/94X_ntuplizer/Ntuplizer/plugins/GenParticlesNtuplizer.cc#L49

We could e.g. do something like
nBranches_->genParticle_N = nBranches_->genParticle_pt.size
else count with an integer.

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