1 import FWCore.ParameterSet.Config
as cms
4 puppiPhoton = cms.EDProducer(
"PuppiPhoton",
5 candName = cms.InputTag(
'particleFlow'),
6 puppiCandName = cms.InputTag(
'puppi'),
7 photonName = cms.InputTag(
'reducedEgamma',
'reducedGedPhotons'),
8 recoToPFMap = cms.InputTag(
"reducedEgamma",
"reducedPhotonPfCandMap"),
9 photonId = cms.InputTag(
"egmPhotonIDs:cutBasedPhotonID-Spring15-25ns-V1-standalone-loose"),
11 eta = cms.double(2.5),
12 runOnMiniAOD = cms.bool(
False),
13 useRefs = cms.bool(
True),
14 dRMatch = cms.vdouble(0.005,0.005,0.005,0.005),
15 pdgids = cms.vint32 (22,11,211,130),
16 weight = cms.double(1.),
17 useValueMap = cms.bool(
False),
18 weightsName = cms.InputTag(
'puppi'),
23 my_id_modules = [
'RecoEgamma.PhotonIdentification.Identification.cutBasedPhotonID_Spring15_25ns_V1_cff']
25 for idmod
in my_id_modules:
30 my_id_modules = [
'RecoEgamma.PhotonIdentification.Identification.cutBasedPhotonID_Spring15_25ns_V1_cff']
32 for idmod
in my_id_modules:
def setupPuppiPhoton(process)
def setupPuppiPhotonMiniAOD(process)