1 import FWCore.ParameterSet.Config
as cms
4 puppiPhoton = cms.EDProducer(
"PuppiPhoton",
5 candName = cms.InputTag(
'packedPFCandidates'),
6 puppiCandName = cms.InputTag(
'puppi'),
7 photonName = cms.InputTag(
'slimmedPhotons'),
8 photonId = cms.InputTag(
"egmPhotonIDs:cutBasedPhotonID-PHYS14-PU20bx25-V2-standalone-loose"),
10 useRefs = cms.bool(
True),
11 dRMatch = cms.vdouble(10,10,10,10),
12 pdgids = cms.vint32 (22,11,211,130),
13 weight = cms.double(1.),
14 useValueMap = cms.bool(
False),
15 weightsName = cms.InputTag(
'puppi'),
20 my_id_modules = [
'RecoEgamma.PhotonIdentification.Identification.cutBasedPhotonID_PHYS14_PU20bx25_V2_cff']
22 for idmod
in my_id_modules: