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