-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Use the original GEN module name for ExternalGeneratorFilter in recognizing generator types #34436
Use the original GEN module name for ExternalGeneratorFilter in recognizing generator types #34436
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34436/23856
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34436/23857
|
A new Pull Request was created by @colizz (Congqiao Li) for master. It involves the following packages:
@cmsbuild, @santocch can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
…nizing generator types set moduleName to its original module name as ExternalGeneratorFilter is a wrapper of a specific generator filter
684b43d
to
4c45163
Compare
also kindly ping generators @agrohsje, @GurpreetSinghChahal |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34436/23858
|
assign generators |
New categories assigned: generators @mkirsano,@SiewYan,@alberto-sanchez,@agrohsje,@GurpreetSinghChahal you have been requested to review this Pull request/Issue and eventually sign? Thanks |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-56f3ad/16677/summary.html Comparison SummarySummary:
|
merge |
…nizing generator types (10_6_X) Backport cms-sw#34436 to 10_6_X
+generators |
+1 |
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 be automatically merged. |
PR description:
When the generator type (Pythia8, Herwig7, ...) needs to be recognized from the GEN module name, the use of the
ExternalGeneratorFilter
module may confuse the code because it is a wrapper of the real generator module for use.In such cases, we set the
moduleName
to the real generator module insideExternalGeneratorFilter
.A backport to 10_6_X is also needed.
PR validation:
HadronAndPartonSelector
is one module that detects the general type with the above method, and is in the sequence of producing NanoAOD/NanoGEN.Below test produces the NanoGEN output for process
BTV-RunIISummer20UL17GEN-00002
, usingExternalGeneratorFilter
as the GEN event module.Checking
%MSG-i SpecialModule
and we validate that themoduleName
is corrected.