Skip to content

Dy corr hh bbtautau#108

Open
Sayan-Dhani wants to merge 13 commits into
cms-flaf:mainfrom
Sayan-Dhani:DY_Corr_hh_bbtautau
Open

Dy corr hh bbtautau#108
Sayan-Dhani wants to merge 13 commits into
cms-flaf:mainfrom
Sayan-Dhani:DY_Corr_hh_bbtautau

Conversation

@Sayan-Dhani
Copy link
Copy Markdown

DY Corrections for HH_bbtautau are implemented.

  • There are some valid, unique events, and for those events only, we get valid weights (non-zero). Rest non-valid events get a weight of 0.
  • These weights are calculated from the correction JSON for valid DY events; other valid events get a default weight of 1.

Comment thread DY_hhbbtautau.h Outdated
Comment thread DY_hhbbtautau.h Outdated
@Sayan-Dhani
Copy link
Copy Markdown
Author

@cms-flaf-bot please test

Comment thread DY_hhbbtautau.py Outdated
Comment thread DY_hhbbtautau.py
Comment thread DY_hhbbtautau.py Outdated
return df

for idx in [0, 1]:
df = defineP4(df, f"tau{idx+1}_gen_vis")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • This is not the right place to define p4. Define it in anaTupleDef before calling corrections.
  • do not rely on tauX naming use lepton_legs provided to Corrections.getNormalisationCorrections

Comment thread DY_hhbbtautau.py Outdated
Comment thread DY_hhbbtautau.py
default_variations = [
"stat_up",
"stat_down",
# "syst_up",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if split uncertainties are available - use them

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.

4 participants