CMS 3D CMS Logo

particleFlowSuperClusterOOTECAL_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
3 
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")
13 
14 
15 particleFlowSuperClusterOOTECAL.isOOTCollection = cms.bool(True)
16 particleFlowSuperClusterOOTECAL.barrelRecHits = cms.InputTag("ecalRecHit","EcalRecHitsEB")
17 particleFlowSuperClusterOOTECAL.endcapRecHits = cms.InputTag("ecalRecHit","EcalRecHitsEE")
18 
19 from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff import run2_miniAOD_80XLegacy
20 
21 run2_miniAOD_80XLegacy.toModify(
22  particleFlowSuperClusterOOTECAL,
23  barrelRecHits = "reducedEcalRecHitsEB",
24  endcapRecHits = "reducedEcalRecHitsEE"
25 )
26 run2_miniAOD_80XLegacy.toModify(
27  particleFlowSuperClusterOOTECAL.regressionConfig,
28  ecalRecHitsEB = "reducedEcalRecHitsEB",
29  ecalRecHitsEE = "reducedEcalRecHitsEE"
30 )
31 
particleFlowSuperClusterECAL_cfi