1 import FWCore.ParameterSet.Config
as cms
4 ootPhotonsTmp = _gedPhotons.clone(
5 photonProducer =
'ootPhotonCore',
6 candidateP4type =
"fromEcalEnergy",
7 reconstructionStep =
"oot",
8 pfEgammaCandidates =
"",
11 del ootPhotonsTmp.regressionConfig
13 ootPhotons = _gedPhotons.clone(
14 photonProducer =
'ootPhotonsTmp',
15 candidateP4type =
"fromEcalEnergy",
16 reconstructionStep =
"ootfinal",
17 pfEgammaCandidates =
"",
18 chargedHadronIsolation = cms.InputTag(
""),
19 neutralHadronIsolation = cms.InputTag(
""),
20 photonIsolation = cms.InputTag(
""),
21 pfECALClusIsolation = cms.InputTag(
"ootPhotonEcalPFClusterIsolationProducer"),
22 pfHCALClusIsolation = cms.InputTag(
"ootPhotonHcalPFClusterIsolationProducer"),
25 del ootPhotons.regressionConfig
29 from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff
import run2_miniAOD_80XLegacy
31 run2_miniAOD_80XLegacy.toModify(
33 barrelEcalHits =
"reducedEcalRecHitsEB",
34 endcapEcalHits =
"reducedEcalRecHitsEE",
35 preshowerHits =
"reducedEcalRecHitsES",
38 run2_miniAOD_80XLegacy.toModify(
40 barrelEcalHits =
"reducedEcalRecHitsEB",
41 endcapEcalHits =
"reducedEcalRecHitsEE",
42 preshowerHits =
"reducedEcalRecHitsES",
44 pfECALClusIsolation =
None,
45 pfHCALClusIsolation =
None 47 run2_miniAOD_80XLegacy.toModify(
48 ootPhotonsTmp.isolationSumsCalculatorSet,
49 barrelEcalRecHitCollection =
"reducedEcalRecHitsEB",
50 endcapEcalRecHitCollection =
"reducedEcalRecHitsEE",
51 HcalRecHitCollection =
"" 53 run2_miniAOD_80XLegacy.toModify(
54 ootPhotonsTmp.mipVariableSet,
55 barrelEcalRecHitCollection =
"reducedEcalRecHitsEB",
56 endcapEcalRecHitCollection =
"reducedEcalRecHitsEE",