1 import FWCore.ParameterSet.Config
as cms
12 gedPhotonsTmp = RecoEgamma.EgammaPhotonProducers.gedPhotons_cfi.gedPhotons.clone(
13 photonProducer =
"gedPhotonCore",
14 candidateP4type =
"fromEcalEnergy",
15 outputPhotonCollection =
"",
16 reconstructionStep =
"tmp"
18 del gedPhotonsTmp.regressionConfig
20 gedPhotonTaskTmp = cms.Task(gedPhotonCore, gedPhotonsTmp)
21 gedPhotonSequenceTmp = cms.Sequence(gedPhotonTaskTmp)
23 gedPhotons = RecoEgamma.EgammaPhotonProducers.gedPhotons_cfi.gedPhotons.clone(
24 photonProducer =
"gedPhotonsTmp",
25 outputPhotonCollection =
"",
26 reconstructionStep =
"final",
27 pfECALClusIsolation = cms.InputTag(
"photonEcalPFClusterIsolationProducer"),
28 pfHCALClusIsolation = cms.InputTag(
"photonHcalPFClusterIsolationProducer"),
30 chargedHadronIso = cms.InputTag(
"photonIDValueMaps",
"phoChargedIsolation"),
31 neutralHadronIso = cms.InputTag(
"photonIDValueMaps",
"phoNeutralHadronIsolation"),
32 photonIso = cms.InputTag(
"photonIDValueMaps",
"phoPhotonIsolation"),
33 chargedHadronWorstVtxIso = cms.InputTag(
"photonIDValueMaps",
"phoWorstChargedIsolation"),
34 chargedHadronWorstVtxGeomVetoIso = cms.InputTag(
"photonIDValueMaps",
"phoWorstChargedIsolationConeVeto"),
35 chargedHadronPFPVIso = cms.InputTag(
"egmPhotonIsolationCITK:h+-DR030-"),
38 gedPhotonTask = cms.Task(gedPhotons)
39 gedPhotonSequence = cms.Sequence(gedPhotonTask)
41 from Configuration.ProcessModifiers.egamma_lowPt_exclusive_cff
import egamma_lowPt_exclusive
42 egamma_lowPt_exclusive.toModify(gedPhotons,
45 egamma_lowPt_exclusive.toModify(gedPhotonsTmp,