1 import FWCore.ParameterSet.Config
as cms
9 from RecoEgamma.EgammaElectronProducers.ecalDrivenGsfElectronCores_cfi
import ecalDrivenGsfElectronCores
10 from RecoEgamma.EgammaElectronProducers.gsfElectronCores_cfi
import gsfElectronCores
11 from RecoEgamma.EgammaElectronProducers.ecalDrivenGsfElectronCoresFromMultiCl_cff
import ecalDrivenGsfElectronCoresFromMultiCl
13 gsfElectronTask = cms.Task(ecalDrivenGsfElectronCores,ecalDrivenGsfElectrons,gsfElectronCores,gsfElectrons)
14 gsfElectronSequence = cms.Sequence(gsfElectronTask)
16 gsfEcalDrivenElectronTask = cms.Task(ecalDrivenGsfElectronCores,ecalDrivenGsfElectrons)
17 gsfEcalDrivenElectronSequence = cms.Sequence(gsfEcalDrivenElectronTask)
19 _gsfEcalDrivenElectronTaskFromMultiCl = gsfEcalDrivenElectronTask.copy()
20 _gsfEcalDrivenElectronTaskFromMultiCl.add(cms.Task(ecalDrivenGsfElectronCoresFromMultiCl,ecalDrivenGsfElectronsFromMultiCl))
21 _gsfEcalDrivenElectronSequenceFromMultiCl = cms.Sequence(_gsfEcalDrivenElectronTaskFromMultiCl)
27 electronIsoTask = cms.Task(
28 edBasedElectronIsoTask,
29 pfBasedElectronIsoTask
31 electronIsoSequence = cms.Sequence(electronIsoTask)
33 gsfElectronMergingTask = cms.Task(electronIsoTask,gsfElectronCores,gsfElectrons)
34 gsfElectronMergingSequence = cms.Sequence(gsfElectronMergingTask)
36 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
37 phase2_hgcal.toReplaceWith(
38 gsfEcalDrivenElectronTask, _gsfEcalDrivenElectronTaskFromMultiCl