Skip to content

Conversation

@sbein
Copy link
Contributor

@sbein sbein commented Jul 21, 2025

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 21, 2025

cms-bot internal usage

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @sbein for master.

It involves the following packages:

  • PhysicsTools/NanoAOD (xpog)

@cmsbuild, @ftorrresd, @hqucms can you please review it and eventually sign? Thanks.
@gpetruc this is something you requested to watch as well.
@antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@sbein sbein force-pushed the from-CMSSW_15_1_X_2025-07-16-2300 branch from 41ad6d7 to bbff503 Compare July 29, 2025 22:02
@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-48587/45647

@cmsbuild
Copy link
Contributor

Pull request #48587 was updated. @cmsbuild, @ftorrresd, @hqucms can you please check and sign again.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-48587/45648

@cmsbuild
Copy link
Contributor

Pull request #48587 was updated. @cmsbuild, @ftorrresd, @hqucms can you please check and sign again.

@ftorrresd
Copy link
Contributor

enable nano

@ftorrresd
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Pull request #48587 was updated. @battibass, @cmsbuild, @ftorrresd can you please check and sign again.

@sbein
Copy link
Contributor Author

sbein commented Nov 10, 2025

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

btagDeepFlavCvL = Var("?(bDiscriminator('pfDeepFlavourJetTags:probc')+bDiscriminator('pfDeepFlavourJetTags:probuds')+bDiscriminator('pfDeepFlavourJetTags:probg'))>0?bDiscriminator('pfDeepFlavourJetTags:probc')/(bDiscriminator('pfDeepFlavourJetTags:probc')+bDiscriminator('pfDeepFlavourJetTags:probuds')+bDiscriminator('pfDeepFlavourJetTags:probg')):-1",float,doc="DeepJet c vs uds+g discriminator",precision=10),

In the masking expression, which is currently:

btagDeepFlavCvL = Var(f"?{_mask}?userFloat('btagDeepFlavCvLrefined'):bDiscriminator('pfDeepFlavourJetTags:probc')/(bDiscriminator('pfDeepFlavourJetTags:probc')+bDiscriminator('pfDeepFlavourJetTags:probuds')+bDiscriminator('pfDeepFlavourJetTags:probg'))", float, precision=10),

(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.

@battibass
Copy link

please test

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 28KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-83fcff/49372/summary.html
COMMIT: 564a992
CMSSW: CMSSW_16_0_X_2025-11-10-1100/el8_amd64_gcc13
Additional Tests: NANO
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/48587/49372/install.sh to create a dev area with all the needed externals and cmssw changes.

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:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-83fcff/49372/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-83fcff/49372/git-merge-result

Comparison Summary

Summary:

  • You potentially added 19 lines to the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 36 differences found in the comparisons
  • Reco comparison had 2 failed jobs
  • DQMHistoTests: Total files compared: 51
  • DQMHistoTests: Total histograms compared: 3939953
  • DQMHistoTests: Total failures: 208
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3939725
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 50 files compared)
  • Checked 218 log files, 188 edm output root files, 51 DQM output files
  • TriggerResults: no differences found

Nano size comparison Summary:

