File indexing completed on 2024-09-26 05:06:13
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PATPFJetMETcorrInputProducer(*args, **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 a in args:
0018 mod.update_(a)
0019 mod.update_(kwargs)
0020 return mod