File indexing completed on 2024-08-27 22:58:58
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PFPileUp(**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 k,v in kwargs.items():
0018 setattr(mod, k, v)
0019 return mod