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-Spring15-25ns-V1-standalone-loose"),
10 eta = cms.double(2.5),
11 useRefs = cms.bool(
True),
12 dRMatch = cms.vdouble(0.005,0.005,0.005,0.005),
13 pdgids = cms.vint32 (22,11,211,130),
14 weight = cms.double(1.),
15 useValueMap = cms.bool(
False),
16 weightsName = cms.InputTag(
'puppi'),
21 my_id_modules = [
'RecoEgamma.PhotonIdentification.Identification.cutBasedPhotonID_Spring15_25ns_V1_cff']
23 for idmod
in my_id_modules:
28 my_id_modules = [
'RecoEgamma.PhotonIdentification.Identification.cutBasedPhotonID_Spring15_25ns_V1_cff']
30 for idmod
in my_id_modules:
def setupPuppiPhotonMiniAOD