-
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
Modules not auto-generating a cfi file in cfi-python currently present in the HLT menu (Run 3 and Phase 2) #47275
Comments
cms-bot internal usage |
A new Issue was created by @mmusich. @Dr15Jones, @antoniovilela, @makortel, @mandrenguyen, @rappoccio, @sextonkennedy, @smuzaffar can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
So the new way If a Therefore it is not necessary to add |
(Maybe) fine. Though several modules in the list above are still lacking any configuration validation, which I guess it means there are no parameters in such .py files. |
just curious, what happens if a module has multiple possible configurations ? |
The different _cfi.py files still import the package but then only change the values of parameters which differ from the 'default'. E.g. from Foo.Bar.modules import FiiProducer
fii = FiiProducer( value = 3.2) |
assign hlt,alca,geometry,reconstruction,upgrade |
New categories assigned: hlt,alca,geometry,reconstruction,upgrade @atpathak,@bsunanda,@civanch,@consuegs,@Dr15Jones,@jfernan2,@kpedro88,@makortel,@mandrenguyen,@Martin-Grunewald,@mdhildreth,@mmusich,@Moanwar,@perrotta,@srimanob,@subirsarkar you have been requested to review this Pull request/Issue and eventually sign? Thanks |
|
Out of curiosity, I fail to see why having this class is a superior approach than the plain regular |
IMHO the new syntax is a little bit nicer. With a full configuration: myProducer = cms.Producer("MyProducer",
source = cms.InputTag("myData")
} With a cfi-based approach: from Subsystem.Package.myProducer_cfi import myProducer as _myProducer
myProducer = _myProducer.clone(
source = "myData"
) With the new approach: from Subsystem.Package.MyProducer import MyProducer
myProducer = MyProducer(
source = "myData"
) |
|
How does that work ? from IOPool.Output.PoolOutputModule import *
process.??? = PoolOutputModule(
outputCommands = 'keep *'
) |
I meant in the package IOPool.Output.PoolOutputModule (I actually prefer using the IOPool.Output.modules package myself) one does not need to specify a module label. This is in contrast to a When using IOPool.Output.PoolOutputModule to add a PoolOutputModule to a cms.Process, you do need to assign a module label like we have always done. In fact if someone did process.load("IOPool.Output.PoolOutputModule") nothing would be added to the process. Sorry for the confusion. |
Ah, yes, I see: from Subsystem.Package.modules import *
myProducer = MyProducer(
source = "myData"
) And thanks for the clarification :-) |
@cms-sw/alca-l2 @cms-sw/reconstruction-l2 @cms-sw/upgrade-l2 @cms-sw/geometry-l2 can you clarify if you can help with the modules in the list at #47275 (comment) that don't fall in the category as described at #47275 (comment) (i.e. the ones that don't implement a |
@24LopezR @rbhattacharya04 as Muon Reco contacts, could you take care of the Muon related modules, please? Thanks |
@abdoulline @igv4321 as HCAL Reco contacts, could you take care of the HCAL related modules, please? Thanks |
@jhakala as ECAL Reco contact, could you take care of the ECAL related modules, please? Thanks |
@felicepantaleo @rovere as HGCAL Reco contacts, could you take care of the HGCAL related modules, please? Thanks |
@mondalspandan @SWuchterl as BTAG conveners, could you take care of the BTAG related modules, please? Thanks |
@jlidrych as StripTracker reco contact, could you take care of the Sistrip related modules, please? Thanks |
Hi @jfernan2 , I am no longer ECAL reco contact. Please refer ECAL reco requests to @ReyerBand or @thomreis . |
Disclaimer: this issue is mostly for documentation purposes.
TSG has started to investigate possible replacements of the current Configuration DB model for storing HLT menus in view of the Phase 2 upgrade.
One of the possibilities that was discussed, is to fetch the list of configurable parameters uniquely from the auto-generated configuration fragment files that the
fillDescriptions
mechanism provides incmssw
.At the moment, this is unfortunately not possible as not all the plugins used at HLT have a viable
fillDescriptions
implementation that is both :cfi
file in thecfi-python
folder (to be parsed instead of othercfi
files in thepython
directory), seeaddDefault
vsaddWithDefaultLabel
.In the recent past I have opened a series of PRs to bring the list of outstanding modules down: #47017, #47045, #47079, #47107, #47136, #47191 and #47224, but few remain to be addressed, especially those that either:
ifValues
and similar) to populate the defaults of certain parameters depending on the value of others (see also discussion at addfillDescriptions
to several plugins used at HLT (4/N) #47107 (comment) and following).As of any IB more recent that
CMSSW_15_0_X_2025-02-05-1100
, the following script can be used to identify such modules in the Run 3 menu:BTagProbabilityToDiscriminator
CSCChannelMapperESProducer
CSCIndexerESProducer
CaloTopologyBuilder
CaloTowersCreator
CandIPProducer
CandSecondaryVertexProducer
DTRecHitProducer
DTRecSegment4DProducer
DetIdAssociatorESProducer
ESRecHitProducer
EcalSeverityLevelESProducer
EmptyESSource
GsfMaterialEffectsESProducer
HcalChannelPropertiesEP
HcalTimeSlewEP
JetTagProducer
MuonIdProducer
PropagatorWithMaterialESProducer
RPCRecHitProducer
SecondaryVertexProducer
SeedGeneratorFromRegionHitsEDProducer
SiPixelTemplateDBObjectESProducer
SiStripBackPlaneCorrectionDepESProducer
SiStripLorentzAngleDepESProducer
SoftLepton
StripCPEESProducer
TSGFromL2Muon
TrackIPProducer
TrajectoryCleanerESProducer
While the following script can be used to identify such modules in the Phase 2 menu:
CSCChannelMapperESProducer
CSCIndexerESProducer
CaloTowersCreator
CandIPProducer
CandSecondaryVertexProducer
DTRecHitProducer
DTRecSegment4DProducer
DetIdAssociatorESProducer
EcalSeverityLevelESProducer
EmptyESSource
GsfMaterialEffectsESProducer
HBHEPhase1Reconstructor
HGCalRecHitProducer
HcalChannelPropertiesEP
MuonIdProducer
PFCandidateFwdPtrProducer
PropagatorWithMaterialESProducer
RPCRecHitProducer
TrajectoryCleanerESProducer
I would appreciate if there was some help from contacts from the reconstruction group to address (or discuss) the remaining ones (especially the ones associated to the Phase 2 menu, which is our ultimate goal).
Cc:
@cms-sw/hlt-l2 @fwyzard @Sam-Harper
The text was updated successfully, but these errors were encountered: