File indexing completed on 2024-09-26 05:06:22
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PixelVertexCollectionTrimmer(*args, **kwargs):
0004 mod = cms.EDProducer('PixelVertexCollectionTrimmer',
0005 src = cms.InputTag(''),
0006 maxVtx = cms.uint32(100),
0007 fractionSumPt2 = cms.double(0.3),
0008 minSumPt2 = cms.double(0),
0009 PVcomparer = cms.PSet(
0010 track_pt_min = cms.double(1),
0011 track_pt_max = cms.double(10),
0012 track_chi2_max = cms.double(99999),
0013 track_prob_min = cms.double(-1)
0014 ),
0015 mightGet = cms.optional.untracked.vstring
0016 )
0017 for a in args:
0018 mod.update_(a)
0019 mod.update_(kwargs)
0020 return mod