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 LHEPtFilter plugin needed for MC generation #28443

Merged

Conversation

ajgilbert
Copy link
Contributor

PR description:

Adds a new plugin in GeneratorInterface/GenFilters that applies a user specified pT (or pT range) cut to the p4 sum of a subset of LHE-level particles. This is needed specifically for the production of Wgamma samples binned in the photon pT, but may be useful more generally in the future.

PR validation:

All tests in runTheMatrix.py -l limited -i all --ibeos passed.

if this PR is a backport please specify the original PR:

Not a backport.

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28443/12855

  • This PR adds an extra 16KB to repository

  • Found files with invalid states:

    • GeneratorInterface/GenFilters/interface/LHEPtFilter.h:
    • GeneratorInterface/GenFilters/src/LHEPtFilter.cc:

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @ajgilbert (Andrew Gilbert) for master.

It involves the following packages:

GeneratorInterface/GenFilters

@SiewYan, @efeyazgan, @mkirsano, @cmsbuild, @agrohsje, @alberto-sanchez, @qliphy can you please review it and eventually sign? Thanks.
@alberto-sanchez, @agrohsje, @mkirsano this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@fabiocos
Copy link
Contributor

@ajgilbert do you really need a separate header?

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@ajgilbert
Copy link
Contributor Author

@fabiocos Indeed not - have removed it.

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28443/12857

  • This PR adds an extra 20KB to repository

  • Found files with invalid states:

    • GeneratorInterface/GenFilters/interface/LHEPtFilter.h:
    • GeneratorInterface/GenFilters/plugins/LHEPtFilter.h:
    • GeneratorInterface/GenFilters/src/LHEPtFilter.cc:

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28443/12858

  • This PR adds an extra 20KB to repository

  • Found files with invalid states:

    • GeneratorInterface/GenFilters/interface/LHEPtFilter.h:
    • GeneratorInterface/GenFilters/plugins/LHEPtFilter.h:
    • GeneratorInterface/GenFilters/src/LHEPtFilter.cc:

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@smuzaffar smuzaffar added this to the CMSSW_11_1_X milestone Dec 2, 2019
@fabiocos
Copy link
Contributor

fabiocos commented Dec 3, 2019

@ajgilbert @makortel does this need to be a global module? For what I can see it might work as a stream module, there is no global action implied, only event-by-event.

@fabiocos
Copy link
Contributor

fabiocos commented Dec 3, 2019

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 3, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/3758/console Started: 2019/12/03 16:10

@agrohsje
Copy link

agrohsje commented Dec 3, 2019

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 3, 2019

This pull request is fully signed and it will be integrated in one of the next master IBs after it passes the integration tests. This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@makortel
Copy link
Contributor

makortel commented Dec 3, 2019

@fabiocos

does this need to be a global module? For what I can see it might work as a stream module, there is no global action implied, only event-by-event.

"Global" is stricter category for modules than "stream" (must be immutable or thread safe). Framework creates one instance of a global module (wrt. an instance per stream for stream modules) leading to smaller memory consumption for immutable modules. Therefore it is preferable to use global modules where feasible.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 3, 2019

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 3, 2019

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 3, 2019

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-47f260/3758/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 2793840
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2793497
  • DQMHistoTests: Total skipped: 341
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 147 log files, 16 edm output root files, 34 DQM output files

@fabiocos
Copy link
Contributor

fabiocos commented Dec 4, 2019

@makortel thanks for the comment, global is stricter indeed, my comment was about the fact that was not strictly needed by the kind of operation performed in the code as it is. I agree that this implementation is more robust against a possible update that would require global operations.

@fabiocos
Copy link
Contributor

fabiocos commented Dec 4, 2019

+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.

None yet

6 participants