Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-23 03:28:25

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def DeepMETSonicProducer(*args, **kwargs):
0004   mod = cms.EDProducer('DeepMETSonicProducer',
0005     Client = cms.PSet(
0006       mode = cms.string('PseudoAsync'),
0007       allowedTries = cms.untracked.uint32(0),
0008       verbose = cms.untracked.bool(False),
0009       modelName = cms.required.string,
0010       modelVersion = cms.string(''),
0011       modelConfigPath = cms.required.FileInPath,
0012       preferredServer = cms.untracked.string(''),
0013       timeout = cms.required.untracked.uint32,
0014       timeoutUnit = cms.untracked.string('seconds'),
0015       useSharedMemory = cms.untracked.bool(True),
0016       compression = cms.untracked.string(''),
0017       outputs = cms.untracked.vstring()
0018     ),
0019     pf_src = cms.InputTag('packedPFCandidates'),
0020     ignore_leptons = cms.bool(False),
0021     norm_factor = cms.double(50),
0022     max_n_pf = cms.uint32(4500),
0023     mightGet = cms.optional.untracked.vstring
0024   )
0025   for a in args:
0026     mod.update_(a)
0027   mod.update_(kwargs)
0028   return mod