-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Clean HGCAL digitization. Fix Premixing for HGCAL #32397
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32397/20266
|
A new Pull Request was created by @rovere (Marco Rovere) for master. It involves the following packages: SimCalorimetry/HGCalSimProducers @cmsbuild, @civanch, @kpedro88, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild please test |
+1 |
+1 |
#include "HFNoseDigitizer.h" | ||
|
||
EDM_REGISTER_PLUGINFACTORY(HGCDigitizerPluginFactory, "HGCDigitizerPluginFactory"); | ||
DEFINE_EDM_PLUGIN(HGCDigitizerPluginFactory, HGCEEDigitizer, "HGCEEDigitizer"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The use of a factory to handle the per-subdetector digitizers is very nice.
Since these classes are now moved into the plugins directory, the content of the header files could put into the .cc files, as we usually recommend for plugins. Then each plugin could be registered in its own .cc file.
One could also define a simpler macro:
#define DEFINE_HGC_DIGITIZER(name) DEFINE_EDM_PLUGIN(HGCDigitizerPluginFactory, name, #name);
@rovere thanks for this PR. In addition to the specific review comment, a few general questions/comments:
|
Test beam analysis does not use the digitization code in current version of CMSSW. So this cleanup makes sense. I would like to see what they use in their analysis and make it a part of CMSSW for future usage. |
Comparison results are now available Comparison Summary:
|
@rovere what is the status of this PR? |
@cmsbuild please test |
Changing the names of the digitizer plugins would be possible but it would create a mismatch with the naming convention used for |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32397/20417
|
Pull request #32397 was updated. @civanch, @kpedro88, @mdhildreth can you please check and sign again. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-594c52/11694/summary.html Comparison SummarySummary:
|
+upgrade |
+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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Purely technical. Remove support for older HGCAL geometries that are no longer supported. Clean and simplify the code.
Coupled with the restructuring of the code there's also a fix from @adas1994 (af8481d) to the premixing workflow.
PR validation:
Usual
Phase2
workflows, includingHFNose
ones. No regression expected, but for the premixing workflows that should be fixed by this PR.