workflow id kb/ev ref kb/ev diff kb/ev ev/s/thd ref ev/s/thd diff rate mem/thd ref mem/thd
NANOmc106Xul16v2 2500.0001 3.085 3.085 0.000 ( +0.0% ) 3.63 3.76 -3.4% 2.729 2.572
NANOmc106Xul16APVv2 2500.0002 3.041 3.041 0.000 ( +0.0% ) 3.67 3.75 -2.2% 2.755 2.579
NANOmc106Xul17v2 2500.0003 3.144 3.144 0.000 ( +0.0% ) 3.40 3.50 -2.9% 3.218 3.077
NANOmc106Xul18v2 2500.0004 3.097 3.097 0.000 ( +0.0% ) 3.45 3.55 -3.0% 3.197 3.082
NANOdata106Xul16v2 2500.0101 1.539 1.539 0.000 ( +0.0% ) 5.99 6.25 -4.1% 2.752 2.618
NANOdata106Xul17v2 2500.0102 1.926 1.926 0.000 ( +0.0% ) 4.04 4.14 -2.4% 2.912 2.778
NANOdata106Xul18v2 2500.0103 1.890 1.890 0.000 ( +0.0% ) 4.79 4.98 -3.9% 2.801 2.700
NANOmcUL16APVreMINI 2500.0201 0.022 0.022 0.000 ( +0.0% ) 1.73 1.83 -5.6% 2.896 2.540
NANOmcUL16reMINI 2500.0202 0.022 0.022 0.000 ( +0.0% ) 1.76 1.82 -3.3% 2.909 2.548
NANOmcUL17reMINI 2500.0203 0.022 0.022 0.000 ( +0.0% ) 1.60 1.62 -1.3% 3.025 2.663
NANOmcUL18reMINI 2500.0204 0.022 0.022 0.000 ( +0.0% ) 1.58 1.61 -1.5% 2.776 2.691
NANOdataUL16APVreMINI 2500.0301 0.035 0.035 0.000 ( +0.0% ) 1.58 1.56 +1.0% 2.859 2.632
NANOdataUL16reMINI 2500.0302 0.036 0.036 0.000 ( +0.0% ) 1.58 1.61 -1.6% 2.871 2.563
NANOdataUL17reMINI 2500.0303 0.037 0.037 -0.000 ( -0.1% ) 1.53 1.52 +0.2% 2.885 2.673
NANOdataUL18reMINI 2500.0304 0.036 0.036 0.000 ( +0.0% ) 1.54 1.54 -0.5% 2.878 2.645
NANOmcUL16APVMini2Mini 2500.0401 0.023 0.023 0.000 ( +0.0% ) 2.80 3.17 -11.8% 2.138 2.142
NANOmcUL16Mini2Mini 2500.0402 0.023 0.023 -0.000 ( -0.2% ) 2.95 3.10 -4.9% 2.174 2.131
NANOmcUL17Mini2Mini 2500.0403 0.023 0.023 0.000 ( +0.0% ) 2.94 3.05 -3.5% 2.188 2.098
NANOmcUL18Mini2Mini 2500.0404 0.023 0.023 0.000 ( +0.0% ) 3.02 3.06 -1.4% 2.180 2.098
NANOdataUL16Mini2Mini 2500.0501 0.039 0.039 0.000 ( +0.1% ) 4.36 4.39 -0.8% 2.078 1.968
NANOdataUL17Mini2Mini 2500.0502 0.040 0.040 0.000 ( +0.0% ) 3.62 3.72 -2.7% 2.127 2.019
NANOdataUL18Mini2Mini 2500.0503 0.039 0.039 0.000 ( +0.0% ) 3.77 3.78 -0.1% 2.127 2.023
NANOmc130X 2500.1001 3.220 3.220 0.000 ( +0.0% ) 4.09 4.27 -4.0% 3.149 2.988
NANOdata130Xrun3 2500.1101 1.799 1.799 0.000 ( +0.0% ) 6.13 6.45 -4.8% 2.850 2.604
NANOmc23Mini2Mini 2500.1201 0.022 0.022 0.000 ( +0.0% ) 3.89 3.73 +4.4% 2.094 1.956
NANOdata23Mini2Mini 2500.1301 0.041 0.041 0.000 ( +0.0% ) 4.66 4.43 +5.2% 2.383 2.283
ScoutingNANOdata124Xrun3 2500.1501 0.772 0.772 0.000 ( +0.0% ) 33.79 33.93 -0.4% 1.651 1.459
ScoutingNANOmonitordata124Xrun3 2500.1502 0.862 0.862 0.000 ( +0.0% ) 14.28 14.41 -0.9% 1.498 1.363
ScoutingNANOdata130Xrun3 2500.1503 1.251 1.251 0.000 ( +0.0% ) 25.05 24.71 +1.4% 1.641 1.446
ScoutingNANOmonitordata130Xrun3 2500.1504 1.297 1.297 0.000 ( +0.0% ) 10.69 10.91 -2.0% 1.496 1.382
muPOGNANOmc140X 2500.2201 2.065 2.065 0.000 ( +0.0% ) 5.65 5.60 +1.0% 2.238 2.021
EGMNANOmc140X 2500.2202 3.876 3.876 0.000 ( +0.0% ) 3.97 3.95 +0.5% 2.624 2.293
BTVNANOmc140X 2500.2203 10.607 10.607 0.000 ( +0.0% ) 2.56 2.52 +1.8% 2.855 2.465
jmeNANOmc140X 2500.2204 6.667 6.667 0.000 ( +0.0% ) 1.08 1.14 -4.6% 2.534 2.399
lepTrackInfoNANOmc140X 2500.2206 3.570 3.570 0.000 ( +0.0% ) 3.97 4.02 -1.2% 2.626 2.321
ScoutingNANOmc140X 2500.2207 1.488 1.488 0.000 ( +0.0% ) 13.73 14.40 -4.7% 1.932 1.821
ScoutingNANOwithPromptmc140X 2500.2208 4.476 4.476 0.000 ( +0.0% ) 3.11 3.22 -3.4% 2.714 2.867
muPOGNANO140Xrun3 2500.2301 1.469 1.469 0.000 ( +0.0% ) 7.51 8.08 -7.1% 2.567 2.279
EGMNANOdata140Xrun3 2500.2302 2.623 2.623 0.000 ( +0.0% ) 5.25 5.78 -9.2% 2.637 2.574
BTVNANOdata140Xrun3 2500.2303 5.612 5.612 0.000 ( +0.0% ) 3.36 3.69 -8.9% 2.828 2.759
jmeNANOdata140Xrun3 2500.2304 3.976 3.976 0.000 ( +0.0% ) 1.38 1.47 -6.2% 2.375 2.668
lepTrackInfoNANOdata140Xrun3 2500.2306 2.413 2.413 0.000 ( +0.0% ) 5.49 5.78 -4.9% 2.919 2.574
ScoutingNANOdata140Xrun3 2500.2307 1.101 1.101 0.000 ( +0.0% ) 29.42 29.94 -1.7% 1.588 1.485
ScoutingNANOmonitordata140Xrun3 2500.2308 2.784 2.784 0.000 ( +0.0% ) 4.98 5.06 -1.7% 2.876 2.921
ScoutingNANOmonitorWithPromptdata140Xrun3 2500.2309 2.784 2.784 0.000 ( +0.0% ) 4.95 5.08 -2.4% 2.562 2.898
L1ScoutingSelectionNANOdata140Xrun3 2500.2311 0.081 0.081 0.000 ( +0.0% ) 45.28 46.01 -1.6% 0.831 0.681
L1ScoutingNANOdata140Xrun3 2500.231 0.082 0.082 0.000 ( +0.0% ) 3.90 3.95 -1.3% 0.950 0.831
l1DPGNANO140Xrun3 2500.2401 9.404 9.404 0.000 ( +0.0% ) 7.47 7.34 +1.7% 1.868 1.741
muDPGNANO140Xrun3 2500.2402 10.377 10.377 0.000 ( +0.0% ) 1.60 1.67 -4.2% 1.720 1.612
muDPGNANOBkg140Xrun3 2500.2403 6.401 6.401 0.000 ( +0.0% ) 15.70 15.88 -1.1% 1.247 1.205
hcalDPGNANO140Xrun3 2500.2404 486.015 486.015 0.000 ( +0.0% ) 1.15 1.16 -0.2% 1.696 1.611
hcalDPGCalibNANO140Xrun3 2500.2405 826.418 826.418 0.000 ( +0.0% ) 1.48 1.48 -0.3% 1.678 1.551
hcalDPGMCNANO140Xrun3 2500.2501 645.333 645.333 0.000 ( +0.0% ) 1.64 1.65 -0.6% 1.788 1.655
NANOmc2024reMINI 2500.2601 0.021 0.021 0.000 ( +0.0% ) 1.88 1.91 -1.6% 2.577 2.650
NANOdata2024reMINI 2500.2701 0.036 0.036 0.000 ( +0.0% ) 1.86 1.90 -2.0% 2.826 2.569
NANOmc150X 2500.3001 3.217 3.217 0.000 ( +0.0% ) 17.36 18.60 -6.7% 2.735 2.551
NANOdata150X 2500.3101 2.144 2.144 0.000 ( +0.0% ) 34.14 38.13 -10.5% 2.438 2.210
NANOdata150X 2500.3102 2.630 2.630 0.000 ( +0.0% ) 27.80 30.71 -9.5% 2.230 2.212
muPOGNANOmc150X 2500.3201 2.255 2.255 0.000 ( +0.0% ) 16.21 16.25 -0.2% 2.588 2.339
EGMNANOmc150X 2500.3202 4.111 4.111 0.000 ( +0.0% ) 14.42 15.02 -4.0% 2.727 2.404
BTVNANOmc150X 2500.3203 10.552 10.552 0.000 ( +0.0% ) 4.82 4.87 -0.9% 2.955 2.607
jmeNANOmc150X 2500.3204 6.760 6.760 0.000 ( +0.0% ) 1.35 1.35 -0.3% 2.912 2.634
jmeNANOrePuppimc150X 2500.3205 6.763 6.763 0.000 ( +0.0% ) 1.26 1.27 -0.1% 3.183 2.927
lepTrackInfoNANOmc150X 2500.3206 3.721 3.721 0.000 ( +0.0% ) 14.94 15.73 -5.0% 2.726 2.454
ScoutingNANOmc150X 2500.3207 1.563 1.563 0.000 ( +0.0% ) 20.01 20.07 -0.3% 2.459 2.394
ScoutingNANOwithPromptmc150X 2500.3208 4.775 4.775 0.000 ( +0.0% ) 10.62 10.93 -2.9% 2.971 2.697
BPHNANOmc150X 2500.3209 4.127 4.127 0.000 ( +0.0% ) 17.27 18.11 -4.6% 2.800 2.604
muPOGNANO150Xrun3 2500.3301 1.125 1.125 0.000 ( +0.0% ) 31.80 31.64 +0.5% 2.352 2.045
EGMNANOdata150Xrun3 2500.3302 2.985 2.985 0.000 ( +0.0% ) 27.45 27.32 +0.5% 2.472 2.160
BTVNANOdata150Xrun3 2500.3303 7.971 7.971 0.000 ( +0.0% ) 6.01 6.03 -0.3% 2.697 2.307
jmeNANOdata150Xrun3 2500.3304 4.349 4.349 0.000 ( +0.0% ) 1.64 1.66 -1.0% 2.648 2.302
jmeNANOrePuppidata150Xrun3 2500.3305 4.332 4.332 0.000 ( +0.0% ) 1.42 1.47 -3.3% 2.920 2.610
lepTrackInfoNANOdata150Xrun3 2500.3306 2.625 2.625 0.000 ( +0.0% ) 28.70 30.66 -6.4% 2.463 2.393
ScoutingNANOdata150Xrun3 2500.3307 1.738 1.738 0.000 ( +0.0% ) 31.17 31.83 -2.1% 1.651 1.499
ScoutingNANOmonitordata150Xrun3 2500.3308 1.400 1.400 0.000 ( +0.0% ) 26.64 26.98 -1.2% 2.346 2.137
ScoutingNANOmonitorWithPromptdata150Xrun3 2500.3309 2.602 2.602 0.000 ( +0.0% ) 17.75 18.66 -4.9% 2.734 2.479
BPHNANOdata150Xrun3 2500.331 2.632 2.632 0.000 ( +0.0% ) 33.41 36.76 -9.1% 2.532 2.231
TTbarMINIAOD10.6_UL18v2 2500.9001 1.819 1.819 0.000 ( +0.0% ) 35.40 36.39 -2.7% 1.860 1.779
TTbarMINIAOD14.0 2500.9002 1.665 1.665 0.000 ( +0.0% ) 34.73 35.60 -2.4% 1.450 1.446
DYToLL_M-50_13TeV_pythia8 2500.9101 15.005 15.005 0.000 ( +0.0% ) 7.08 7.90 -10.4% 1.082 1.034
DYToll01234Jets_5f_LO_MLM_Madgraph_LHE_13TeV 2500.9102 0.171 0.150 0.020 ( +13.6% ) 2.67 3.16 -15.4% 0.847 0.851
TTbar_Pow_LHE_13TeV 2500.9103 0.110 0.110 0.000 ( +0.0% ) 2.22 2.21 +0.5% 0.852 0.833

