CMS 3D CMS Logo

pfClusterIsolation_cfi.py
Go to the documentation of this file.
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
6 
7 electronEcalPFClusterIsolationProducer = _mod_Ecalele.egammaEcalPFClusterIsolationProducerRecoGsfElectron.clone(
8  candidateProducer = 'gedGsfElectronsTmp',
9  )
10 
11 photonEcalPFClusterIsolationProducer = _mod_Ecalpho.egammaEcalPFClusterIsolationProducerRecoPhoton.clone(
12  candidateProducer = 'gedPhotonsTmp',
13  )
14 
15 ootPhotonEcalPFClusterIsolationProducer = photonEcalPFClusterIsolationProducer.clone(
16  candidateProducer = 'ootPhotonsTmp',
17  pfClusterProducer = 'particleFlowClusterOOTECAL'
18 )
19 
20 electronHcalPFClusterIsolationProducer = _mod_Hcalele.egammaHcalPFClusterIsolationProducerRecoGsfElectron.clone(
21  candidateProducer = 'gedGsfElectronsTmp',
22  )
23 
24 photonHcalPFClusterIsolationProducer = _mod_Hcalpho.egammaHcalPFClusterIsolationProducerRecoPhoton.clone(
25  candidateProducer = 'gedPhotonsTmp',
26  )
27 
28 ootPhotonHcalPFClusterIsolationProducer = photonHcalPFClusterIsolationProducer.clone(
29  candidateProducer = 'ootPhotonsTmp'
30 )
31 pfClusterIsolationTask = cms.Task(
32  electronEcalPFClusterIsolationProducer ,
33  photonEcalPFClusterIsolationProducer ,
34  ootPhotonEcalPFClusterIsolationProducer ,
35  electronHcalPFClusterIsolationProducer ,
36  photonHcalPFClusterIsolationProducer ,
37  ootPhotonHcalPFClusterIsolationProducer
38 )
39 pfClusterIsolationSequence = cms.Sequence(pfClusterIsolationTask)