Skip to content

Add gen-checking for electrons and muons#301

Open
alpakpinar wants to merge 4 commits intobu-cms:masterfrom
alpakpinar:2020-11-03_elemu_gen_check
Open

Add gen-checking for electrons and muons#301
alpakpinar wants to merge 4 commits intobu-cms:masterfrom
alpakpinar:2020-11-03_elemu_gen_check

Conversation

@alpakpinar
Copy link
Copy Markdown
Contributor

Hey @AndreasAlbert , this PR contains the addition of GEN-checking for electrons and muons, in addition to taus. For electrons and muons, we basically look for "Lepton_genPartFlav != 0", otherwise we assign 0 weight.

I shuffled the code a bit, moved the code that does the checking and assigning lepton weights to a helper function. Let me know what you think and if you want any changes to this, thanks!

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

Successfully merging this pull request may close these issues.

1 participant