NANO Comparison Summary

Summary:

  • You potentially added 83 lines to the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 32
  • DQMHistoTests: Total histograms compared: 41718
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 41718
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 31 files compared)
  • Checked 181 log files, 106 edm output root files, 32 DQM output files
  • TriggerResults: no differences found

…e other negative DeepJet and UParT tagger values (all less than -1) without breaking the parser
@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Pull request #48587 was updated. @battibass, @cmsbuild, @ftorrresd can you please check and sign again.

@kpedro88
Copy link
Contributor

please test

@sbein
Copy link
Contributor Author

sbein commented Nov 10, 2025

I introduced max(x,-1) functions in lieu of ?x>0?x:-1, which restores the "uncalculated" DeepJet and UParT values from their unprotected default values of -10 or larger to -1, without breaking the seemingly fragile parser. The before (left) and after (right) scatter plot of [official branch] VS [original unrefined counterpart] for one example is:
CvL_beforeAfter

so it looks like it's getting the job done.

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 28KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-83fcff/49391/summary.html
COMMIT: 2fc61b1
CMSSW: CMSSW_16_0_X_2025-11-10-1100/el8_amd64_gcc13
Additional Tests: NANO
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/48587/49391/install.sh to create a dev area with all the needed externals and cmssw changes.

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:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-83fcff/49391/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-83fcff/49391/git-merge-result

