1 import FWCore.ParameterSet.Config
as cms
8 interestingGedEleIsoDetIdEB = RecoEgamma.EgammaIsolationAlgos.interestingEleIsoDetIdModule_cff.interestingEleIsoDetId.clone()
9 interestingGedEleIsoDetIdEB.recHitsLabel =
'ecalRecHit:EcalRecHitsEB' 10 interestingGedEleIsoDetIdEB.emObjectLabel =
'gedGsfElectrons' 11 interestingGedEleIsoDetIdEB.etCandCut = 0.0
12 interestingGedEleIsoDetIdEB.energyCut = 0.095
13 interestingGedEleIsoDetIdEB.etCut = 0.0
14 interestingGedEleIsoDetIdEB.outerRadius = 0.6
15 interestingGedEleIsoDetIdEB.innerRadius = 0.0
18 interestingGedEleIsoDetIdEE = RecoEgamma.EgammaIsolationAlgos.interestingEleIsoDetIdModule_cff.interestingEleIsoDetId.clone()
19 interestingGedEleIsoDetIdEE.recHitsLabel =
'ecalRecHit:EcalRecHitsEE' 20 interestingGedEleIsoDetIdEE.emObjectLabel =
'gedGsfElectrons' 21 interestingGedEleIsoDetIdEE.etCandCut = 0.0
22 interestingGedEleIsoDetIdEE.energyCut = 0.0
23 interestingGedEleIsoDetIdEE.etCut = 0.110
24 interestingGedEleIsoDetIdEE.outerRadius = 0.6
25 interestingGedEleIsoDetIdEE.innerRadius = 0.0
28 interestingGedGamIsoDetIdEB = RecoEgamma.EgammaIsolationAlgos.interestingGamIsoDetIdModule_cff.interestingGamIsoDetId.clone()
29 interestingGedGamIsoDetIdEB.recHitsLabel =
'ecalRecHit:EcalRecHitsEB' 30 interestingGedGamIsoDetIdEB.emObjectLabel =
'gedPhotons' 31 interestingGedGamIsoDetIdEB.etCandCut = 0.0
32 interestingGedGamIsoDetIdEB.energyCut = 0.095
33 interestingGedGamIsoDetIdEB.etCut = 0.0
34 interestingGedGamIsoDetIdEB.outerRadius = 0.6
35 interestingGedGamIsoDetIdEB.innerRadius = 0.0
38 interestingGedGamIsoDetIdEE = RecoEgamma.EgammaIsolationAlgos.interestingGamIsoDetIdModule_cff.interestingGamIsoDetId.clone()
39 interestingGedGamIsoDetIdEE.recHitsLabel =
'ecalRecHit:EcalRecHitsEE' 40 interestingGedGamIsoDetIdEE.emObjectLabel =
'gedPhotons' 41 interestingGedGamIsoDetIdEE.etCandCut = 0.0
42 interestingGedGamIsoDetIdEE.energyCut = 0.0
43 interestingGedGamIsoDetIdEE.etCut = 0.110
44 interestingGedGamIsoDetIdEE.outerRadius = 0.6
45 interestingGedGamIsoDetIdEE.innerRadius = 0.0
48 interestingOotGamIsoDetIdEB = interestingGedGamIsoDetIdEB.clone(emObjectLabel =
'ootPhotons')
49 interestingOotGamIsoDetIdEE = interestingGedGamIsoDetIdEE.clone(emObjectLabel =
'ootPhotons')
52 interestingGamIsoDetIdEB = RecoEgamma.EgammaIsolationAlgos.interestingGamIsoDetIdModule_cff.interestingGamIsoDetId.clone()
53 interestingGamIsoDetIdEB.recHitsLabel =
'ecalRecHit:EcalRecHitsEB' 54 interestingGamIsoDetIdEB.emObjectLabel =
'photons' 55 interestingGamIsoDetIdEB.etCandCut = 0.0
56 interestingGamIsoDetIdEB.energyCut = 0.095
57 interestingGamIsoDetIdEB.etCut = 0.0
58 interestingGamIsoDetIdEB.outerRadius = 0.6
59 interestingGamIsoDetIdEB.innerRadius = 0.0
62 interestingGamIsoDetIdEE = RecoEgamma.EgammaIsolationAlgos.interestingGamIsoDetIdModule_cff.interestingGamIsoDetId.clone()
63 interestingGamIsoDetIdEE.recHitsLabel =
'ecalRecHit:EcalRecHitsEE' 64 interestingGamIsoDetIdEE.emObjectLabel =
'photons' 65 interestingGamIsoDetIdEE.etCandCut = 0.0
66 interestingGamIsoDetIdEE.energyCut = 0.0
67 interestingGamIsoDetIdEE.etCut = 0.110
68 interestingGamIsoDetIdEE.outerRadius = 0.6
69 interestingGamIsoDetIdEE.innerRadius = 0.0
71 import RecoEgamma.EgammaIsolationAlgos.interestingEgammaIsoHCALDetIdModule_cff
72 interestingGedEgammaIsoHCALDetId = RecoEgamma.EgammaIsolationAlgos.interestingEgammaIsoHCALDetIdModule_cff.interestingEgammaIsoHCALDetId.clone()
73 interestingGedEgammaIsoHCALDetId.recHitsLabel=cms.InputTag(
"hbhereco")
74 interestingGedEgammaIsoHCALDetId.elesLabel=cms.InputTag(
"gedGsfElectrons")
75 interestingGedEgammaIsoHCALDetId.phosLabel=cms.InputTag(
"gedPhotons")
76 interestingGedEgammaIsoHCALDetId.superClustersLabel=cms.InputTag(
"particleFlowEGamma")
77 interestingGedEgammaIsoHCALDetId.minSCEt=cms.double(20)
78 interestingGedEgammaIsoHCALDetId.minEleEt=cms.double(20)
79 interestingGedEgammaIsoHCALDetId.minPhoEt=cms.double(20)
80 interestingGedEgammaIsoHCALDetId.maxDIEta=cms.int32(5)
81 interestingGedEgammaIsoHCALDetId.maxDIPhi=cms.int32(5)
82 interestingGedEgammaIsoHCALDetId.minEnergyHCAL = cms.double(0.8)
85 interestingOotEgammaIsoHCALDetId = interestingGedEgammaIsoHCALDetId.clone()
86 interestingOotEgammaIsoHCALDetId.phosLabel=cms.InputTag(
"ootPhotons")
87 interestingOotEgammaIsoHCALDetId.elesLabel=cms.InputTag(
"")
88 interestingOotEgammaIsoHCALDetId.superClustersLabel=cms.InputTag(
"")
90 import RecoEgamma.EgammaIsolationAlgos.interestingEgammaIsoESDetIdModule_cff
91 interestingGedEgammaIsoESDetId = RecoEgamma.EgammaIsolationAlgos.interestingEgammaIsoESDetIdModule_cff.interestingEgammaIsoESDetId.clone()
92 interestingGedEgammaIsoESDetId.eeClusToESMapLabel=cms.InputTag(
"particleFlowClusterECALRemade")
93 interestingGedEgammaIsoESDetId.ecalPFClustersLabel=cms.InputTag(
"particleFlowClusterECALRemade")
94 interestingGedEgammaIsoESDetId.elesLabel=cms.InputTag(
"gedGsfElectrons")
95 interestingGedEgammaIsoESDetId.phosLabel=cms.InputTag(
"gedPhotons")
96 interestingGedEgammaIsoESDetId.superClustersLabel=cms.InputTag(
"particleFlowEGamma")
97 interestingGedEgammaIsoESDetId.minSCEt=cms.double(500)
98 interestingGedEgammaIsoESDetId.minEleEt=cms.double(20)
99 interestingGedEgammaIsoESDetId.minPhoEt=cms.double(20)
100 interestingGedEgammaIsoESDetId.maxDR=cms.double(0.4)
103 interestingOotEgammaIsoESDetId = interestingGedEgammaIsoESDetId.clone()
104 interestingOotEgammaIsoESDetId.eeClusToESMapLabel=cms.InputTag(
"particleFlowClusterOOTECAL")
105 interestingOotEgammaIsoESDetId.ecalPFClustersLabel=cms.InputTag(
"particleFlowClusterOOTECAL")
106 interestingOotEgammaIsoESDetId.phosLabel=cms.InputTag(
"ootPhotons")
107 interestingOotEgammaIsoESDetId.elesLabel=cms.InputTag(
"")
108 interestingOotEgammaIsoESDetId.superClustersLabel=cms.InputTag(
"")
110 interestingEgammaIsoDetIdsTask = cms.Task(
111 interestingGedEleIsoDetIdEB ,
112 interestingGedEleIsoDetIdEE ,
113 interestingGedGamIsoDetIdEB ,
114 interestingGedGamIsoDetIdEE ,
115 interestingOotGamIsoDetIdEB ,
116 interestingOotGamIsoDetIdEE ,
117 interestingGamIsoDetIdEB ,
118 interestingGamIsoDetIdEE ,
119 interestingGedEgammaIsoHCALDetId,
120 interestingOotEgammaIsoHCALDetId,
121 interestingGedEgammaIsoESDetId,
122 interestingOotEgammaIsoESDetId
124 interestingEgammaIsoDetIds = cms.Sequence(interestingEgammaIsoDetIdsTask)