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 =
"",
19 chargedHadronIso = cms.InputTag(
""),
20 neutralHadronIso = cms.InputTag(
""),
21 photonIso = cms.InputTag(
""),
22 chargedHadronWorstVtxIso = cms.InputTag(
""),
23 chargedHadronWorstVtxGeomVetoIso = cms.InputTag(
""),
24 chargedHadronPFPVIso = cms.InputTag(
""),
26 pfECALClusIsolation = cms.InputTag(
"ootPhotonEcalPFClusterIsolationProducer"),
27 pfHCALClusIsolation = cms.InputTag(
"ootPhotonHcalPFClusterIsolationProducer"),
30 del ootPhotons.regressionConfig
34 from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff
import run2_miniAOD_80XLegacy
36 run2_miniAOD_80XLegacy.toModify(
38 barrelEcalHits =
"reducedEcalRecHitsEB",
39 endcapEcalHits =
"reducedEcalRecHitsEE",
40 preshowerHits =
"reducedEcalRecHitsES",
43 run2_miniAOD_80XLegacy.toModify(
45 barrelEcalHits =
"reducedEcalRecHitsEB",
46 endcapEcalHits =
"reducedEcalRecHitsEE",
47 preshowerHits =
"reducedEcalRecHitsES",
49 pfECALClusIsolation =
None,
50 pfHCALClusIsolation =
None
52 run2_miniAOD_80XLegacy.toModify(
53 ootPhotonsTmp.isolationSumsCalculatorSet,
54 barrelEcalRecHitCollection =
"reducedEcalRecHitsEB",
55 endcapEcalRecHitCollection =
"reducedEcalRecHitsEE",
56 HBHERecHitCollection =
""
58 run2_miniAOD_80XLegacy.toModify(
59 ootPhotonsTmp.mipVariableSet,
60 barrelEcalRecHitCollection =
"reducedEcalRecHitsEB",
61 endcapEcalRecHitCollection =
"reducedEcalRecHitsEE",