cmstas / XToYggHbb_looper

1 stars 2 forks source link

Data-driven estimation for QCD and GJets #13

Closed VourMa closed 1 year ago

VourMa commented 1 year ago

This PR adds the scripts to perform the data-driven QCD+GJets background estimation, and includes all the modifications to pre-existing code so that the DDQCDGJets sample can run through the looper. As part of the above developments, QCD MC samples are also introduced. Instructions have been added in the README, so that the workflow stays documented.

Some of the code has been intentionally left in commented out, as it was an experimental setup can will not be used for this analysis but it is useful to stay for posterity/reference for future efforts.

YonsiG commented 1 year ago

Thanks a lot Manos for this work! I tried hard but still met some difficulties in understanding some complex functions... I'll try to follow through the README and but using the existing shared file for the DD QCD and GJets after pre-selection. Can you post the data-MC agreement plots under this PR for reference?

VourMa commented 1 year ago

I am moving the PR back to draft, as I am testing more options to reweight DD events. I will follow up soon with a few more commits.

Can you post the data-MC agreement plots under this PR for reference?

This is the first try (all years/eta ranges using the same fake photon pdf for the reweighting): https://uaf-10.t2.ucsd.edu/~evourlio/XToYHToggbb/plots_Jun-21-2023_DDQCDGJets_yearInclusive/

This is the second try (year decorrelated): https://uaf-10.t2.ucsd.edu/~evourlio/XToYHToggbb/plots_Jun-21-2023_DDQCDGJets_yearDecorrelated/

VourMa commented 1 year ago

Can you post the data-MC agreement plots under this PR for reference?

Third try (year and η decorrelated): https://uaf-10.t2.ucsd.edu/~evourlio/XToYHToggbb/plots_Jun-21-2023_DDQCDGJets_yearEtaDecorrelated/

Some improvement is there but mostly visible in the η distributions (as expected).

The code is accordingly updated (@YonsiG you can already take a look) but I will mark the PR ready for review only after today's meeting, to make sure that we don't want to try anything else before settling on this.

YonsiG commented 1 year ago

Thank you Manos, I reviewed the new part of eta and years binning. They look good so I merge them. Thanks!