File indexing completed on 2024-08-27 22:59:22
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PATPFJetMETcorrInputProducer(**kwargs):
0004 mod = cms.EDProducer('PATPFJetMETcorrInputProducer',
0005 src = cms.InputTag('ak4PFJetsCHS'),
0006 offsetCorrLabel = cms.InputTag('ak4PFCHSL1FastjetCorrector'),
0007 jetCorrLabel = cms.InputTag('ak4PFCHSL1FastL2L3Corrector'),
0008 jetCorrLabelRes = cms.InputTag('ak4PFCHSL1FastL2L3ResidualCorrector'),
0009 jetCorrEtaMax = cms.double(9.9),
0010 type1JetPtThreshold = cms.double(15),
0011 skipEM = cms.bool(True),
0012 skipEMfractionThreshold = cms.double(0.9),
0013 skipMuons = cms.bool(True),
0014 skipMuonSelection = cms.string('isGlobalMuon | isStandAloneMuon'),
0015 mightGet = cms.optional.untracked.vstring
0016 )
0017 for k,v in kwargs.items():
0018 setattr(mod, k, v)
0019 return mod