Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:34:16

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoParticleFlow.PFClusterProducer.particleFlowRecHitOOTECAL_cff import *
0004 from RecoParticleFlow.PFClusterProducer.particleFlowClusterOOTECALUncorrected_cff import *
0005 from RecoParticleFlow.PFClusterProducer.particleFlowClusterOOTECAL_cff import *
0006 from RecoEcal.EgammaClusterProducers.particleFlowSuperClusterOOTECAL_cff import *
0007 from RecoEgamma.EgammaPhotonProducers.ootPhotonCore_cff import *
0008 from RecoEgamma.EgammaPhotonProducers.ootPhotons_cff import *
0009 
0010 # task+sequence to make OOT photons from clusters in ECAL from full PFRecHits w/o timing cut
0011 ootPhotonTask = cms.Task(
0012     particleFlowRecHitOOTECAL,
0013     particleFlowClusterOOTECALUncorrected,
0014     particleFlowClusterOOTECAL, 
0015     particleFlowSuperClusterOOTECAL, 
0016     ootPhotonCore, 
0017     ootPhotonsTmp,
0018     ootPhotons
0019     )
0020 
0021 ootPhotonSequence = cms.Sequence(ootPhotonTask)
0022 
0023 ## For legacy reprocessing: need additional products
0024 from RecoJets.Configuration.CaloTowersES_cfi import *
0025 from RecoLocalCalo.EcalRecAlgos.EcalSeverityLevelESProducer_cfi import essourceEcalSev, ecalSeverityLevel
0026 from RecoParticleFlow.PFClusterProducer.particleFlowRecHitPS_cfi import particleFlowRecHitPS
0027 from RecoParticleFlow.PFClusterProducer.particleFlowClusterPS_cfi import particleFlowClusterPS
0028 
0029 from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff import run2_miniAOD_80XLegacy
0030 run2_miniAOD_80XLegacy.toReplaceWith(ootPhotonTask, cms.Task(
0031                                      CaloTowerConstituentsMapBuilder,
0032                                      essourceEcalSev,
0033                                      ecalSeverityLevel,
0034                                      particleFlowRecHitPS,
0035                                      particleFlowClusterPS,
0036                                      ootPhotonTask.copy()
0037                                      ))