File indexing completed on 2025-02-07 14:24:15
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PixelVertexProducer(*args, **kwargs):
0004 mod = cms.EDProducer('PixelVertexProducer',
0005 Verbosity = cms.int32(0),
0006 PtMin = cms.double(1),
0007 Method2 = cms.bool(True),
0008 TrackCollection = cms.InputTag('pixelTracks'),
0009 beamSpot = cms.InputTag('offlineBeamSpot'),
0010 Finder = cms.string('DivisiveVertexFinder'),
0011 UseError = cms.bool(True),
0012 WtAverage = cms.bool(True),
0013 ZOffset = cms.double(5),
0014 ZSeparation = cms.double(0.05),
0015 NTrkMin = cms.int32(2),
0016 PVcomparer = cms.PSet(
0017 track_pt_min = cms.double(1),
0018 track_pt_max = cms.double(10),
0019 track_chi2_max = cms.double(999999),
0020 track_prob_min = cms.double(-1)
0021 ),
0022 mightGet = cms.optional.untracked.vstring
0023 )
0024 for a in args:
0025 mod.update_(a)
0026 mod.update_(kwargs)
0027 return mod