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 MET Significance, Covariance Matrix and unclustered energy lepton subtraction #29385
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-29385/14500
|
A new Pull Request was created by @ahinzmann for master. It involves the following packages: PhysicsTools/PatUtils @perrotta, @cmsbuild, @santocch, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins. |
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-29385/14515
|
please test |
The tests are being triggered in jenkins. |
I'm not sure which code-format is implied. |
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
@silviodonato |
merge |
+1 |
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 be automatically merged. |
PR description:
Resolve issue #25849
selectedPatLeptons have no sourceCandidatePtrs linked to them.
Therefore lepton subtraction from unclustered energy fails in METSignficance.cc.
slimmedLeptons have properly linked sourceCandidatePtrs and allows lepton subtraction from unclustered energy.
This resulted in a disagreement between MET significance, unclustered energy and covariance matrix stored in MiniAOD and recomputed out of MiniAOD.
The value in MiniAOD was wrong and is now fixed by converting electrons/photons into candidates with sourceCandidatePtrs when running on RECO.
PR validation:
It was checked that METSignficance.cc now sees all the lepton PF candidates, which were previously not seen on workflow 136.8311.
if this PR is a backport please specify the original PR and why you need to backport that PR:
Backport to 106X for UL re-miniAOD in #29392.