-
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
[Draft] Add fillDescriptions to SiPixel digitizers #40673
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40673/34018
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-40673/34048
|
A new Pull Request was created by @tvami (Tamas Vami) for master. It involves the following packages:
@cmsbuild, @AdrianoDee, @srimanob, @civanch, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild , please test |
-1 Failed Tests: Build HeaderConsistency ClangBuild BuildI found compilation error when building: >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_13_0_X_2023-02-03-1100/src/SimTracker/SiPixelDigitizer/plugins/SiPixelDigitizer.cc >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_13_0_X_2023-02-03-1100/src/SimTracker/SiPixelDigitizer/plugins/SealModule.cc >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_13_0_X_2023-02-03-1100/src/SimTracker/SiPixelDigitizer/plugins/PreMixingSiPixelWorker.cc >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_13_0_X_2023-02-03-1100/src/SimTracker/SiPixelDigitizer/plugins/SiPixelDigitizerAlgorithm.cc In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_13_0_X_2023-02-03-1100/src/SimTracker/SiPixelDigitizer/plugins/SiPixelDigitizerAlgorithm.cc:87: /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_13_0_X_2023-02-03-1100/src/SimTracker/Common/interface/SiPixelChargeReweightingAlgorithm.h:856:8: error: duplicate 'inline' 856 | inline inline void SiPixelChargeReweightingAlgorithm::fillPSetDescription(edm::ParameterSetDescription& desc) { | ^~~~~~ | ------ gmake: *** [tmp/el8_amd64_gcc11/src/SimTracker/SiPixelDigitizer/plugins/SimTrackerSiPixelDigitizerPlugins/SiPixelDigitizerAlgorithm.cc.o] Error 1 >> Building edm plugin tmp/el8_amd64_gcc11/src/SimTracker/SiPixelDigitizer/plugins/SimTrackerSiPixelDigitizerPlugins/libSimTrackerSiPixelDigitizerPlugins.so Clang BuildI found compilation warning while trying to compile with clang. Command used:
See details on the summary page. |
so this is funny |
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.
A few remarks that may be known already.
SimTracker/SiPhase2Digitizer/plugins/Phase2TrackerDigitizerAlgorithm.h
Outdated
Show resolved
Hide resolved
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40673/34049
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-40673/34050
|
Pull request #40673 was updated. @cmsbuild, @AdrianoDee, @srimanob, @civanch, @mdhildreth can you please check and sign again. |
@cmsbuild , please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40673/34051
|
@cmsbuild, please abort
|
@makortel I see the following error
|
Right. The current code in this PR cmssw/SimGeneral/MixingModule/plugins/MixingModule.cc Lines 707 to 711 in ee676fe
tells the configuration validation system that MixingModule accepts all parameters, and nothing should be injected in the PSet before passing it to the MixingModule constructor (which is exactly the behavior when a module does not define fillDescriptions() function).
In order for the helper plugin
need to be changed as described in https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideConfigurationValidationAndHelp#A_Plugin_Module_Using_Another_He (and I'd still expect the |
OK, I'll slowly go through these, there is quite a lot of |
I'm sorry, I dont think I'll ever converge on this PR, I'm changing institutes and this will be (even more) out of scope of my responsibilities, so I'm closing this draft PR for now |
PR description:
Opening a draft to discuss #40540 (comment)
PR validation:
in progress
If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
Not a backport and no backport is needed
resolves #40540