1 import FWCore.ParameterSet.Config
as cms
4 puppiPhoton = cms.EDProducer(
"PuppiPhoton",
5 candName = cms.InputTag(
'particleFlow'),
6 puppiCandName = cms.InputTag(
'puppi'),
7 usePFphotons = cms.bool(
True),
8 photonName = cms.InputTag(
'reducedEgamma',
'reducedGedPhotons'),
9 recoToPFMap = cms.InputTag(
"reducedEgamma",
"reducedPhotonPfCandMap"),
10 photonId = cms.InputTag(
""),
12 eta = cms.double(2.5),
13 runOnMiniAOD = cms.bool(
False),
14 useRefs = cms.bool(
True),
15 dRMatch = cms.vdouble(0.005,0.005,0.005,0.005),
16 pdgids = cms.vint32 (22,11,211,130),
17 weight = cms.double(1.),
18 useValueMap = cms.bool(
False),
19 weightsName = cms.InputTag(
'puppi'),
26 for idmod
in my_id_modules:
33 for idmod
in my_id_modules:
def setupPuppiPhotonMiniAOD