Skip to content
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

Reduce complexity of erasing elements from vectors in PATTauHybridProducer #44266

Merged
merged 1 commit into from
Mar 3, 2024

Conversation

mbluj
Copy link
Contributor

@mbluj mbluj commented Feb 29, 2024

PR description:

This PR contains an update to PATTauHybridProducer to reduce complexity of erasing elements from vectors by using std::remove_if instead of looping over elements of the vectors. Originally proposed in #44067 (comment).

PR validation:

Successfully tested with 12634.0_TTbar_14TeV+2023PU wf like this: runTheMatrix.py -l 12634.0 -i all --ibeos

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:

Can be backported together with #44067 to 14_0 for 2024 Nano production.

Erase elements of candidate vectors with remove_if instead of looping over the vectors to reduce complexity
@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 29, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44266/39285

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • PhysicsTools/PatAlgos (reconstruction, xpog)

@hqucms, @cmsbuild, @mandrenguyen, @vlimant, @jfernan2 can you please review it and eventually sign? Thanks.
@Senphy, @AlexDeMoor, @jdolen, @ahinzmann, @nhanvtran, @seemasharmafnal, @AnnikaStein, @Ming-Yan, @gkasieczka, @hatakeyamak, @jdamgov, @mbluj, @gpetruc, @emilbols, @andrzejnovak, @demuller, @mmarionncern, @azotz, @JyothsnaKomaragiri, @schoef, @mariadalfonso, @rappoccio, @gouskos this is something you requested to watch as well.
@sextonkennedy, @rappoccio, @antoniovilela you are the release manager for this.

cms-bot commands are listed here

@mandrenguyen
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ddc12c/37829/summary.html
COMMIT: b8a0932
CMSSW: CMSSW_14_1_X_2024-02-29-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/44266/37829/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-ddc12c/37829/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ddc12c/37829/git-merge-result

Comparison Summary

Summary:

  • You potentially added 92 lines to the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 49 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3338784
  • DQMHistoTests: Total failures: 74
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3338688
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 205 log files, 166 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@mandrenguyen
Copy link
Contributor

type performance-improvements

@mandrenguyen
Copy link
Contributor

+1

@vlimant
Copy link
Contributor

vlimant commented Mar 2, 2024

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 2, 2024

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

@antoniovilela
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit decad3d into cms-sw:master Mar 3, 2024
11 checks passed
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