File indexing completed on 2025-01-12 23:41:26
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PrimaryVertexFilter(*args, **kwargs):
0004 mod = cms.EDFilter('PrimaryVertexFilter',
0005 minNdof = cms.double(4),
0006 maxZ = cms.double(24),
0007 maxRho = cms.double(2),
0008 cutsToIgnore = cms.vstring(),
0009 pvSrc = cms.InputTag(''),
0010 NPV = cms.int32(1),
0011 mightGet = cms.optional.untracked.vstring
0012 )
0013 for a in args:
0014 mod.update_(a)
0015 mod.update_(kwargs)
0016 return mod