File indexing completed on 2024-09-24 22:51:03
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PhotonIDValueMapProducer(*args, **kwargs):
0004 mod = cms.EDProducer('PhotonIDValueMapProducer',
0005 particleBasedIsolation = cms.InputTag('particleBasedIsolation', 'gedPhotons'),
0006 src = cms.InputTag('slimmedPhotons', '', '@skipCurrentProcess'),
0007 esReducedRecHitCollection = cms.InputTag('reducedEgamma', 'reducedESRecHits'),
0008 ebReducedRecHitCollection = cms.InputTag('reducedEgamma', 'reducedEBRecHits'),
0009 eeReducedRecHitCollection = cms.InputTag('reducedEgamma', 'reducedEERecHits'),
0010 pfCandidates = cms.InputTag('packedPFCandidates'),
0011 vertices = cms.InputTag('offlineSlimmedPrimaryVertices'),
0012 isAOD = cms.bool(False),
0013 mightGet = cms.optional.untracked.vstring
0014 )
0015 for a in args:
0016 mod.update_(a)
0017 mod.update_(kwargs)
0018 return mod