1 import FWCore.ParameterSet.Config
as cms
2 import RecoEgamma.EgammaIsolationAlgos.egammaEcalPFClusterIsolationProducerRecoGsfElectron_cfi
as _mod_Ecalele
3 import RecoEgamma.EgammaIsolationAlgos.egammaEcalPFClusterIsolationProducerRecoPhoton_cfi
as _mod_Ecalpho
4 import RecoEgamma.EgammaIsolationAlgos.egammaHcalPFClusterIsolationProducerRecoGsfElectron_cfi
as _mod_Hcalele
5 import RecoEgamma.EgammaIsolationAlgos.egammaHcalPFClusterIsolationProducerRecoPhoton_cfi
as _mod_Hcalpho
7 electronEcalPFClusterIsolationProducer = _mod_Ecalele.egammaEcalPFClusterIsolationProducerRecoGsfElectron.clone(
8 candidateProducer =
'gedGsfElectronsTmp',
11 photonEcalPFClusterIsolationProducer = _mod_Ecalpho.egammaEcalPFClusterIsolationProducerRecoPhoton.clone(
12 candidateProducer =
'gedPhotonsTmp',
15 ootPhotonEcalPFClusterIsolationProducer = photonEcalPFClusterIsolationProducer.clone(
16 candidateProducer =
'ootPhotonsTmp',
17 pfClusterProducer =
'particleFlowClusterOOTECAL' 20 electronHcalPFClusterIsolationProducer = _mod_Hcalele.egammaHcalPFClusterIsolationProducerRecoGsfElectron.clone(
21 candidateProducer =
'gedGsfElectronsTmp',
24 photonHcalPFClusterIsolationProducer = _mod_Hcalpho.egammaHcalPFClusterIsolationProducerRecoPhoton.clone(
25 candidateProducer =
'gedPhotonsTmp',
28 ootPhotonHcalPFClusterIsolationProducer = photonHcalPFClusterIsolationProducer.clone(
29 candidateProducer =
'ootPhotonsTmp' 31 pfClusterIsolationTask = cms.Task(
32 electronEcalPFClusterIsolationProducer ,
33 photonEcalPFClusterIsolationProducer ,
34 ootPhotonEcalPFClusterIsolationProducer ,
35 electronHcalPFClusterIsolationProducer ,
36 photonHcalPFClusterIsolationProducer ,
37 ootPhotonHcalPFClusterIsolationProducer
39 pfClusterIsolationSequence = cms.Sequence(pfClusterIsolationTask)