File indexing completed on 2024-09-26 05:05:48
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PFPileUp(*args, **kwargs):
0004 mod = cms.EDProducer('PFPileUp',
0005 PFCandidates = cms.InputTag('particleFlowTmpPtrs'),
0006 Vertices = cms.InputTag('offlinePrimaryVertices'),
0007 enable = cms.bool(True),
0008 verbose = cms.untracked.bool(False),
0009 checkClosestZVertex = cms.bool(True),
0010 useVertexAssociation = cms.bool(False),
0011 vertexAssociationQuality = cms.int32(0),
0012 vertexAssociation = cms.InputTag(''),
0013 NumOfPUVtxsForCharged = cms.uint32(0),
0014 DzCutForChargedFromPUVtxs = cms.double(0.2),
0015 mightGet = cms.optional.untracked.vstring
0016 )
0017 for a in args:
0018 mod.update_(a)
0019 mod.update_(kwargs)
0020 return mod