-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Run 3 FastSim refinement for PUPPI jets #48587
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
base: master
Are you sure you want to change the base?
Conversation
|
cms-bot internal usage |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-48587/45554 |
|
A new Pull Request was created by @sbein for master. It involves the following packages:
@cmsbuild, @ftorrresd, @hqucms can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
41ad6d7 to
bbff503
Compare
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-48587/45647
|
|
Pull request #48587 was updated. @cmsbuild, @ftorrresd, @hqucms can you please check and sign again. |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-48587/45648
|
|
Pull request #48587 was updated. @cmsbuild, @ftorrresd, @hqucms can you please check and sign again. |
|
enable nano |
|
please test |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-48587/46731 |
|
Pull request #48587 was updated. @battibass, @cmsbuild, @ftorrresd can you please check and sign again. |
|
It's better now but the mask saga continues. I have implemented a mask that tosses the refined values and puts back in the originals for cases where an unrefined UParT tagger value was negative (cut made in the training). But the "originals" are not quite the originals, because nested ternaries caused the parser to either crash or assign completely wrong refined values. I think it's pretty good now, and the only down side seems to be that the neat -1 values for the UParT taggers can sometimes be -10. @kpedro88 or anyone, you are welcome to try to implement the -1 safety assignment as in In the masking expression, which is currently: (missing safety), Or suggest the fix if this is a known problem. The parser is just super fragile though, and the current commit might be the best we can do. |
|
please test |
|
+1 Size: This PR adds an extra 28KB to repository The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Comparison SummarySummary:
Nano size comparison Summary:
NANO Comparison SummarySummary:
|
…e other negative DeepJet and UParT tagger values (all less than -1) without breaking the parser
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-48587/46752 |
|
Pull request #48587 was updated. @battibass, @cmsbuild, @ftorrresd can you please check and sign again. |
|
please test |
|
+1 Size: This PR adds an extra 28KB to repository The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Comparison SummarySummary:
Nano size comparison Summary:
NANO Comparison SummarySummary:
|


This PR accompanies a cms-data PR cms-data/PhysicsTools-NanoAOD#20 containing the .onnx file.
This PR is the Run 3 version of an earlier Run 2 PR: #40553, applying a correction to PUPPI jets in NANOAOD (previously was CHS jets for Run 2 UL). The PR effects only NANOAOD and NANOEDM files.
We update the nano-config file needed for regression-based refinement are included for FastSim Run 3 ak4 PUPPI jet variables, effecting only the NANO-level collections:
Jet_pt
Jet_btagDeepFlavB
Jet_btagDeepFlavCvB
Jet_btagDeepFlavCvL
Jet_btagDeepFlavQG
Jet_btagUParTAK4B
Jet_btagUParTAK4CvB
Jet_btagUParTAK4CvL
Jet_btagUParTAK4QvG
The results of the refinement compare the refined FastSim, original FastSim, and FullSim distributions for these variables:
https://www.desy.de/~beinsam/FastSim/Refinement/Jets/figs31July_long/index.html
The PR also adds 9 backup branches
Jet_ptunrefined
Jet_btagDeepFlavBunrefined
Jet_btagDeepFlavCvBunrefined
Jet_btagDeepFlavCvLunrefined
Jet_btagDeepFlavQGunrefined
Jet_btagUParTAK4Bunrefined
Jet_btagUParTAK4CvBunrefined
Jet_btagUParTAK4CvLunrefined
Jet_btagUParTAK4QvGunrefined
which store the original values, as a temporary measure for risk mitigation. The preliminary version of these results were approved for CHEP24 and discussed in numerous FastSim meetings, e.g.,
https://indico.cern.ch/event/1545175/
and at the PAGs Jamboree: https://indico.cern.ch/event/1519600/contributions/6444135/attachments/3056422/5403783/Run3FastSimPagJamboree.pdf