-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Migrate legacy modules in GenFilters to global #28946
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28946/13758
|
A new Pull Request was created by @wddgit (W. David Dagenhart) 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 |
please test |
The tests are being triggered in jenkins. |
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
Pull request #28946 was updated. @SiewYan, @efeyazgan, @mkirsano, @cmsbuild, @agrohsje, @alberto-sanchez, @qliphy can you please check and sign again. |
please test rebased plus updated to be more careful about std::abs usage. I'm not sure that it was broken either by this PR or before, but make sure the needed headers are there and it's always looking in std:: for the overloads with no dependence on includes from includes. |
The tests are being triggered in jenkins. |
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
@alberto-sanchez @agrohsje @efeyazgan @mkirsano @qliphy @SiewYan |
Looks good to me. Just one question. The old code kept track of the efficiency. Not sure this is used by someone, but I couldn't find the same info in the updated code. Is this still available? |
The Framework provides something like this for free. Here is an example. Run
Here are selected lines from the output log file:
where f1, f2, f3, f4, f5, and f6 are the module labels of some
The only thing that is missing is the efficiency itself which The downside of the counters that were in the modules is I'll also note some modules in GenFilters have these counters and some |
Thanks @wddgit . |
@agrohsje Are you the generators official approver? For some reason, it says it still needs approval? Maybe the +1 needs to be on the first line? Thanks. |
+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 now be reviewed by the release team before it's merged. @davidlange6, @silviodonato, @fabiocos (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Migrate 4 legacy modules in GeneratorInterface/GenFilters
to be global filters to improve multi threaded performance.
BCToEFilter
FourLepFilter
LHEGenericFilter
LHEVpTFilter
Includes some cleanup. (This is part 1, more of these PRs are coming
and they will repeat the patterns in this one. If there is something you
do not like, please let me know.)
PR validation:
Relies on existing tests. Output should not change, except that some
output to log files containing a count of events and events passed
is deleted.