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 new configuration options to CloseByParticleGun (backport) #45601

Merged

Conversation

OzAmram
Copy link
Contributor

@OzAmram OzAmram commented Jul 30, 2024

Backport of #45515 and older #44008 to 14_0_X release cycle

Functionality needed for upcoming MC production that we do not wish to delay for 14_1_0 release

Description from #45515

This PR adds new functionality to the CloseByParticleGun, specifically the ability to logarithmically space the energy distribution and to specify the particle location based on R and eta. These developments are done in support of upcoming sample generation of HGCal simulations for ML4Sim R&D

Also promoted previous LogErrors related to inconsistencies of the configuration parameters into exceptions

@kpedro88

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @OzAmram for CMSSW_14_0_X.

It involves the following packages:

  • IOMC/ParticleGuns (generators)

@bbilin, @cmsbuild, @lviliani, @menglu21, @mkirsano can you please review it and eventually sign? Thanks.
@fabiocos, @grzanka 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

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 30, 2024

cms-bot internal usage

@kpedro88
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: RelVals
Size: This PR adds an extra 16KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-868197/40697/summary.html
COMMIT: 938b266
CMSSW: CMSSW_14_0_X_2024-07-30-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/45601/40697/install.sh to create a dev area with all the needed externals and cmssw changes.

RelVals

----- Begin Fatal Exception 31-Jul-2024 05:22:09 CEST-----------------------
An exception of category 'Configuration' occurred while
   [0] Constructing the EventProcessor
   [1] Validating configuration of module: class=CloseByParticleGunProducer label='generator'
Exception Message:
Illegal parameters found in configuration.  The parameters are named:
 'EnMax'
 'EnMin'
 'MaxEnSpread'
You could be trying to use parameter names that are not
allowed for this plugin or they could be misspelled.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 31-Jul-2024 05:22:19 CEST-----------------------
An exception of category 'Configuration' occurred while
   [0] Constructing the EventProcessor
   [1] Validating configuration of module: class=CloseByParticleGunProducer label='generator'
Exception Message:
Illegal parameters found in configuration.  The parameters are named:
 'EnMax'
 'EnMin'
 'MaxEnSpread'
You could be trying to use parameter names that are not
allowed for this plugin or they could be misspelled.
----- End Fatal Exception -------------------------------------------------

@cmsbuild
Copy link
Contributor

Pull request #45601 was updated. @bbilin, @cmsbuild, @lviliani, @menglu21, @mkirsano can you please check and sign again.

@OzAmram
Copy link
Contributor Author

OzAmram commented Jul 31, 2024

Sorry forgot to update the configuration of matrix commands in in the first commit

@kpedro88
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 16KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-868197/40706/summary.html
COMMIT: c238fb8
CMSSW: CMSSW_14_0_X_2024-07-31-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/45601/40706/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@kpedro88
Copy link
Contributor

kpedro88 commented Aug 5, 2024

@cms-sw/generators-l2 please check

@bbilin
Copy link
Contributor

bbilin commented Aug 7, 2024

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 7, 2024

This pull request is fully signed and it will be integrated in one of the next CMSSW_14_0_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_14_1_X is complete. This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @rappoccio, @antoniovilela, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2)

@antoniovilela
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 96d37fb into cms-sw:CMSSW_14_0_X Aug 8, 2024
9 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