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
Fix fatJetTable genJetAK8Idx matching #33839
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33839/22858
|
A new Pull Request was created by @laurenhay for master. It involves the following packages: PhysicsTools/NanoAOD @cmsbuild, @mariadalfonso, @gouskos, @fgolf can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d0b602/15312/summary.html Comparison SummarySummary:
|
@laurenhay can you check the samples listed here and report here the "Scan" before and after the fix ? |
We scanned the file in 10_6_19_patch2 before changes and got the same output Matej saw:
After the change, I reproduced a subset of the events using this cmsDriver command:
And the resulting output from scanning the file was:
I tried to reproduce the file and changes in 11_2 (and 12_0) using the auto:run2_mc conditions flag, but I also likely need an eras modifier, but do not see one to use for anything past 10_6.
(@rappoccio ) |
from local tests we have error of this type
|
Thanks Maria. @laurenhay is relocating to CERN yesterday and today so we will get it up ASAP. |
@@ -668,7 +668,7 @@ | |||
nBHadrons = Var("jetFlavourInfo().getbHadrons().size()", "uint8", doc="number of b-hadrons"), | |||
nCHadrons = Var("jetFlavourInfo().getcHadrons().size()", "uint8", doc="number of c-hadrons"), | |||
hadronFlavour = Var("hadronFlavour()", int, doc="flavour from hadron ghost clustering"), | |||
genJetAK8Idx = Var("?genJetFwdRef().backRef().isNonnull()?genJetFwdRef().backRef().key():-1", int, doc="index of matched gen AK8 jet"), | |||
genJetAK8Idx = Var("?genJetFwdRef().backRef().pt() > 100. && genJetFwdRef().backRef().isNonnull()?genJetFwdRef().backRef().key():-1", int, doc="index of matched gen AK8 jet"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix is trivial here, just need to switch order:
genJetFwdRef().backRef().isNonnull() && genJetFwdRef().backRef().pt() > 100.
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33839/23042
|
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d0b602/15623/summary.html Comparison SummarySummary:
|
large stat runs now successfully NANO changes:
There are miniAOD changes: this should not happen ! |
Wow, this is really surprising to me. Can you point me to the changes? |
|
Bizarre. The changes are in the pair discriminator vector, which was clearly not touched at all. Is there another change that was somehow picked up by this test? |
please test (let's check if the miniAOD changes are reproducible) |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d0b602/15670/summary.html Comparison SummarySummary:
|
the miniAOD changes of previous tests are not reproducible |
+xpog |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
@laurenhay please prepare the backport to 10_6_X |
+1 |
PR description:
Fixes issue where the GenJetAK8IDx matching did not match the corresponding GenJetAK8Table id's because of a difference in pT cut between the collections being referenced https://hypernews.cern.ch/HyperNews/CMS/get/JetMET/2103.htm
PR validation:
Validated on file in question in 10_6_19_patch2. Could not find any files with the same issue present in the 12 series.
https://cmsweb.cern.ch/das/request?instance=prod/global&input=dataset+file%3D%2Fstore%2Fmc%2FRunIISummer19UL17NanoAODv2%2FTTToHadronic_TuneCP5_13TeV-powheg-pythia8%2FNANOAODSIM%2F106X_mc2017_realistic_v8-v1%2F280000%2F1FA6BD39-B319-C143-92BC-13BC01AF4B89.root
if this PR is a backport please specify the original PR and why you need to backport that PR:
NA