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

Preselection: Tool for making yield tables #2

Open
sam-may opened this issue Feb 5, 2021 · 1 comment
Open

Preselection: Tool for making yield tables #2

sam-may opened this issue Feb 5, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@sam-may
Copy link
Collaborator

sam-may commented Feb 5, 2021

Implement a script (e.g. make_tables.py) that takes a dataframe object (output from the looper) as input and prints out various yield tables.

Prints out yields & uncertainties for each process, total background (i.e. sum of all background MC), and ratio of each process to the total background yield.

Ideally the following options would be configurable:

  • Input dataframe
  • List of samples to consider as background
  • List of samples to consider as signal (just ggTauTau for now, but will be nice to have this easily configurable in the future)
  • Option to scale non-resonant background yields to m_gg mass window, ~[122,128], for more fair comparison with signal and resonant backgrounds
  • Option to make tables separately by year
  • Options to apply cuts based on columns saved in the dataframe (e.g. print yields after cutting on some value of m_tautau). The easiest way to do this would probably be to supply a json file with a list of cuts as an input, then the script makes yield tables for each cut listed in the config file.

Should go in a directory tables under the Preselection dir.

@sam-may sam-may added the enhancement New feature or request label Feb 5, 2021
@bsathian
Copy link
Contributor

bsathian commented Feb 9, 2021

I'll try to squeeze this in as an extension to the plotting script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants