1 import FWCore.ParameterSet.Config
as cms
4 from RecoEgamma.EgammaIsolationAlgos.egmPhotonIsolationPUPPI_cff
import egmPhotonIsolationMiniAODPUPPI
as _egmPhotonPUPPIIsolationForPhotons
5 from RecoEgamma.EgammaIsolationAlgos.egmElectronIsolationPUPPI_cff
import egmElectronIsolationMiniAODPUPPI
as _egmElectronIsolationMiniAODPUPPI
6 from RecoEgamma.EgammaIsolationAlgos.egmElectronIsolationPUPPI_cff
import egmElectronIsolationMiniAODPUPPINoLeptons
as _egmElectronIsolationMiniAODPUPPINoLeptons
12 addToProcessAndTask(
'egmPhotonPUPPIIsolation', _egmPhotonPUPPIIsolationForPhotons.clone(), process, task)
13 process.egmPhotonPUPPIIsolation.srcToIsolate = cms.InputTag(
"reducedEgamma",
"reducedGedPhotons")
14 process.egmPhotonPUPPIIsolation.srcForIsolationCone = cms.InputTag(
"particleFlow")
15 process.egmPhotonPUPPIIsolation.puppiValueMap = cms.InputTag(
'puppi')
17 addToProcessAndTask(
'egmElectronPUPPIIsolation', _egmElectronIsolationMiniAODPUPPI.clone(), process, task)
18 process.egmElectronPUPPIIsolation.srcToIsolate = cms.InputTag(
"reducedEgamma",
"reducedGedGsfElectrons")
19 process.egmElectronPUPPIIsolation.srcForIsolationCone = cms.InputTag(
"packedPFCandidates")
21 addToProcessAndTask(
'egmElectronPUPPINoLeptonsIsolation', _egmElectronIsolationMiniAODPUPPINoLeptons.clone(), process, task)
22 process.egmElectronPUPPINoLeptonsIsolation.srcToIsolate = cms.InputTag(
"reducedEgamma",
"reducedGedGsfElectrons")
23 process.egmElectronPUPPINoLeptonsIsolation.srcForIsolationCone = cms.InputTag(
"packedPFCandidates")