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

Proper application of b-tagging SF #5

Open
ktht opened this issue Jul 16, 2022 · 0 comments
Open

Proper application of b-tagging SF #5

ktht opened this issue Jul 16, 2022 · 0 comments

Comments

@ktht
Copy link
Member

ktht commented Jul 16, 2022

As argued in this thread on CMS Talk, the application of shape-changing b-tagging SF implies that we first obtain the distribution of AK4 jet multiplicity with and without the b-tagging SF plus no cuts on b-jet multiplicity in the SR of a particular analysis, and then apply the ratio of the latter to the former as a function of jet multiplicity in order to obtain the correct estimate of the MC process in that analysis phase space. For us, it implies the following:

  • in flat Ntuple production, store nominal event weight with (already present) and without b-tagging SF;
  • at the analysis level (ie in this repository) we need two features:
    • ability to save the jet multiplicity distributions in a histogram for the central case as well as for the b-tagging systematics;
    • ability to apply the ratio of the two histograms as an additional event weight at the analysis level;
  • regarding the analysis workflow, the ratios could be obtained automatically (ideal case) or computed only once (in case it's too expensive to run). In the latter case it would be the responsibility of the user to rerun this part of the workflow every time the b-jet selection, b-tagging discriminant, b-tagging SF or SR cuts change.
ktht added a commit to HEP-KBFI/TallinnNtupleProducer that referenced this issue Jul 21, 2022
Should be done at the analysis level like explained here: HEP-KBFI/TallinnAnalysis#5
ktht added a commit to HEP-KBFI/TallinnNtupleProducer that referenced this issue Jul 22, 2022
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