Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #==============================================================================
0004 # Sequence to make final electrons.
0005 # In the past, this was including the seeding, but this one is directly
0006 # imported in the reco sequences since the integration with pflow.
0007 #==============================================================================
0008 
0009 from RecoEgamma.EgammaElectronProducers.ecalDrivenGsfElectronCores_cfi import ecalDrivenGsfElectronCores
0010 from RecoEgamma.EgammaElectronProducers.ecalDrivenGsfElectronCoresHGC_cff import ecalDrivenGsfElectronCoresHGC
0011 from RecoEgamma.EgammaElectronProducers.gsfElectrons_cfi import *
0012 
0013 gsfEcalDrivenElectronTask = cms.Task(ecalDrivenGsfElectronCores,ecalDrivenGsfElectrons)
0014 gsfEcalDrivenElectronSequence = cms.Sequence(gsfEcalDrivenElectronTask)
0015 
0016 _gsfEcalDrivenElectronTaskHGC = gsfEcalDrivenElectronTask.copy()
0017 _gsfEcalDrivenElectronTaskHGC.add(cms.Task(ecalDrivenGsfElectronCoresHGC,ecalDrivenGsfElectronsHGC))
0018 
0019 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
0020 phase2_hgcal.toReplaceWith(
0021   gsfEcalDrivenElectronTask, _gsfEcalDrivenElectronTaskHGC
0022 )