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

add fillDescriptions to several plugins used at HLT (5/N) #47224

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

mmusich
Copy link
Contributor

@mmusich mmusich commented Jan 31, 2025

PR description:

This PR is similar in spirit to #47017, #47045, #47079, #47107, #47136 and #47191. It adds fillDescriptions (and applies light modification to modernize the source code) to a few EDProducers used at HLT for both Run 3 and Phase 2.

  • unfortunately due to the inheritance structure of the general utility classes in the CommonTools subsystem the changes needed to be extended to a lot of other modules that are not used at HLT (commit 083eb7b).

PR validation:

  • addOnTests.py runs fine.
  • hltPhase2UpgradeIntegrationTests runs fine.
  • runTheMatrix.py -l limited runs fine.

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:

N/A

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 31, 2025

cms-bot internal usage

@cmsbuild
Copy link
Contributor

@mmusich
Copy link
Contributor Author

mmusich commented Jan 31, 2025

@cmsbuild, please test


void metsig::SignAlgoResolutions::fillPSetDescription(edm::ParameterSetDescription &desc) {
// ECAL
desc.addOptional<std::vector<double>>("EB_EtResPar", {0.2, 0.03, 0.005});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addOptional does not work with ConfDb...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we established already, it does - when a default is provided.

@cmsbuild
Copy link
Contributor

-1

Failed Tests: HeaderConsistency UnitTests RelVals
Size: This PR adds an extra 416KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-93ce1a/44107/summary.html
COMMIT: ab7a710
CMSSW: CMSSW_15_0_X_2025-01-30-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/47224/44107/install.sh to create a dev area with all the needed externals and cmssw changes.

Unit Tests

I found 1 errors in the following unit tests:

---> test testRecoMETMETProducers had ERRORS

RelVals

----- Begin Fatal Exception 31-Jan-2025 16:14:50 CET-----------------------
An exception of category 'Configuration' occurred while
   [0] Constructing the EventProcessor
   [1] Validating configuration of module: class=CaloMETProducer label='recoExoticaValidationCaloHT'
Exception Message:
Illegal parameter found in configuration.  The parameter is named:
 'jets'
You could be trying to use a parameter name that is not
allowed for this plugin or it could be misspelled.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 31-Jan-2025 16:10:50 CET-----------------------
An exception of category 'Configuration' occurred while
   [0] Constructing the EventProcessor
   [1] Validating configuration of module: class=CaloMETProducer label='recoExoticaValidationCaloHT'
Exception Message:
Illegal parameter found in configuration.  The parameter is named:
 'jets'
You could be trying to use a parameter name that is not
allowed for this plugin or it could be misspelled.
----- End Fatal Exception -------------------------------------------------

@civanch
Copy link
Contributor

civanch commented Feb 3, 2025

+1

@mmusich
Copy link
Contributor Author

mmusich commented Feb 4, 2025

@cms-sw/dqm-l2 @cms-sw/pdmv-l2 @cms-sw/xpog-l2 do you have any comment concerning this PR?

@antoniovagnerini
Copy link

+dqm

@hqucms
Copy link
Contributor

hqucms commented Feb 4, 2025

+1

@mmusich
Copy link
Contributor Author

mmusich commented Feb 4, 2025

+hlt

  • technical, no regressions expected.

@AdrianoDee
Copy link
Contributor

+pdmv

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 5, 2025

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

@mandrenguyen
Copy link
Contributor

+1

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.