File indexing completed on 2024-08-27 22:58:59
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def LeptonFSRProducer(**kwargs):
0004 mod = cms.EDProducer('LeptonFSRProducer',
0005 packedPFCandidates = cms.InputTag('packedPFCandidates'),
0006 slimmedElectrons = cms.InputTag('slimmedElectrons'),
0007 muons = cms.InputTag('slimmedMuons'),
0008 electrons = cms.InputTag('slimmedElectrons'),
0009 muonPtMin = cms.double(3),
0010 muonEtaMax = cms.double(2.4),
0011 elePtMin = cms.double(5),
0012 eleEtaMax = cms.double(2.5),
0013 photonPtMin = cms.double(2),
0014 deltaROverEt2Max = cms.double(0.05),
0015 isolation = cms.double(2),
0016 mightGet = cms.optional.untracked.vstring
0017 )
0018 for k,v in kwargs.items():
0019 setattr(mod, k, v)
0020 return mod