Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:24:40

0001 import FWCore.ParameterSet.Config as cms
0002 from RecoEcal.EgammaClusterProducers.particleFlowSuperClusterECAL_cfi import *
0003 
0004 particleFlowSuperClusterOOTECAL = particleFlowSuperClusterECAL.clone(
0005     PFClusters                     = "particleFlowClusterOOTECAL",
0006     ESAssociation                  = "particleFlowClusterOOTECAL",
0007     PFBasicClusterCollectionBarrel = "particleFlowBasicClusterOOTECALBarrel",
0008     PFSuperClusterCollectionBarrel = "particleFlowSuperClusterOOTECALBarrel",
0009     PFBasicClusterCollectionEndcap = "particleFlowBasicClusterOOTECALEndcap",
0010     PFSuperClusterCollectionEndcap = "particleFlowSuperClusterOOTECALEndcap",
0011     PFBasicClusterCollectionPreshower = "particleFlowBasicClusterOOTECALPreshower",
0012     PFSuperClusterCollectionEndcapWithPreshower = "particleFlowSuperClusterOOTECALEndcapWithPreshower",
0013     ## modification for Algo
0014     isOOTCollection                = True,
0015     barrelRecHits                  = "ecalRecHit:EcalRecHitsEB",
0016     endcapRecHits                  = "ecalRecHit:EcalRecHitsEE"
0017 )
0018 from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff import run2_miniAOD_80XLegacy
0019 
0020 run2_miniAOD_80XLegacy.toModify(
0021     particleFlowSuperClusterOOTECAL, 
0022     barrelRecHits = "reducedEcalRecHitsEB",
0023     endcapRecHits = "reducedEcalRecHitsEE"
0024 )
0025 run2_miniAOD_80XLegacy.toModify(
0026     particleFlowSuperClusterOOTECAL.regressionConfig, 
0027     ecalRecHitsEB = "reducedEcalRecHitsEB",
0028     ecalRecHitsEE = "reducedEcalRecHitsEE"
0029 )
0030