Skip to content

NanoAOD: remove saveTriggerResults parameter from NanoAOD*OutputModule (revert #50057)#50797

Open
missirol wants to merge 2 commits intocms-sw:masterfrom
missirol:devel_nanoRemoveParamSaveTriggerResults
Open

NanoAOD: remove saveTriggerResults parameter from NanoAOD*OutputModule (revert #50057)#50797
missirol wants to merge 2 commits intocms-sw:masterfrom
missirol:devel_nanoRemoveParamSaveTriggerResults

Conversation

@missirol
Copy link
Copy Markdown
Contributor

PR description:

This PR reverts #50057 (which was integrated in CMSSW_16_1_0_pre3).

For what I understand (thanks to #50720), the parameter saveTriggerResults introduced in #50057 is redundant, because setting saveTriggerResults to False in instances of NanoAODOutputModule is equivalent to "dropping" the edm::TriggerResults products from those OutputModules.

Merely technical, no changes expected in the outputs of PR tests.

Apologies for the back and forth!

PR validation:

Took CMSSW_16_1_0_pre4 (without this PR) and the step2 config of wf 2500.3001 (NanoAOD step), modified the latter config to use

  • (a) process.NANOAODSIMoutput.saveTriggerResults = cms.untracked.bool(False) in one case, and
  • (b) process.NANOAODSIMoutput.outputCommands += ["drop edmTriggerResults_*_*_*"] in another case,

and verified that the NanoAOD outputs of (a) and (b) have the same branches (and no edm::TriggerResults-related branches are present in the output files).

If this PR is a backport, please specify the original PR and why you need to backport that PR. If this PR will be backported, please specify to which release cycle the backport is meant for:

No backports are necessary (if XPOG requests it, I can backport this PR to 16_1_X in order to remove this redundant parameter in that cycle).

@cmsbuild
Copy link
Copy Markdown
Contributor

cmsbuild commented Apr 23, 2026

cms-bot internal usage

@cmsbuild
Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-50797/49108

@cmsbuild
Copy link
Copy Markdown
Contributor

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

It involves the following packages:

  • PhysicsTools/NanoAOD (xpog)

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

cms-bot commands are listed here

@ftorrresd
Copy link
Copy Markdown
Contributor

enable nano

@ftorrresd
Copy link
Copy Markdown
Contributor

please test

@cmsbuild
Copy link
Copy Markdown
Contributor

+1

Size: This PR adds an extra 16KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d56b96/52906/summary.html
COMMIT: 05c89f4
CMSSW: CMSSW_17_0_X_2026-04-27-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/50797/52906/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 2 lines to the logs
  • Reco comparison results: 7 differences found in the comparisons
  • DQMHistoTests: Total files compared: 53
  • DQMHistoTests: Total histograms compared: 4186963
  • DQMHistoTests: Total failures: 10
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4186933
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 52 files compared)
  • Checked 227 log files, 197 edm output root files, 53 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.094 3.094 0.000 ( +0.0% ) 3.68 3.21 +14.6% 2.586 2.601
NANOmc106Xul16APVv2 2500.0002 3.048 3.048 0.000 ( +0.0% ) 3.71 3.10 +19.4% 2.558 2.625
NANOmc106Xul17v2 2500.0003 3.153 3.153 0.000 ( +0.0% ) 3.43 3.00 +14.1% 2.597 3.029
NANOmc106Xul18v2 2500.0004 3.105 3.105 0.000 ( +0.0% ) 3.44 3.04 +13.2% 2.601 3.005
NANOdata106Xul16v2 2500.0101 1.540 1.540 0.000 ( +0.0% ) 6.09 5.51 +10.6% 2.470 2.744
NANOdata106Xul17v2 2500.0102 1.926 1.926 0.000 ( +0.0% ) 4.09 3.62 +12.9% 2.407 2.837
NANOdata106Xul18v2 2500.0103 1.890 1.890 0.000 ( +0.0% ) 4.88 4.39 +11.2% 2.535 2.822
NANOmcUL16APVreMINI 2500.0201 0.022 0.022 0.000 ( +0.0% ) 1.76 1.86 -5.5% 2.639 2.633
NANOmcUL16reMINI 2500.0202 0.022 0.022 0.000 ( +0.0% ) 1.70 1.80 -5.5% 2.831 2.628
NANOmcUL17reMINI 2500.0203 0.022 0.022 0.000 ( +0.0% ) 1.59 1.55 +2.3% 3.056 2.748
NANOmcUL18reMINI 2500.0204 0.022 0.022 0.000 ( +0.0% ) 1.51 1.60 -5.3% 2.792 2.787
NANOdataUL16APVreMINI 2500.0301 0.035 0.035 0.000 ( +0.0% ) 1.50 1.57 -4.6% 2.685 2.644
NANOdataUL16reMINI 2500.0302 0.036 0.036 0.000 ( +0.0% ) 1.50 1.56 -4.0% 2.623 2.575
NANOdataUL17reMINI 2500.0303 0.037 0.037 0.000 ( +0.0% ) 1.45 1.53 -4.9% 2.696 2.685
NANOdataUL18reMINI 2500.0304 0.036 0.036 0.000 ( +0.0% ) 1.46 1.55 -5.8% 2.702 2.669
NANOmcUL16APVMini2Mini 2500.0401 0.023 0.023 0.000 ( +0.0% ) 2.47 2.43 +1.8% 2.207 2.126
NANOmcUL16Mini2Mini 2500.0402 0.023 0.023 0.000 ( +0.0% ) 2.33 2.50 -6.6% 1.811 2.108
NANOmcUL17Mini2Mini 2500.0403 0.023 0.023 0.000 ( +0.0% ) 2.25 2.31 -2.5% 2.165 2.140
NANOmcUL18Mini2Mini 2500.0404 0.023 0.023 0.000 ( +0.0% ) 2.24 2.33 -3.6% 2.168 2.145
NANOdataUL16Mini2Mini 2500.0501 0.039 0.039 0.000 ( +0.0% ) 3.30 3.41 -3.0% 2.008 1.989
NANOdataUL17Mini2Mini 2500.0502 0.040 0.040 0.000 ( +0.0% ) 2.45 2.45 -0.1% 2.075 2.045
NANOdataUL18Mini2Mini 2500.0503 0.039 0.039 0.000 ( +0.0% ) 2.89 2.94 -1.7% 2.062 2.037
NANOmc130X 2500.1001 3.228 3.228 0.000 ( +0.0% ) 4.13 3.53 +16.8% 2.975 2.959
NANOdata130Xrun3 2500.1101 1.790 1.790 0.000 ( +0.0% ) 6.29 5.65 +11.2% 2.702 2.661
NANOmc23Mini2Mini 2500.1201 0.022 0.022 0.000 ( +0.0% ) 2.64 2.62 +0.6% 1.995 2.003
NANOdata23Mini2Mini 2500.1301 0.041 0.041 0.000 ( +0.0% ) 3.43 3.28 +4.7% 2.321 2.288
ScoutingNANOdata124Xrun3 2500.1501 0.772 0.772 0.000 ( +0.0% ) 32.97 32.84 +0.4% 1.487 1.451
ScoutingNANOmonitordata124Xrun3 2500.1502 0.862 0.862 0.000 ( +0.0% ) 14.04 13.06 +7.5% 1.469 1.379
ScoutingNANOdata130Xrun3 2500.1503 1.251 1.251 0.000 ( +0.0% ) 24.48 24.07 +1.7% 1.464 1.438
ScoutingNANOmonitordata130Xrun3 2500.1504 1.297 1.297 0.000 ( +0.0% ) 10.82 9.74 +11.1% 1.392 1.332
muPOGNANOmc140X 2500.2201 2.269 2.269 0.000 ( +0.0% ) 5.36 5.37 -0.0% 2.105 2.075
EGMNANOmc140X 2500.2202 3.859 3.859 0.000 ( +0.0% ) 3.88 3.79 +2.5% 2.403 2.371
BTVNANOmc140X 2500.2203 10.475 10.475 0.000 ( +0.0% ) 2.50 2.40 +4.0% 2.595 2.545
jmeNANOmc140X 2500.2204 6.639 6.639 0.000 ( +0.0% ) 1.13 0.96 +17.9% 2.510 2.495
lepTrackInfoNANOmc140X 2500.2206 3.553 3.553 0.000 ( +0.0% ) 3.93 3.50 +12.4% 2.412 2.412
ScoutingNANOmc140X 2500.2207 1.488 1.488 0.000 ( +0.0% ) 13.94 11.90 +17.2% 1.761 1.777
ScoutingNANOwithPromptmc140X 2500.2208 4.461 4.461 0.000 ( +0.0% ) 3.18 2.72 +16.7% 2.621 2.664
muPOGNANO140Xrun3 2500.2301 1.683 1.683 0.000 ( +0.0% ) 7.63 6.04 +26.4% 2.328 2.336
EGMNANOdata140Xrun3 2500.2302 2.623 2.623 0.000 ( +0.0% ) 5.74 4.49 +27.9% 2.349 2.660
BTVNANOdata140Xrun3 2500.2303 5.612 5.612 0.000 ( +0.0% ) 3.68 3.06 +20.3% 2.550 2.854
jmeNANOdata140Xrun3 2500.2304 3.976 3.976 0.000 ( +0.0% ) 1.46 1.26 +16.1% 2.376 2.423
lepTrackInfoNANOdata140Xrun3 2500.2306 2.413 2.413 0.000 ( +0.0% ) 5.76 4.82 +19.5% 2.674 2.660
ScoutingNANOdata140Xrun3 2500.2307 1.101 1.101 0.000 ( +0.0% ) 29.88 27.04 +10.5% 1.456 1.457
ScoutingNANOmonitordata140Xrun3 2500.2308 2.784 2.784 0.000 ( +0.0% ) 5.06 4.34 +16.7% 2.910 2.792
ScoutingNANOmonitorWithPromptdata140Xrun3 2500.2309 2.784 2.784 0.000 ( +0.0% ) 5.09 4.34 +17.3% 2.781 2.778
L1ScoutingSelectionNANOdata140Xrun3 2500.2311 0.081 0.081 0.000 ( +0.0% ) 48.55 44.72 +8.6% 0.747 0.680
L1ScoutingNANOdata140Xrun3 2500.231 0.082 0.082 0.000 ( +0.0% ) 4.04 3.77 +7.2% 0.828 0.829
l1DPGNANO140Xrun3 2500.2401 9.405 9.405 0.000 ( +0.0% ) 6.68 6.11 +9.3% 1.745 1.712
muDPGNANO140Xrun3 2500.2402 10.377 10.377 0.000 ( +0.0% ) 1.63 1.51 +8.5% 1.610 1.579
muDPGNANOBkg140Xrun3 2500.2403 6.401 6.401 0.000 ( +0.0% ) 14.37 13.54 +6.1% 0.801 0.982
hcalDPGNANO140Xrun3 2500.2404 486.015 486.015 0.000 ( +0.0% ) 1.16 1.08 +7.8% 1.571 1.571
hcalDPGCalibNANO140Xrun3 2500.2405 826.418 826.418 0.000 ( +0.0% ) 1.53 1.42 +7.9% 1.581 1.562
hcalDPGMCNANO140Xrun3 2500.2501 645.333 645.333 0.000 ( +0.0% ) 1.65 1.55 +6.4% 1.702 1.658
NANOmc2024reMINI 2500.2601 0.021 0.021 0.000 ( +0.0% ) 1.93 1.75 +10.2% 2.680 2.659
NANOdata2024reMINI 2500.2701 0.036 0.036 0.000 ( +0.0% ) 1.90 1.67 +13.9% 2.612 2.595
NANOmc150X 2500.3001 3.224 3.224 0.000 ( +0.0% ) 17.61 14.10 +24.9% 2.604 2.594
NANOdata150X 2500.3101 2.144 2.144 0.000 ( +0.0% ) 35.39 26.79 +32.1% 2.260 2.254
NANOdata150X 2500.3102 2.630 2.630 0.000 ( +0.0% ) 28.58 24.95 +14.6% 2.306 2.272
muPOGNANOmc150X 2500.3201 2.344 2.344 0.000 ( +0.0% ) 16.38 12.38 +32.3% 2.420 2.391
EGMNANOmc150X 2500.3202 4.118 4.118 0.000 ( +0.0% ) 14.63 11.20 +30.6% 2.536 2.496
BTVNANOmc150X 2500.3203 10.559 10.559 0.000 ( +0.0% ) 4.89 3.80 +28.7% 2.744 2.699
jmeNANOmc150X 2500.3204 6.460 6.460 0.000 ( +0.0% ) 1.36 1.13 +20.2% 2.673 2.670
jmeNANOrePuppimc150X 2500.3205 6.464 6.464 0.000 ( +0.0% ) 1.27 1.11 +14.9% 3.022 2.933
lepTrackInfoNANOmc150X 2500.3206 3.728 3.728 0.000 ( +0.0% ) 15.32 12.74 +20.2% 2.506 2.495
ScoutingNANOmc150X 2500.3207 1.563 1.563 0.000 ( +0.0% ) 19.89 17.74 +12.1% 2.271 2.235
ScoutingNANOwithPromptmc150X 2500.3208 4.781 4.781 0.000 ( +0.0% ) 10.49 9.73 +7.8% 2.728 2.685
BPHNANOmc150X 2500.3209 4.135 4.135 0.000 ( +0.0% ) 16.84 15.14 +11.2% 2.603 2.623
muPOGNANO150Xrun3 2500.3301 1.244 1.244 0.000 ( +0.0% ) 30.55 24.44 +25.0% 2.099 2.095
EGMNANOdata150Xrun3 2500.3302 2.985 2.985 0.000 ( +0.0% ) 26.38 23.18 +13.8% 2.191 2.181
BTVNANOdata150Xrun3 2500.3303 7.971 7.971 0.000 ( +0.0% ) 5.98 5.14 +16.4% 2.424 2.389
jmeNANOdata150Xrun3 2500.3304 4.349 4.349 0.000 ( +0.0% ) 1.66 1.44 +15.1% 2.374 2.373
jmeNANOrePuppidata150Xrun3 2500.3305 4.332 4.332 0.000 ( +0.0% ) 1.44 1.28 +12.6% 2.632 2.633
lepTrackInfoNANOdata150Xrun3 2500.3306 2.625 2.625 0.000 ( +0.0% ) 29.05 24.30 +19.5% 2.480 2.180
ScoutingNANOdata150Xrun3 2500.3307 1.738 1.738 0.000 ( +0.0% ) 32.12 28.65 +12.1% 1.619 1.466
ScoutingNANOmonitordata150Xrun3 2500.3308 1.400 1.400 0.000 ( +0.0% ) 27.70 24.17 +14.6% 2.132 2.100
ScoutingNANOmonitorWithPromptdata150Xrun3 2500.3309 2.602 2.602 0.000 ( +0.0% ) 17.92 16.32 +9.8% 2.496 2.472
L1ScoutingNANOdata150Xrun3 2500.3311 0.078 0.078 0.000 ( +0.0% ) 3.52 3.26 +8.0% 0.954 0.847
L1ScoutingSelectionNANOdata150Xrun3 2500.3312 0.078 0.078 0.000 ( +0.0% ) 26.74 24.29 +10.1% 0.965 0.849
BPHNANOdata150Xrun3 2500.331 2.632 2.632 0.000 ( +0.0% ) 33.47 29.03 +15.3% 2.297 2.307
L1ScoutingNANOdata160Xrun3 2500.4301 0.110 0.110 0.000 ( +0.0% ) 2.13 2.03 +4.9% 0.934 0.827
L1ScoutingSelectionNANOdata160Xrun3 2500.4302 0.113 0.113 0.000 ( +0.0% ) 19.31 17.41 +10.9% 0.964 0.864
TTbarMINIAOD10.6_UL18v2 2500.9001 1.814 1.814 0.000 ( +0.0% ) 35.43 30.47 +16.3% 1.890 1.795
TTbarMINIAOD14.0 2500.9002 1.662 1.662 0.000 ( +0.0% ) 32.09 29.86 +7.5% 1.501 1.417
DYToLL_M-50_13TeV_pythia8 2500.9101 14.992 14.992 0.000 ( +0.0% ) 7.28 6.61 +10.2% 1.151 1.107
DYToll01234Jets_5f_LO_MLM_Madgraph_LHE_13TeV 2500.9102 0.240 0.171 0.069 ( +40.7% ) 3.01 2.27 +32.7% 0.892 0.892
TTbar_Pow_LHE_13TeV 2500.9103 0.110 0.110 0.000 ( +0.0% ) 2.53 2.37 +6.6% 0.893 0.868

NANO Comparison Summary

Summary:

  • You potentially added 316 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: 43020
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 43020
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 31 files compared)
  • Checked 189 log files, 110 edm output root files, 32 DQM output files
  • TriggerResults: no differences found

@missirol
Copy link
Copy Markdown
Contributor Author

No warnings/errors, and no DQM differences (modulo #47071), in the outputs of the tests, as expected.

@ftorrresd
Copy link
Copy Markdown
Contributor

+1

@cmsbuild
Copy link
Copy Markdown
Contributor

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. @ftenchini, @sextonkennedy, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2)

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.

3 participants