Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-26 05:06:09

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def PFJetCleanerForType1MET(*args, **kwargs):
0004   mod = cms.EDProducer('PFJetCleanerForType1MET',
0005     src = cms.required.InputTag,
0006     offsetCorrLabel = cms.required.InputTag,
0007     jetCorrLabel = cms.required.InputTag,
0008     jetCorrLabelRes = cms.required.InputTag,
0009     jetCorrEtaMax = cms.double(9.9),
0010     type1JetPtThreshold = cms.required.double,
0011     skipEM = cms.required.bool,
0012     skipEMfractionThreshold = cms.required.double,
0013     skipMuons = cms.required.bool,
0014     skipMuonSelection = cms.required.string,
0015     calcMuonSubtrRawPtAsValueMap = cms.bool(False),
0016     mightGet = cms.optional.untracked.vstring
0017   )
0018   for a in args:
0019     mod.update_(a)
0020   mod.update_(kwargs)
0021   return mod