1 import FWCore.ParameterSet.Config
as cms
7 electronSeedsTask = cms.Task(trackerDrivenElectronSeeds,ecalDrivenElectronSeeds,electronMergedSeeds)
8 electronSeeds = cms.Sequence(electronSeedsTask)
9 _electronSeedsTaskFromMultiCl = electronSeedsTask.copy()
10 _electronSeedsTaskFromMultiCl.add(cms.Task(ecalDrivenElectronSeedsFromMultiCl,electronMergedSeedsFromMultiCl))
11 _electronSeedsFromMultiCl = cms.Sequence(_electronSeedsTaskFromMultiCl)
13 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
14 pp_on_AA.toReplaceWith(electronSeedsTask, electronSeedsTask.copyAndExclude([trackerDrivenElectronSeeds]))
16 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
17 phase2_hgcal.toReplaceWith(
18 electronSeedsTask, _electronSeedsTaskFromMultiCl )
20 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
21 _fastSim_electronSeedsTask = electronSeedsTask.copy()
22 _fastSim_electronSeedsTask.replace(trackerDrivenElectronSeeds, cms.Task(trackerDrivenElectronSeedsTmp,trackerDrivenElectronSeeds))
23 fastSim.toReplaceWith(electronSeedsTask, _fastSim_electronSeedsTask)
26 fastElectronCkfTrackCandidates = FastSimulation.Tracking.electronCkfTrackCandidates_cff.electronCkfTrackCandidates.clone()
31 electronGsfTrackingTask = cms.Task(electronSeedsTask,electronCkfTrackCandidates,electronGsfTracks)
32 electronGsfTracking = cms.Sequence(electronGsfTrackingTask)
33 _electronGsfTrackingTask = electronGsfTrackingTask.copy()
34 _electronGsfTrackingTask.add(cms.Task(electronCkfTrackCandidatesFromMultiCl,electronGsfTracksFromMultiCl))
35 _fastSim_electronGsfTrackingTask = electronGsfTrackingTask.copy()
36 _fastSim_electronGsfTrackingTask.replace(electronCkfTrackCandidates,fastElectronCkfTrackCandidates)
37 fastSim.toReplaceWith(electronGsfTrackingTask,_fastSim_electronGsfTrackingTask)
39 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
40 phase2_hgcal.toReplaceWith(
41 electronGsfTrackingTask, _electronGsfTrackingTask
44 from SimTracker.TrackAssociation.trackTimeValueMapProducer_cfi
import trackTimeValueMapProducer
45 gsfTrackTimeValueMapProducer = trackTimeValueMapProducer.clone(trackSrc = cms.InputTag(
'electronGsfTracks'))
47 electronGsfTrackingWithTimingTask = cms.Task(electronGsfTrackingTask.copy(),gsfTrackTimeValueMapProducer)
48 electronGsfTrackingWithTiming = cms.Sequence(electronGsfTrackingWithTimingTask)
50 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
51 phase2_timing.toReplaceWith(electronGsfTrackingTask, electronGsfTrackingWithTimingTask)