Comparison Summary

Summary:

  • You potentially added 14 lines to the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 35 differences found in the comparisons
  • Reco comparison had 2 failed jobs
  • DQMHistoTests: Total files compared: 51
  • DQMHistoTests: Total histograms compared: 3939953
  • DQMHistoTests: Total failures: 194
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3939739
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 50 files compared)
  • Checked 218 log files, 188 edm output root files, 51 DQM output files
  • TriggerResults: no differences found

Nano size comparison Summary:

workflow id kb/ev ref kb/ev diff kb/ev ev/s/thd ref ev/s/thd diff rate mem/thd ref mem/thd
NANOmc106Xul16v2 2500.0001 3.085 3.085 0.000 ( +0.0% ) 3.59 3.76 -4.5% 2.670 2.572
NANOmc106Xul16APVv2 2500.0002 3.041 3.041 0.000 ( +0.0% ) 3.66 3.75 -2.6% 2.715 2.579
NANOmc106Xul17v2 2500.0003 3.144 3.144 0.000 ( +0.0% ) 3.40 3.50 -3.0% 3.137 3.077
NANOmc106Xul18v2 2500.0004 3.097 3.097 0.000 ( +0.0% ) 3.42 3.55 -3.8% 3.119 3.082
NANOdata106Xul16v2 2500.0101 1.539 1.539 0.000 ( +0.0% ) 5.94 6.25 -4.9% 2.777 2.618
NANOdata106Xul17v2 2500.0102 1.926 1.926 0.000 ( +0.0% ) 4.07 4.14 -1.6% 2.937 2.778
NANOdata106Xul18v2 2500.0103 1.890 1.890 0.000 ( +0.0% ) 4.86 4.98 -2.4% 2.882 2.700
NANOmcUL16APVreMINI 2500.0201 0.022 0.022 0.000 ( +0.0% ) 0.83 1.83 -54.7% 2.895 2.540
NANOmcUL16reMINI 2500.0202 0.022 0.022 0.000 ( +0.0% ) 0.99 1.82 -45.4% 2.630 2.548
NANOmcUL17reMINI 2500.0203 0.022 0.022 0.000 ( +0.0% ) 0.79 1.62 -51.1% 2.770 2.663
NANOmcUL18reMINI 2500.0204 0.022 0.022 0.000 ( +0.0% ) 0.90 1.61 -43.8% 3.085 2.691
NANOdataUL16APVreMINI 2500.0301 0.035 0.035 0.000 ( +0.0% ) 0.90 1.56 -42.5% 2.856 2.632
NANOdataUL16reMINI 2500.0302 0.036 0.036 0.000 ( +0.0% ) 0.86 1.61 -46.2% 2.876 2.563
NANOdataUL17reMINI 2500.0303 0.037 0.037 -0.000 ( -0.1% ) 0.94 1.52 -38.6% 2.892 2.673
NANOdataUL18reMINI 2500.0304 0.036 0.036 0.000 ( +0.0% ) 0.80 1.54 -48.2% 2.738 2.645
NANOmcUL16APVMini2Mini 2500.0401 0.023 0.023 0.000 ( +0.0% ) 2.28 3.17 -28.3% 2.141 2.142
NANOmcUL16Mini2Mini 2500.0402 0.023 0.023 -0.000 ( -0.2% ) 2.70 3.10 -12.7% 2.176 2.131
NANOmcUL17Mini2Mini 2500.0403 0.023 0.023 0.000 ( +0.0% ) 2.09 3.05 -31.5% 2.179 2.098
NANOmcUL18Mini2Mini 2500.0404 0.023 0.023 0.000 ( +0.0% ) 2.59 3.06 -15.2% 2.175 2.098
NANOdataUL16Mini2Mini 2500.0501 0.039 0.039 0.000 ( +0.1% ) 2.83 4.39 -35.5% 2.075 1.968
NANOdataUL17Mini2Mini 2500.0502 0.040 0.040 0.000 ( +0.0% ) 2.52 3.72 -32.2% 2.126 2.019
NANOdataUL18Mini2Mini 2500.0503 0.039 0.039 0.000 ( +0.0% ) 2.87 3.78 -24.1% 2.128 2.023
NANOmc130X 2500.1001 3.220 3.220 0.000 ( +0.0% ) 4.21 4.27 -1.3% 3.131 2.988
NANOdata130Xrun3 2500.1101 1.799 1.799 0.000 ( +0.0% ) 6.33 6.45 -1.8% 2.842 2.604
NANOmc23Mini2Mini 2500.1201 0.022 0.022 0.000 ( +0.0% ) 2.88 3.73 -22.8% 2.101 1.956
NANOdata23Mini2Mini 2500.1301 0.041 0.041 0.000 ( +0.0% ) 3.46 4.43 -21.9% 2.380 2.283
ScoutingNANOdata124Xrun3 2500.1501 0.772 0.772 0.000 ( +0.0% ) 33.75 33.93 -0.5% 1.648 1.459
ScoutingNANOmonitordata124Xrun3 2500.1502 0.862 0.862 0.000 ( +0.0% ) 14.33 14.41 -0.5% 1.492 1.363
ScoutingNANOdata130Xrun3 2500.1503 1.251 1.251 0.000 ( +0.0% ) 24.73 24.71 +0.1% 1.626 1.446
ScoutingNANOmonitordata130Xrun3 2500.1504 1.297 1.297 0.000 ( +0.0% ) 10.98 10.91 +0.6% 1.491 1.382
muPOGNANOmc140X 2500.2201 2.065 2.065 0.000 ( +0.0% ) 5.66 5.60 +1.1% 2.234 2.021
EGMNANOmc140X 2500.2202 3.876 3.876 0.000 ( +0.0% ) 3.88 3.95 -1.9% 2.634 2.293
BTVNANOmc140X 2500.2203 10.607 10.607 0.000 ( +0.0% ) 2.52 2.52 +0.1% 2.730 2.465
jmeNANOmc140X 2500.2204 6.667 6.667 0.000 ( +0.0% ) 1.14 1.14 +0.3% 2.631 2.399
lepTrackInfoNANOmc140X 2500.2206 3.570 3.570 0.000 ( +0.0% ) 4.02 4.02 -0.0% 2.631 2.321
ScoutingNANOmc140X 2500.2207 1.488 1.488 0.000 ( +0.0% ) 14.49 14.40 +0.6% 1.933 1.821
ScoutingNANOwithPromptmc140X 2500.2208 4.476 4.476 0.000 ( +0.0% ) 3.14 3.22 -2.5% 2.805 2.867
muPOGNANO140Xrun3 2500.2301 1.469 1.469 0.000 ( +0.0% ) 8.14 8.08 +0.7% 2.570 2.279
EGMNANOdata140Xrun3 2500.2302 2.623 2.623 0.000 ( +0.0% ) 5.75 5.78 -0.6% 2.928 2.574
BTVNANOdata140Xrun3 2500.2303 5.612 5.612 0.000 ( +0.0% ) 3.72 3.69 +0.8% 2.929 2.759
jmeNANOdata140Xrun3 2500.2304 3.976 3.976 0.000 ( +0.0% ) 1.44 1.47 -1.7% 2.758 2.668
lepTrackInfoNANOdata140Xrun3 2500.2306 2.413 2.413 0.000 ( +0.0% ) 5.78 5.78 +0.1% 2.922 2.574
ScoutingNANOdata140Xrun3 2500.2307 1.101 1.101 0.000 ( +0.0% ) 29.81 29.94 -0.4% 1.610 1.485
ScoutingNANOmonitordata140Xrun3 2500.2308 2.784 2.784 0.000 ( +0.0% ) 5.03 5.06 -0.7% 3.129 2.921
ScoutingNANOmonitorWithPromptdata140Xrun3 2500.2309 2.784 2.784 0.000 ( +0.0% ) 4.94 5.08 -2.7% 3.023 2.898
L1ScoutingSelectionNANOdata140Xrun3 2500.2311 0.081 0.081 0.000 ( +0.0% ) 45.65 46.01 -0.8% 0.839 0.681
L1ScoutingNANOdata140Xrun3 2500.231 0.082 0.082 0.000 ( +0.0% ) 3.97 3.95 +0.5% 0.963 0.831
l1DPGNANO140Xrun3 2500.2401 9.404 9.404 0.000 ( +0.0% ) 7.53 7.34 +2.6% 1.870 1.741
muDPGNANO140Xrun3 2500.2402 10.377 10.377 0.000 ( +0.0% ) 1.66 1.67 -0.3% 1.720 1.612
muDPGNANOBkg140Xrun3 2500.2403 6.401 6.401 0.000 ( +0.0% ) 15.69 15.88 -1.2% 1.243 1.205
hcalDPGNANO140Xrun3 2500.2404 486.015 486.015 0.000 ( +0.0% ) 1.15 1.16 -0.8% 1.703 1.611
hcalDPGCalibNANO140Xrun3 2500.2405 826.418 826.418 0.000 ( +0.0% ) 1.50 1.48 +1.6% 1.691 1.551
hcalDPGMCNANO140Xrun3 2500.2501 645.333 645.333 0.000 ( +0.0% ) 1.66 1.65 +0.7% 1.793 1.655
NANOmc2024reMINI 2500.2601 0.021 0.021 0.000 ( +0.0% ) 1.95 1.91 +1.7% 3.063 2.650
NANOdata2024reMINI 2500.2701 0.036 0.036 0.000 ( +0.0% ) 1.91 1.90 +0.8% 2.844 2.569
NANOmc150X 2500.3001 3.217 3.217 0.000 ( +0.0% ) 17.54 18.60 -5.7% 2.742 2.551
NANOdata150X 2500.3101 2.144 2.144 0.000 ( +0.0% ) 34.85 38.13 -8.6% 2.473 2.210
NANOdata150X 2500.3102 2.630 2.630 0.000 ( +0.0% ) 28.13 30.71 -8.4% 2.568 2.212
muPOGNANOmc150X 2500.3201 2.255 2.255 0.000 ( +0.0% ) 16.63 16.25 +2.3% 2.594 2.339
EGMNANOmc150X 2500.3202 4.111 4.111 0.000 ( +0.0% ) 14.62 15.02 -2.7% 2.731 2.404
BTVNANOmc150X 2500.3203 10.552 10.552 0.000 ( +0.0% ) 4.85 4.87 -0.4% 2.960 2.607
jmeNANOmc150X 2500.3204 6.760 6.760 0.000 ( +0.0% ) 1.34 1.35 -0.8% 2.314 2.634
jmeNANOrePuppimc150X 2500.3205 6.763 6.763 0.000 ( +0.0% ) 1.27 1.27 +0.0% 2.571 2.927
lepTrackInfoNANOmc150X 2500.3206 3.721 3.721 0.000 ( +0.0% ) 14.64 15.73 -6.9% 2.725 2.454
ScoutingNANOmc150X 2500.3207 1.563 1.563 0.000 ( +0.0% ) 19.99 20.07 -0.4% 2.464 2.394
ScoutingNANOwithPromptmc150X 2500.3208 4.775 4.775 0.000 ( +0.0% ) 10.81 10.93 -1.1% 2.962 2.697
BPHNANOmc150X 2500.3209 4.127 4.127 0.000 ( +0.0% ) 17.43 18.11 -3.8% 2.798 2.604
muPOGNANO150Xrun3 2500.3301 1.125 1.125 0.000 ( +0.0% ) 32.52 31.64 +2.8% 2.353 2.045
EGMNANOdata150Xrun3 2500.3302 2.985 2.985 0.000 ( +0.0% ) 26.07 27.32 -4.6% 2.470 2.160
BTVNANOdata150Xrun3 2500.3303 7.971 7.971 0.000 ( +0.0% ) 5.84 6.03 -3.1% 2.702 2.307
jmeNANOdata150Xrun3 2500.3304 4.349 4.349 0.000 ( +0.0% ) 1.64 1.66 -0.6% 2.346 2.302
jmeNANOrePuppidata150Xrun3 2500.3305 4.332 4.332 0.000 ( +0.0% ) 1.41 1.47 -3.8% 2.610 2.610
lepTrackInfoNANOdata150Xrun3 2500.3306 2.625 2.625 0.000 ( +0.0% ) 27.51 30.66 -10.3% 2.465 2.393
ScoutingNANOdata150Xrun3 2500.3307 1.738 1.738 0.000 ( +0.0% ) 31.04 31.83 -2.5% 1.631 1.499
ScoutingNANOmonitordata150Xrun3 2500.3308 1.400 1.400 0.000 ( +0.0% ) 26.50 26.98 -1.8% 2.338 2.137
ScoutingNANOmonitorWithPromptdata150Xrun3 2500.3309 2.602 2.602 0.000 ( +0.0% ) 17.84 18.66 -4.4% 2.733 2.479
BPHNANOdata150Xrun3 2500.331 2.632 2.632 0.000 ( +0.0% ) 33.20 36.76 -9.7% 2.527 2.231
TTbarMINIAOD10.6_UL18v2 2500.9001 1.819 1.819 0.000 ( +0.0% ) 34.42 36.39 -5.4% 1.861 1.779
TTbarMINIAOD14.0 2500.9002 1.665 1.665 0.000 ( +0.0% ) 33.24 35.60 -6.6% 1.452 1.446
DYToLL_M-50_13TeV_pythia8 2500.9101 15.005 15.005 0.000 ( +0.0% ) 7.00 7.90 -11.4% 0.834 1.034
DYToll01234Jets_5f_LO_MLM_Madgraph_LHE_13TeV 2500.9102 0.437 0.150 0.286 ( +190.8% ) 3.37 3.16 +6.6% 0.844 0.851
TTbar_Pow_LHE_13TeV 2500.9103 0.110 0.110 0.000 ( +0.0% ) 2.15 2.21 -2.6% 0.852 0.833

NANO Comparison Summary

Summary:

  • You potentially removed 105 lines from the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 32
  • DQMHistoTests: Total histograms compared: 41718
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 41718
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 31 files compared)
  • Checked 181 log files, 106 edm output root files, 32 DQM output files
  • TriggerResults: no differences found

@sbein
Copy link
Contributor Author

sbein commented Nov 10, 2025

The plots look as expected and individual values were also checked and confirmed. The higher stats private production confirms the max function worked for the mask:

HighStat

This one's ready for CMS consumption. This is a fairly sizeable change. It could be worth requesting a high-stats NanoDQM comparison with FullSim with (and without) PU.

Please note, in a future PR, one could add the Type-1 MET correction for these jets, which is not implemented currently. Also, the ordering of jets matches the original pT-based ordering in NANO, so one could consider re-ordering those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants