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

Implementation of TauWPThreshold without need to catch exceptions #43890

Merged

Conversation

mbluj
Copy link
Contributor

@mbluj mbluj commented Feb 7, 2024

PR description:

As title says, this PR implements parsing of threshold values in the TauWPThreshold class using function which does not require catching exceptions. Namely it replaces usage of std::stod by std::strtod.
It addresses #39627 independently raised also here #43100 (comment).

Q: I guess it should be backported - to which release series?

PR validation:

Checked with a custom workflow that new implementation of TauWPThreshold behaves as expected for simple numbers, expressions and incorrect expressions.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2024

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43890/38748

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2024

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

It involves the following packages:

  • RecoTauTag/RecoTau (reconstruction)

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

cms-bot commands are listed here

@mbluj
Copy link
Contributor Author

mbluj commented Feb 7, 2024

FYI, @kandrosov, @fwyzard, @mmusich

@mandrenguyen
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2024

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d49615/37279/summary.html
COMMIT: c6d18fd
CMSSW: CMSSW_14_1_X_2024-02-07-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/43890/37279/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@fwyzard
Copy link
Contributor

fwyzard commented Feb 8, 2024

@mbluj @kandrosov thanks for the quick fix 👍🏻

@mbluj
Copy link
Contributor Author

mbluj commented Feb 8, 2024

Shoud it be backported? Which release series are going to be used to test and then run HLT in 2024?

@mmusich
Copy link
Contributor

mmusich commented Feb 8, 2024

Shoud it be backported? Which release series are going to be used to test and then run HLT in 2024?

@mbluj, minimally, please backport it to CMSSW_14_0_X (which is the current operations release this year). CMSSW_13_3_X would be good for internal consistency, but not strictly necessary.

@mandrenguyen
Copy link
Contributor

+reconstruction
Agree we should backport to 14_0_X.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 8, 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)

@mandrenguyen
Copy link
Contributor

type tau

@rappoccio
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit f6cf919 into cms-sw:master Feb 9, 2024
21 checks passed
@mbluj mbluj deleted the CMSSW_14_0_X_tauWPthresholdExceptionFix branch March 13, 2024 13:27
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.

6 participants