1 import FWCore.ParameterSet.Config
as cms
3 electronEcalPFClusterIsolationProducer = cms.EDProducer(
'ElectronEcalPFClusterIsolationProducer',
4 candidateProducer = cms.InputTag(
'gedGsfElectronsTmp'),
5 pfClusterProducer = cms.InputTag(
'particleFlowClusterECAL'),
6 drMax = cms.double(0.3),
7 drVetoBarrel = cms.double(0),
8 drVetoEndcap = cms.double(0),
9 etaStripBarrel = cms.double(0),
10 etaStripEndcap = cms.double(0),
11 energyBarrel = cms.double(0),
12 energyEndcap = cms.double(0)
15 photonEcalPFClusterIsolationProducer = cms.EDProducer(
'PhotonEcalPFClusterIsolationProducer',
16 candidateProducer = cms.InputTag(
'gedPhotonsTmp'),
17 pfClusterProducer = cms.InputTag(
'particleFlowClusterECAL'),
18 drMax = cms.double(0.3),
19 drVetoBarrel = cms.double(0),
20 drVetoEndcap = cms.double(0),
21 etaStripBarrel = cms.double(0),
22 etaStripEndcap = cms.double(0),
23 energyBarrel = cms.double(0),
24 energyEndcap = cms.double(0)
27 ootPhotonEcalPFClusterIsolationProducer = photonEcalPFClusterIsolationProducer.clone()
28 ootPhotonEcalPFClusterIsolationProducer.candidateProducer = cms.InputTag(
'ootPhotonsTmp')
29 ootPhotonEcalPFClusterIsolationProducer.pfClusterProducer = cms.InputTag(
'particleFlowClusterOOTECAL')
31 electronHcalPFClusterIsolationProducer = cms.EDProducer(
'ElectronHcalPFClusterIsolationProducer',
32 candidateProducer = cms.InputTag(
'gedGsfElectronsTmp'),
33 pfClusterProducerHCAL = cms.InputTag(
'particleFlowClusterHCAL'),
34 useHF = cms.bool(
False),
35 drMax = cms.double(0.3),
36 drVetoBarrel = cms.double(0),
37 drVetoEndcap = cms.double(0),
38 etaStripBarrel = cms.double(0),
39 etaStripEndcap = cms.double(0),
40 energyBarrel = cms.double(0),
41 energyEndcap = cms.double(0)
44 photonHcalPFClusterIsolationProducer = cms.EDProducer(
'PhotonHcalPFClusterIsolationProducer',
45 candidateProducer = cms.InputTag(
'gedPhotonsTmp'),
46 pfClusterProducerHCAL = cms.InputTag(
'particleFlowClusterHCAL'),
47 useHF = cms.bool(
False),
48 drMax = cms.double(0.3),
49 drVetoBarrel = cms.double(0),
50 drVetoEndcap = cms.double(0),
51 etaStripBarrel = cms.double(0),
52 etaStripEndcap = cms.double(0),
53 energyBarrel = cms.double(0),
54 energyEndcap = cms.double(0)
57 ootPhotonHcalPFClusterIsolationProducer = photonHcalPFClusterIsolationProducer.clone()
58 ootPhotonHcalPFClusterIsolationProducer.candidateProducer = cms.InputTag(
'ootPhotonsTmp')
60 pfClusterIsolationTask = cms.Task(
61 electronEcalPFClusterIsolationProducer ,
62 photonEcalPFClusterIsolationProducer ,
63 ootPhotonEcalPFClusterIsolationProducer ,
64 electronHcalPFClusterIsolationProducer ,
65 photonHcalPFClusterIsolationProducer ,
66 ootPhotonHcalPFClusterIsolationProducer
68 pfClusterIsolationSequence = cms.Sequence(pfClusterIsolationTask)