File indexing completed on 2024-08-27 22:59:22
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def JetCorrFactorsProducer(**kwargs):
0004 mod = cms.EDProducer('JetCorrFactorsProducer',
0005 emf = cms.bool(False),
0006 flavorType = cms.string('J'),
0007 src = cms.InputTag('ak5CaloJets'),
0008 payload = cms.string('AK5Calo'),
0009 useNPV = cms.bool(True),
0010 primaryVertices = cms.InputTag('offlinePrimaryVertices'),
0011 useRho = cms.bool(True),
0012 rho = cms.InputTag('fixedGridRhoFastjetAllCalo'),
0013 extraJPTOffset = cms.string('L1Offset'),
0014 levels = cms.vstring(
0015 'L1Offset',
0016 'L2Relative',
0017 'L3Absolute',
0018 'L2L3Residual',
0019 'L5Flavor',
0020 'L7Parton'
0021 ),
0022 mightGet = cms.optional.untracked.vstring
0023 )
0024 for k,v in kwargs.items():
0025 setattr(mod, k, v)
0026 return mod