1 import FWCore.ParameterSet.Config
as cms
4 particleFlowSuperClusterOOTECAL = particleFlowSuperClusterECAL.clone()
5 particleFlowSuperClusterOOTECAL.PFClusters = cms.InputTag(
"particleFlowClusterOOTECAL")
6 particleFlowSuperClusterOOTECAL.ESAssociation = cms.InputTag(
"particleFlowClusterOOTECAL")
7 particleFlowSuperClusterOOTECAL.PFBasicClusterCollectionBarrel = cms.string(
"particleFlowBasicClusterOOTECALBarrel")
8 particleFlowSuperClusterOOTECAL.PFSuperClusterCollectionBarrel = cms.string(
"particleFlowSuperClusterOOTECALBarrel")
9 particleFlowSuperClusterOOTECAL.PFBasicClusterCollectionEndcap = cms.string(
"particleFlowBasicClusterOOTECALEndcap")
10 particleFlowSuperClusterOOTECAL.PFSuperClusterCollectionEndcap = cms.string(
"particleFlowSuperClusterOOTECALEndcap")
11 particleFlowSuperClusterOOTECAL.PFBasicClusterCollectionPreshower = cms.string(
"particleFlowBasicClusterOOTECALPreshower")
12 particleFlowSuperClusterOOTECAL.PFSuperClusterCollectionEndcapWithPreshower = cms.string(
"particleFlowSuperClusterOOTECALEndcapWithPreshower")
15 particleFlowSuperClusterOOTECAL.isOOTCollection = cms.bool(
True)
16 particleFlowSuperClusterOOTECAL.barrelRecHits = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB")
17 particleFlowSuperClusterOOTECAL.endcapRecHits = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE")
19 from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff
import run2_miniAOD_80XLegacy
21 run2_miniAOD_80XLegacy.toModify(
22 particleFlowSuperClusterOOTECAL,
23 barrelRecHits =
"reducedEcalRecHitsEB",
24 endcapRecHits =
"reducedEcalRecHitsEE" 26 run2_miniAOD_80XLegacy.toModify(
27 particleFlowSuperClusterOOTECAL.regressionConfig,
28 ecalRecHitsEB =
"reducedEcalRecHitsEB",
29 ecalRecHitsEE =
"reducedEcalRecHitsEE"