-
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
Do not redefine twice in CMSSW the TkAl muon selectors #43878
Do not redefine twice in CMSSW the TkAl muon selectors #43878
Conversation
cms-bot internal usage |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43878/38735
|
A new Pull Request was created by @perrotta (Andrea Perrotta) for master. It involves the following packages:
@cmsbuild, @consuegs, @perrotta, @saumyaphor4252 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-92840a/37247/summary.html Comparison SummarySummary:
|
@mmusich do you (or the Tk alignment team in general) have any remark on this PR? |
I don't have remarks, actually after checking with @mteroerd it looks like this file is obsolete and targeted for deletion at the next round of updates, so feel free to modify it. |
+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. @antoniovilela, @rappoccio, @sextonkennedy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
The config in Alignment/APEEstimation/python/AlcaRecoSelection_cff.py redefines the two selectors:
TkAlGoodIdMuonSelector
TkAlRelCombIsoMuonSelector
already defined in Alignment/CommonAlignmentProducer/python/TkAlMuonSelectors_cfi.py
This could insert unwanted mistakes in case the two python configs are imported in the same workflow.
Those two selectors in the file touched here are not even needed themselves, because are just meant to get cloned into the actual selectors to be used in the
mySeqALCARECOTkAlMuonIsolated
sequence.An objection raised by @mmusich in #43859 (comment) is that importing those selectors from Alignment/CommonAlignmentProducer could make the
ALCARECOTkAlMuonIsolated*
sequences depend on some other confinguration not fully under control of the APE team. (At the moment the selections are coded identically in the two python files).My impression is that, if so, one should rather explicitly define all relevant parameters into the
clone()
function and avoid as such redefining the same module in two different places. Of course, if the TkAl people does not agree with me I will remove this PR.PR validation:
At this moment the configurations and the sequences in Alignment/APEEstimation/python/AlcaRecoSelection_cff.py end up being identical to the previous ones. No further validation was attempted.