1 import FWCore.ParameterSet.Config
as cms
3 reducedEgamma = cms.EDProducer(
"ReducedEGProducer",
4 keepPhotons = cms.string(
"hadTowOverEm()<0.15 && pt>10 && (pt>14 || chargedHadronIso()<10)"),
5 slimRelinkPhotons = cms.string(
"hadTowOverEm()<0.15 && pt>10 && (pt>14 || chargedHadronIso()<10)"),
6 relinkPhotons = cms.string(
"(r9()>0.8 || chargedHadronIso()<20 || chargedHadronIso()<0.3*pt())"),
7 keepGsfElectrons = cms.string(
""),
8 slimRelinkGsfElectrons = cms.string(
""),
9 relinkGsfElectrons = cms.string(
"pt>5"),
10 photons = cms.InputTag(
"gedPhotons"),
11 gsfElectrons = cms.InputTag(
"gedGsfElectrons"),
12 conversions = cms.InputTag(
"allConversions"),
13 singleConversions = cms.InputTag(
"particleFlowEGamma"),
14 barrelEcalHits = cms.InputTag(
"reducedEcalRecHitsEB"),
15 endcapEcalHits = cms.InputTag(
"reducedEcalRecHitsEE"),
16 preshowerEcalHits = cms.InputTag(
"reducedEcalRecHitsES"),
17 photonsPFValMap = cms.InputTag(
"particleBasedIsolation",
"gedPhotons"),
18 gsfElectronsPFValMap = cms.InputTag(
"particleBasedIsolation",
"gedGsfElectrons"),
19 photonIDSources = cms.VInputTag(
20 cms.InputTag(
"PhotonIDProdGED",
"PhotonCutBasedIDLoose"),
21 cms.InputTag(
"PhotonIDProdGED",
"PhotonCutBasedIDLooseEM"),
22 cms.InputTag(
"PhotonIDProdGED",
"PhotonCutBasedIDTight")
24 photonIDOutput = cms.vstring(
25 "PhotonCutBasedIDLoose",
26 "PhotonCutBasedIDLooseEM",
27 "PhotonCutBasedIDTight",
29 gsfElectronIDSources = cms.VInputTag(
30 cms.InputTag(
"eidLoose"),
31 cms.InputTag(
"eidRobustHighEnergy"),
32 cms.InputTag(
"eidRobustLoose"),
33 cms.InputTag(
"eidRobustTight"),
34 cms.InputTag(
"eidTight"),
36 gsfElectronIDOutput = cms.vstring(
38 "eidRobustHighEnergy",
43 photonPFClusterIsoSources = cms.VInputTag(
44 cms.InputTag(
"photonEcalPFClusterIsolationProducer"),
45 cms.InputTag(
"photonHcalPFClusterIsolationProducer"),
47 photonPFClusterIsoOutput = cms.vstring(
51 gsfElectronPFClusterIsoSources = cms.VInputTag(
52 cms.InputTag(
"electronEcalPFClusterIsolationProducer"),
53 cms.InputTag(
"electronHcalPFClusterIsolationProducer"),
55 gsfElectronPFClusterIsoOutput = cms.vstring(