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
[L1T] all modules swicthed to lower case and l1t #39244
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39244/31879
|
A new Pull Request was created by @cecilecaillol for master. It involves the following packages:
@Martin-Grunewald, @missirol, @epalencia, @emanueleusai, @ahmad3213, @cecilecaillol, @cmsbuild, @AdrianoDee, @srimanob, @jfernan2, @pmandrik, @micsucmed, @rekovic, @rvenditti 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-d846b7/27178/summary.html Comparison SummarySummary:
|
A question on the python: I understood that module lables should start with lower-case |
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.
@cecilecaillol , thanks for this PR.
- I see modules that do not follow the new naming convention. Is this intentional?
- Some
InputTag
s seem outdated to me (old names): am I missing something? - Since Item-2 in Remaining issues after the merging of "L1T Phase-2, remove old simulation and adapt DQM (#38442)" #39194 is related to the naming of L1T modules, could you please consider updating
HLTrigger/Configuration/python/HLT_75e33/modules/hltTriggerSummaryAOD_cfi.py
as in [1]? This would take care of Item-2 without a dedicated PR.
[1]
hltTriggerSummaryAOD = cms.EDProducer( "TriggerSummaryProducerAOD",
throw = cms.bool( False ),
processName = cms.string( "*" ),
moduleLabelPatternsToMatch = cms.vstring( 'hlt*','l1t*' ),
moduleLabelPatternsToSkip = cms.vstring( )
)
L1TowerCalibrationProducer * | ||
L1CaloJetProducer * | ||
L1CaloJetHTTProducer |
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.
Why don't these follow the l1t
convention?
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.
changed to start with l1t
@@ -17,7 +17,7 @@ | |||
3.0, 3.083, 3.167, 3.25, 3.333, 3.417, 3.5, 3.583, 3.667, 3.75, 3.833, 3.917, | |||
4.0, 4.083, 4.167, 4.25, 4.333, 4.417, 4.5, 4.583, 4.667, 4.75, 4.833, 4.917, 5.0) | |||
|
|||
Phase1L1TJetProducer = cms.EDProducer('Phase1L1TJetProducer', | |||
l1tPhase1JetProducer = cms.EDProducer('Phase1L1TJetProducer', |
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.
Shouldn't the name of the cfi
be updated accordingly?
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 name of the cfi still matches the name of the producer so I would prefer not to change
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 thought the cfi
should match the module name, not the name of the plugin (for 1 plugin, there could be more than 1 cfi
); see also rule 6.13. Anyways, I won't insist on this.
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.
A file named Phase1L1TJetProducer_cfi.py exists already
cfipython/L1Trigger/L1CaloTrigger/Phase1L1TJetProducer_cfi.py
and it will have the same search path as this one: please rename this one l1tPhase1JetProducer_cfi.py. as suggested by @missirol , and correct the import
into
- L1Trigger/L1CaloTrigger/python/Phase1L1TJets_9x9_cff.py
- L1Trigger/L1CaloTrigger/python/Phase1L1TJets_9x9trimmed_cff.py
- L1Trigger/L1CaloTrigger/python/Phase1L1TJets_cff.py
(if it is really this one that you want to import, and not the one generated by the fillDescriptions
method)
L1TrackInputTag = cms.InputTag("L1TrackSelectionProducer", l1tTrackSelectionProducer.outputCollectionName.value() + "Emulation"), | ||
L1TrackAssociatedInputTag = cms.InputTag("L1TrackSelectionProducer", l1tTrackSelectionProducer.outputCollectionName.value() + "AssociatedEmulation"), | ||
# To bypass GTT input module use cms.InputTag("TTTracksFromTrackletEmulation", "Level1TTTracks") | ||
# and set useGTTinput to false | ||
L1VertexInputTag = cms.InputTag("VertexProducer", VertexProducer.l1VertexCollectionName.value()), | ||
L1VertexInputTag = cms.InputTag("VertexProducer", l1tVertexProducer.l1VertexCollectionName.value()), |
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.
These InputTag
s seem to refer to the old naming (e.g. L1TrackSelectionProducer
). Why is that?
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.
Changed to l1tVertexProducer
@@ -1,6 +1,6 @@ | |||
import FWCore.ParameterSet.Config as cms | |||
|
|||
L1MetPfProducer = cms.EDProducer("L1MetPfProducer", | |||
l1tMETPFProducer = cms.EDProducer("L1MetPfProducer", | |||
L1PFObjects = cms.InputTag("l1ctLayer1","Puppi"), |
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.
Why does l1ctLayer1
not follow the naming convention?
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.
Changed to l1tLayer*
scPFL1PF = l1tSeedConePFJetProducer.clone(L1PFObjects = 'l1ctLayer1:PF') | ||
scPFL1Puppi = l1tSeedConePFJetProducer.clone() | ||
scPFL1PuppiEmulator = l1tSeedConePFJetEmulatorProducer.clone(L1PFObject = cms.InputTag('l1ctLayer2Deregionizer:Puppi')) |
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.
Why do the scPFL1*
objects not follow the new naming convention?
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.
Changed to l1tSC*
|
||
_correctedJets = cms.EDProducer("L1TCorrectedPFJetProducer", | ||
correctedJets = cms.EDProducer("L1TCorrectedPFJetProducer", |
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 leading underscore should remain in place if correctedJets
is not really used in the final configuration (it avoids that correctedJets
is imported from this file). Actually, here correctedJets
is only used a few lines below to make scPFL1PuppiCorrectedEmulator
, so why not just build and customise the latter (without any correctedJets
)?
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 switched back to _correctedJets
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39244/31886
|
Pull request #39244 was updated. @Martin-Grunewald, @missirol, @epalencia, @emanueleusai, @ahmad3213, @cecilecaillol, @cmsbuild, @AdrianoDee, @srimanob, @jfernan2, @pmandrik, @micsucmed, @rekovic, @rvenditti can you please check and sign again. |
+1
|
+upgrade |
+l1 |
+reconstruction |
+1 |
+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 be automatically merged. |
Hi, While making #39450, I see that we have few places that still use https://github.com/cms-sw/cmssw/blob/master/L1Trigger/Phase2L1Taus/plugins/HPSPFTauProducer.cc#L233 |
PR description:
Addressing item 1 of #39194: change L1 modules to start with l1t
Also addressing item 2 of the same issue: Fix hltTriggerSummaryAOD
Also addressing item 5 of the same issue: Verify the PSet cutset in L1TrackSelectionProducerExtended
PR validation:
code-checks, code-format