-
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
template DQM/SiPixelPhase1Heterogenous
class to be able to handle the Phase-2 SoA objects
#40264
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40264/33315
|
A new Pull Request was created by @mmusich (Marco Musich) for master. It involves the following packages:
The following packages do not have a category, yet: DQM/SiPixelHeterogeneous @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @syuvivida, @pmandrik, @micsucmed, @rvenditti can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
enable gpu |
please test |
…iPixelCompareVertexSoA module
@@ -239,6 +239,15 @@ def customizeHLTfor38761(process): | |||
|
|||
return process | |||
|
|||
def customizeHLTfor40264(process): | |||
for producer in producers_by_type(process, "SiPixelPhase1MonitorVertexSoA"): | |||
producer._TypedParameterizable__type = "SiPixelMonitorVertexSoA" |
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.
this feels hacky... Is there any better option to rename on the fly?
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.
I don't know, but, since this function should soon [*] disappear, I think it is okay here as long as the config dumps are as expected.
There is a recurring issue with renaming plugins used in HLT menus (see #38761 (comment), for example): when the menus are 'migrated in ConfDB' to a newer CMSSW release, ConfDB will only see that the old plugin does not exist anymore (without figuring out its new name). To mitigate this problem, it is useful to have a (pre)release where both old and new plugins exist, so HLT can do this migration more easily.
Afaiu, this means this PR would also include something like
using SiPixelPhase1CompareVertexSoA = SiPixelCompareVertexSoA;
DEFINE_FWK_MODULE(SiPixelPhase1CompareVertexSoA);
(Then, the HLT customisation could even be removed, but it could stay as a reminder for HLT.)
We could then open an issue for the removal of duplicate plugins left by this PR (and by #38761), and solve it early next year.
[*] TSG expects to move HLT menus to 13_0_X in January.
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.
Thanks Marino @missirol for the suggestion. I have implemented it in dfe16cb.
I expect that - eventually - after the alpaka migration is completed, these DQM plugins could be removed from the HLT menu itself and then run on DQM machines as part of a standalone client (as for the other subsystems). But that's likely for after January, so let's go with the way you propose.
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.
Thanks, sounds good.
Fwiw, playing around with the python customisation, this is arguably less hacky (but I'm not asking to make further changes):
process.hltXYZ = cms.EDProducer('NewName', **process.hltXYZ.parameters_())
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.
Does the last point in https://its.cern.ch/jira/browse/CMSHLT-2603 imply we can go ahead an remove
cmssw/DQM/SiPixelHeterogeneous/plugins/SiPixelCompareVertexSoA.cc
Lines 187 to 188 in 6893242
using SiPixelPhase1CompareVertexSoA = SiPixelCompareVertexSoA; | |
DEFINE_FWK_MODULE(SiPixelPhase1CompareVertexSoA); |
and
cmssw/DQM/SiPixelHeterogeneous/plugins/SiPixelMonitorVertexSoA.cc
Lines 133 to 134 in a7263f7
using SiPixelPhase1MonitorVertexSoA = SiPixelMonitorVertexSoA; | |
DEFINE_FWK_MODULE(SiPixelPhase1MonitorVertexSoA); |
or will it be done together with an update of the HLT menu?
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 HLT menus first need to be updated in the release (will be done tomorrow). The duplicate plugins can then removed (I would prefer that's done in a separate PR).
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40264/33319
|
Pull request #40264 was updated. @Martin-Grunewald, @emanueleusai, @ahmad3213, @cmsbuild, @missirol, @jfernan2, @syuvivida, @pmandrik, @micsucmed, @rvenditti can you please check and sign again. |
@cmsbuild, please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-cb40cc/29533/summary.html Comparison SummarySummary:
GPU Comparison SummarySummary:
|
+hlt |
+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. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
This is a follow-up to #39771 and #38761 in order to be able to fully monitor the SoA products for pixel rechits, tracks and vertices for both the phase-1 and phase-2 upgrade detectors.
As promised in #39771 I also deliver the renaming of all classes and packages from
SiPixelPhase1Heterogeneous
toSiPixelHeterogeneous
in commit 64ac830PR validation:
Run successfully
and obtained plots for RecHits, Tracks and Vertices.
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:
N/A
FYI
@AdrianoDee @sroychow