1 import FWCore.ParameterSet.Config
as cms
9 from RecoEgamma.EgammaElectronProducers.ecalDrivenGsfElectronCores_cfi
import ecalDrivenGsfElectronCores
10 from RecoEgamma.EgammaElectronProducers.ecalDrivenGsfElectronCoresHGC_cff
import ecalDrivenGsfElectronCoresHGC
13 gsfEcalDrivenElectronTask = cms.Task(ecalDrivenGsfElectronCores,ecalDrivenGsfElectrons)
14 gsfEcalDrivenElectronSequence = cms.Sequence(gsfEcalDrivenElectronTask)
16 _gsfEcalDrivenElectronTaskHGC = gsfEcalDrivenElectronTask.copy()
17 _gsfEcalDrivenElectronTaskHGC.add(cms.Task(ecalDrivenGsfElectronCoresHGC,ecalDrivenGsfElectronsHGC))
19 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
20 phase2_hgcal.toReplaceWith(
21 gsfEcalDrivenElectronTask, _gsfEcalDrivenElectronTaskHGC