-
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
Migrate module config in RecoTracker{IterativeTracking} to use default cfipython v3 #35194
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35194/25130
|
A new Pull Request was created by @jeongeun (JeongEun Lee) for master. It involves the following packages:
@jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild please test |
-1 Failed Tests: Build BuildI found compilation warning when building: See details on the summary page. |
mixedTripletStepSeedLayersA = cms.EDProducer('SeedingLayersEDProducer', | ||
layerList = cms.vstring('BPix2+FPix1_pos+FPix2_pos', 'BPix2+FPix1_neg+FPix2_neg'), | ||
# layerList = cms.vstring('BPix1+BPix2+BPix3', | ||
from RecoTracker.TkSeedingLayers.seedingLayersEDProducer_cfi as _seedmod |
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.
from RecoTracker.TkSeedingLayers.seedingLayersEDProducer_cfi as _seedmod | |
import RecoTracker.TkSeedingLayers.seedingLayersEDProducer_cfi as _seedmod |
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.
@jeongeun please check/update this.
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35194/25315
|
@cmsbuild please test |
layerList = cms.vstring('BPix2+FPix1_pos+FPix2_pos', 'BPix2+FPix1_neg+FPix2_neg'), | ||
# layerList = cms.vstring('BPix1+BPix2+BPix3', | ||
import RecoTracker.TkSeedingLayers.seedingLayersEDProducer_cfi as _seedmod | ||
mixedTripletStepSeedLayersA = _seedmod.seedingLayersEDProducer.clone( |
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.
there is now a redundant import RecoTracker.TkSeedingLayers.seedingLayersEDProducer_cfi as _mod
on L164.
Please remove it there.
# 'BPix1+BPix2+FPix1_pos', 'BPix1+BPix2+FPix1_neg', | ||
# 'BPix1+FPix1_pos+FPix2_pos', 'BPix1+FPix1_neg+FPix2_neg', | ||
# 'BPix2+FPix1_pos+FPix2_pos', 'BPix2+FPix1_neg+FPix2_neg'), | ||
# 'BPix2+FPix1_pos+FPix2_pos', 'BPix2+FPix1_neg+FPix2_neg'], | ||
BPix = cms.PSet( |
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 implementation in cfipython is
seedingLayersEDProducer = cms.EDProducer('SeedingLayersEDProducer',
layerList = cms.vstring(),
BPix = cms.PSet(),
FPix = cms.PSet(),
TIB = cms.PSet(),
TID = cms.PSet(),
TOB = cms.PSet(),
TEC = cms.PSet(),
MTIB = cms.PSet(),
MTID = cms.PSet(),
MTOB = cms.PSet(),
MTEC = cms.PSet(),
So, I expect that the following should work (same for all other PSet in this module as well as in mixedTripletStepSeedLayersB
in this file.
BPix = cms.PSet( | |
BPix = dict( |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35194/25461
|
@cmsbuild please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9b49bf/18850/summary.html Comparison SummarySummary:
|
@jeongeun
Please check and follow up in another PR. |
I mean |
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, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Optimization of the python configurations: Improve maintainability by cleaning up the duplicated and cloning from the default/reference configurations.
In this PR, 1 file changed.
RecoTracker/IterativeTracking/python/MixedTripletStep_cff.py
The previous PR is #34007.
PR validation:
Event Content comparison check was also done and there is no change with these updates.
Tested in CMSSW_12_1_X, the basic test all passed in the CMSSW PR instructions.