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
Add LHEPtFilter plugin needed for MC generation #28443
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28443/12855 |
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. cms-bot commands are listed here |
@ajgilbert do you really need a separate header? |
The code-checks are being triggered in jenkins. |
@fabiocos Indeed not - have removed it. |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28443/12857
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
The code-checks are being triggered in jenkins. |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28443/12858
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
@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. |
please test |
The tests are being triggered in jenkins. |
+1 |
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) |
"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. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
@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. |
+1 |
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.