1 import FWCore.ParameterSet.Config
as cms
10 gsfElectronTask = cms.Task(ecalDrivenGsfElectronCores,ecalDrivenGsfElectrons,gsfElectronCores,gsfElectrons)
11 gsfElectronSequence = cms.Sequence(gsfElectronTask)
13 gsfEcalDrivenElectronTask = cms.Task(ecalDrivenGsfElectronCores,ecalDrivenGsfElectrons)
14 gsfEcalDrivenElectronSequence = cms.Sequence(gsfEcalDrivenElectronTask)
16 _gsfEcalDrivenElectronTaskFromMultiCl = gsfEcalDrivenElectronTask.copy()
17 _gsfEcalDrivenElectronTaskFromMultiCl.add(cms.Task(ecalDrivenGsfElectronCoresFromMultiCl,ecalDrivenGsfElectronsFromMultiCl))
18 _gsfEcalDrivenElectronSequenceFromMultiCl = cms.Sequence(_gsfEcalDrivenElectronTaskFromMultiCl)
25 electronIsoTask = cms.Task(
26 edBasedElectronIsoTask,
27 pfBasedElectronIsoTask
29 electronIsoSequence = cms.Sequence(electronIsoTask)
31 gsfElectronMergingTask = cms.Task(electronIsoTask,gsfElectronCores,gsfElectrons)
32 gsfElectronMergingSequence = cms.Sequence(gsfElectronMergingTask)
34 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
35 phase2_hgcal.toReplaceWith(
36 gsfEcalDrivenElectronTask, _gsfEcalDrivenElectronTaskFromMultiCl