-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Description
I strongly believe that ConfDb parsing gets confused by the new cms.PSetTemplate - there is no error message about Ignoring any unknown type, and somehow unlabelled PSets turn up as module parameters in ConfDb (when one adds new instances of affected plugins) and then when extracting the python code, eg:
process.RecoTauProducer = cms.EDProducer( "RecoTauProducer",
[...]
buildNullTaus = cms.bool( False ),
verbosity = cms.int32( 0 ),
modifiers = cms.VPSet(
cms.PSet( name = cms.string( "sipt" ),
plugin = cms.string( "RecoTauImpactParameterSignificancePlugin" ),
= cms.PSet(
= cms.PSet(
minTrackPt = cms.double( 0.5 ),
maxTrackChi2 = cms.double( 100.0 ),
maxTransverseImpactParameter = cms.double( 0.1 ),
maxDeltaZ = cms.double( 0.4 ),
maxDeltaZToLeadTrack = cms.double( -1.0 ),
minTrackVertexWeight = cms.double( -1.0 ),
minTrackPixelHits = cms.uint32( 0 ),
minTrackHits = cms.uint32( 3 ),
minGammaEt = cms.double( 1.0 ),
minNeutralHadronEt = cms.double( 30.0 )
),
= cms.PSet(
minTrackPt = cms.double( 1.0 ),
maxTrackChi2 = cms.double( 100.0 ),
maxTransverseImpactParameter = cms.double( 0.03 ),
maxDeltaZ = cms.double( 0.2 ),
maxDeltaZToLeadTrack = cms.double( -1.0 ),
minTrackVertexWeight = cms.double( -1.0 ),
minTrackPixelHits = cms.uint32( 0 ),
minTrackHits = cms.uint32( 8 ),
minGammaEt = cms.double( 1.5 )
),
which is not proper python. So the new feature of PSTemplate is problematic for ConfDB.
Originally posted by @Martin-Grunewald in #47630 (comment)
Reactions are currently unavailable