-
Notifications
You must be signed in to change notification settings - Fork 20
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
Possible bug in the handling fo the normalization in the skimmers #273
Comments
Thanks for the heads up! I'm not entirely clear on why this weight is needed, and I found out that its value is hardcoded in the skimmer: KLUBAnalysis/test/skimNtuple2016_HHbtag.cpp Lines 73 to 74 in a5742e5
KLUBAnalysis/test/skimNtuple2016_HHbtag.cpp Lines 1139 to 1141 in a5742e5
|
Hi @portalesHEP! If we understood correctly the twiki https://twiki.cern.ch/twiki/bin/viewauth/CMS/TopPtReweighting we are in category "Case 3.1: Analyses with SM tt as background (not in signal)" and, specifically: "In a control region which is signal-depleted and tt-enriched, one should check the data-MC agreement of the main distributions of the analysis, together with the top pT. If the agreement between the data and MC is within the available uncertainties (syst. and stat.) then the effect of top pT mismodeling can be considered covered by the existing uncertainties and no additional correction or uncertainty is needed." So we should remove this weight from the sum of weight and check the data/MC agreement in the inverted resolved2b0j category. |
To my knowledge, the reweighting is done according to what is written in this page. |
Ok, thanks for the pointers. Then I'd tend to agree that we should remove the weights before the next skimming round. I suppose that this should not have had any critical impact on the non-resonant result though (?), since there was a dedicated TT correction extracted which should've absorbed any issue introduced by this bug |
I am not sure I agree with either of the points.
|
The instructions on the twiki seems to indicate to first check the data/MC in a tt dominated control region and then eventually compute a correction. So I would suggest to do this first. |
for (1): I think @dzuolo misquoted the twiki and we are in fact in the second bullet situation: " In case significant discrepancies are observed, a dedicated top pT reweighting function should be derived from this control region and applied across the analysis while monitoring the agreement of other distributions as a result of this reweighting. ". Our 'fault' here would then be that the custom correction that was derived was indeed not pT-dependant, but that does not change the conclusion that the correction provided on the twiki is not to be used. |
Now I read better the TWiki, and I agree with @portalesHEP that the weight should be removed completely according to bullets 2 and 4 of case 3.1 What we could do is move to a pT-dependent computation of the ttSFs for the resonant analysis (or at least test it and see if that is in any way better than the normalization one we already have). |
Agreed, but as @dzuolo said, before anything we should check if such weights are still needed |
I think the way to move forward for the resonant analysis is:
For the EFT results based on the non-resonant analysis I will check with HH conveners to see if we want update this (which would require a significant effort) or if we want to base the EFT results exactly on the same HIG-20-010 analysis. |
@portalesHEP @bfonta @kramerto @riga We need to decide how to proceed with this issue in the new ntuples: I would propose to remove |
Hi, I think we should keep it in the skimmer (but correct it), and just remove the |
I am not sure I understand your point Louis. The weight is already stored in the skims with the last value suggested by the POG in the |
I'm saying that instead of removing it from the denominator, we should add it to the numerator, but insure that for now the weight is set to 1 (which should be done by removing the |
Ah ok! Now I understand, this seems ok to me! |
That is also how we submitted the 2017 Skims for now. Without the -t option, so no top pt reweighting and no tt stitching (which shouldn't be needed anyway since the samples we use have no overlap) |
While re-checking the sample normalization applied in the skimmers for the EFT studies of the non-resonant Run 2 analysis
I noticed a possible bug in the skimmers.
More precisely, in this line (which is used in the numerator when the samples are normalized)
KLUBAnalysis/test/skimNtuple2016_HHbtag.cpp
Line 2263 in a5742e5
the weight
topPtReweight
is missing.This same weight is instead added in the denominator in these lines:
KLUBAnalysis/test/skimNtuple2016_HHbtag.cpp
Lines 1494 to 1497 in a5742e5
The
topPtReweight
is computed in the gen-section of the skimmers and it's different from 1 only for TT samples.Even though the branches containing the
topPtReweight
weight are never used later on in the analysis, as shown above, this weight is actually included in the denominator (totalEvents
), but not in the numerator.I quickly looked at the
TTtopPtreweight_up
branch of the skims (which is actually filled withtopPtReweight
, as shown here) for a skim file of the TT_semiLep sample and I can confirm the value is!= 1
:@portalesHEP @dzuolo @jonamotta this is most probably a bug that we missed in the past, but further checks (i.e. including re-skimming the TT samples with the addition of this weight in the numerator) are in order.
The text was updated successfully, but these errors were encountered: