-
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 RecoHI to use default cfipython #34480
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34480/23938
|
A new Pull Request was created by @jeongeun (JeongEun Lee) for master. It involves the following packages:
@perrotta, @jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
useBeamConstraint = cms.bool(False), | ||
maxDistanceToBeam = cms.double(0.1), | ||
minNdof = cms.double(0.0) | ||
vertexCollections = { |
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 vertexCollections
VPSet has two PSets in it, the second one being labeled "withBS"
I suspect that as such you clone the VPSet with both PSet's, modify the first one and let the second one unchanged, while in the previous config only one PSet was in: could you please verify with a dump?
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.
@perrotta Thanks for your comment. Yes, you are right.
I have to modify this file to use VPSet and PSet as it was.
The comparison results are :
edmParameterSetDump updated step2.py (wf 140.53)
vertexCollections: VPSet tracked = ({
{
algorithm: string tracked = 'AdaptiveVertexFitter'
chi2cutoff: double tracked = 3
label: string tracked = ''
maxDistanceToBeam: double tracked = 0.1
minNdof: double tracked = 0
useBeamConstraint: bool tracked = false
},
{
algorithm: string tracked = 'AdaptiveVertexFitter'
chi2cutoff: double tracked = 2.5
label: string tracked = 'WithBS'
maxDistanceToBeam: double tracked = 1
minNdof: double tracked = 2
useBeamConstraint: bool tracked = true
}
})
})
edmParameterSetDump original step2.py (wf 140.53)
vertexCollections: VPSet tracked = ({
{
algorithm: string tracked = 'AdaptiveVertexFitter'
chi2cutoff: double tracked = 3
label: string tracked = ''
maxDistanceToBeam: double tracked = 0.1
minNdof: double tracked = 0
useBeamConstraint: bool tracked = false
}
})
})
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34480/23969
|
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5d513a/16835/summary.html Comparison SummarySummary:
|
+reconstruction
|
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, @perrotta (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. (The previous PRs : PR#33207, PR#33307, PR#33352, PR#33543, PR#33563, PR#33671, PR#34007, PR#34091, PR#34009, PR#34155, PR#34371)
Updates:
In this PR, 11 files were changed.
1) clone pixelTracks module from cfipython/RecoPixelVertexing/PixelTrackFitting/pixelTracks_cfi.py
2) clone seedingLayersEDProducer module from cfipython/RecoTracker/TkSeedingLayers/seedingLayersEDProducer_cfi.py
3) clone primaryVertexProducer module from cfipython/RecoVertex/PrimaryVertexProducer/primaryVertexProducer_cfi.py
4) clone FastjetJetProducer module from cfipython/RecoJets/JetProducers/FastjetJetProducer_cfi.py
PR validation:
Event Content comparison check was also done and there is no change with these updates.
Tested in CMSSW_12_0_X, the basic test all passed in the CMSSW PR instructions.