File indexing completed on 2024-08-27 22:59:23
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def SoftLepton(**kwargs):
0004 mod = cms.EDProducer('SoftLepton',
0005 muonSelection = cms.uint32(1),
0006 leptons = cms.InputTag('muons'),
0007 primaryVertex = cms.InputTag('offlinePrimaryVertices'),
0008 leptonCands = cms.InputTag(''),
0009 leptonId = cms.InputTag(''),
0010 refineJetAxis = cms.uint32(0),
0011 jets = cms.InputTag('ak4PFJetsCHS'),
0012 leptonDeltaRCut = cms.double(0.4),
0013 leptonChi2Cut = cms.double(9999),
0014 mightGet = cms.optional.untracked.vstring
0015 )
0016 for k,v in kwargs.items():
0017 setattr(mod, k, v)
0018 return mod