-
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
drop type specs in RecoTracker/{MkFit,MeasurementDet,IterativeTracking} #30671
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-30671/16962
|
A new Pull Request was created by @jeongeun (JeongEun Lee) for master. It involves the following packages: RecoTracker/IterativeTracking @perrotta, @jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins.
|
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
clusterChargeCut = dict(refToPSet_ = 'SiStripClusterChargeCutLoose'), | ||
pTChargeCutThreshold = 15. | ||
) | ||
trackingPhase2PU140.toModify(highPtTripletStepChi2Est, | ||
clusterChargeCut = dict(refToPSet_ = "SiStripClusterChargeCutNone"), | ||
clusterChargeCut = dict(refToPSet_ = 'SiStripClusterChargeCutNone'), | ||
MaxChi2 = cms.double(20.0) |
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 can also get dropped
ComponentName = cms.string('jetCoreRegionalStepChi2Est'), | ||
nSigma = cms.double(3.0), | ||
MaxChi2 = cms.double(30.0) | ||
#ComponentName = cms.string('jetCoreRegionalStepChi2Est'), |
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.
Please remove commented out code
refToPSet_ = cms.string('SiStripClusterChargeCutLoose') | ||
) | ||
minGoodStripCharge = dict( | ||
refToPSet_ = cms.string('SiStripClusterChargeCutLoose')) |
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 can also get dropped
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 aim was to override the existing
mkFitInputConverter.minGoodStripCharge = cms.PSet(
value = cms.required.double
)
with
mkFitInputConverter.minGoodStripCharge = cms.PSet(
refToPSet_ = cms.string('SiStripClusterChargeCutLoose')
)
With @jeongeun's change the resulting PSet would be
mkFitInputConverter.minGoodStripCharge = cms.PSet(
value = cms.required.double,
refToPSet_ = cms.string('SiStripClusterChargeCutLoose')
)
which should still work properly because refToPSet_
overrides whatever else exists in the PSet. But I would find it clearer if refToPSet_
would be the only member of the PSet. Therefore I'd suggest to use cms.PSet(refToPSet_ = cms.string('...'))
instead of dict(...)
everywhere a refToPSet_
is inserted, because the aim is to override the existing PSet instead of overriding a single PSet member.
Dropping cms.string()
should not work because the original PSet does not have refToPSet_
member.
Chi2ChargeMeasurementEstimator = Chi2ChargeMeasurementEstimatorDefault.clone() | ||
Chi2ChargeMeasurementEstimator.clusterChargeCut = cms.PSet(refToPSet_ = cms.string('SiStripClusterChargeCutTight')) | ||
Chi2ChargeMeasurementEstimator = Chi2ChargeMeasurementEstimatorDefault.clone( | ||
clusterChargeCut = dict(refToPSet_ = cms.string('SiStripClusterChargeCutTight')) |
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 can also get dropped ("string")
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 string needs to stay (no refToPSet_
member in the original PSet), and I'd suggest to keep the explicit PSet
there as well.
please test |
The tests are being triggered in jenkins.
|
+1 |
Comparison job queued. |
Comparison is ready @slava77 comparisons for the following workflows were not done due to missing matrix map:
Comparison Summary:
|
+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 (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
@jeongeun in the last IB we have three failing workflows (see https://cmssdt.cern.ch/SDT/html/cmssdt-ib/#/relVal/CMSSW_11_2/2020-07-16-1100?selectedArchs=slc7_amd64_gcc820&selectedFlavors=X&selectedStatus=failed). The message is
I suspect it is related to this PR which applies changes to |
PR description: Update the safer syntax for existing parameter
Instead of modifying parameters with full type specs, which can be interpreted as an insertion of a new parameter, it is a safer way to protect from parameter name mistakes and will also help in possible parameter migrations.
(The references were PR#29979, PR#30147, PR#30270 , PR#30271, PR#30353, PR#30556)
In this PR, 19 files updated.
PR validation:
Event Content comparison check was also done and there is no change with these updates.
Tested in CMSSW_11_2_X, the basic test all passed in the CMSSW PR instructions.