Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-24 22:51:02

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def PATRefitVertexProducer(*args, **kwargs):
0004   mod = cms.EDProducer('PATRefitVertexProducer',
0005     srcVertices = cms.InputTag('offlineSlimmedPrimaryVertices'),
0006     srcCands = cms.InputTag('packedPFCandidates'),
0007     srcLostTracks = cms.InputTag('lostTracks'),
0008     srcEleKfTracks = cms.InputTag('lostTracks', 'eleTracks'),
0009     srcBeamSpot = cms.InputTag('offlineBeamSpot'),
0010     useBeamSpot = cms.bool(True),
0011     useLostTracks = cms.bool(True),
0012     useEleKfTracks = cms.bool(True),
0013     mightGet = cms.optional.untracked.vstring
0014   )
0015   for a in args:
0016     mod.update_(a)
0017   mod.update_(kwargs)
0018   return mod