1 import FWCore.ParameterSet.Config
as cms
4 ootPhotons = _gedPhotons.clone(
5 photonProducer =
'ootPhotonCore',
6 candidateP4type =
"fromEcalEnergy",
7 reconstructionStep =
"oot",
8 pfEgammaCandidates =
"",
11 del ootPhotons.regressionConfig
13 from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff
import run2_miniAOD_80XLegacy
15 run2_miniAOD_80XLegacy.toModify(
17 barrelEcalHits =
"reducedEcalRecHitsEB",
18 endcapEcalHits =
"reducedEcalRecHitsEE",
19 preshowerHits =
"reducedEcalRecHitsES",
22 run2_miniAOD_80XLegacy.toModify(
23 ootPhotons.isolationSumsCalculatorSet,
24 barrelEcalRecHitCollection =
"reducedEcalRecHitsEB",
25 endcapEcalRecHitCollection =
"reducedEcalRecHitsEE",
26 HcalRecHitCollection =
"" 28 run2_miniAOD_80XLegacy.toModify(
29 ootPhotons.mipVariableSet,
30 barrelEcalRecHitCollection =
"reducedEcalRecHitsEB",
31 endcapEcalRecHitCollection =
"reducedEcalRecHitsEE",