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

Check b-tagging method #388

Open
bryates opened this issue Dec 15, 2023 · 0 comments
Open

Check b-tagging method #388

bryates opened this issue Dec 15, 2023 · 0 comments
Labels
needs to be addressed This issue is probably something we should address before we finalize things. possible bug

Comments

@bryates
Copy link
Contributor

bryates commented Dec 15, 2023

We are currently applying the b-tagging SFs for both medium and loose for all channels. We should make sure this does not affect the 3l channels where we only use 1 type of b-jet.

pMC = ak.prod(bJetEff[1] [isBtagJetsMedium], axis=-1) * ak.prod((bJetEff[0] [isBtagJetsLooseNotMedium] - bJetEff[1] [isBtagJetsLooseNotMedium]), axis=-1) * ak.prod((1-bJetEff[0] [isNotBtagJetsLoose]), axis=-1)
pMC = ak.where(pMC==0,1,pMC) # removeing zeroes from denominator...
pData = ak.prod(bJetEff_data[1] [isBtagJetsMedium], axis=-1) * ak.prod((bJetEff_data[0] [isBtagJetsLooseNotMedium] - bJetEff_data[1] [isBtagJetsLooseNotMedium]), axis=-1) * ak.prod((1-bJetEff_data[0] [isNotBtagJetsLoose]), axis=-1)

@bryates bryates added needs to be addressed This issue is probably something we should address before we finalize things. possible bug labels Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs to be addressed This issue is probably something we should address before we finalize things. possible bug
Projects
None yet
Development

No branches or pull requests

1 participant