1 import FWCore.ParameterSet.Config
as cms
7 electronSeedsTask = cms.Task(trackerDrivenElectronSeeds,ecalDrivenElectronSeeds,electronMergedSeeds)
8 electronSeeds = cms.Sequence(electronSeedsTask)
10 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
11 pp_on_AA.toReplaceWith(electronSeedsTask, electronSeedsTask.copyAndExclude([trackerDrivenElectronSeeds]))
13 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
14 _fastSim_electronSeedsTask = electronSeedsTask.copy()
15 _fastSim_electronSeedsTask.replace(trackerDrivenElectronSeeds, cms.Task(trackerDrivenElectronSeedsTmp,trackerDrivenElectronSeeds))
16 fastSim.toReplaceWith(electronSeedsTask, _fastSim_electronSeedsTask)
19 fastElectronCkfTrackCandidates = FastSimulation.Tracking.electronCkfTrackCandidates_cff.electronCkfTrackCandidates.clone()
24 electronGsfTrackingTask = cms.Task(electronSeedsTask,electronCkfTrackCandidates,electronGsfTracks)
25 electronGsfTracking = cms.Sequence(electronGsfTrackingTask)
26 _electronGsfTrackingTask = electronGsfTrackingTask.copy()
27 _fastSim_electronGsfTrackingTask = electronGsfTrackingTask.copy()
28 _fastSim_electronGsfTrackingTask.replace(electronCkfTrackCandidates,fastElectronCkfTrackCandidates)
29 fastSim.toReplaceWith(electronGsfTrackingTask,_fastSim_electronGsfTrackingTask)
31 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
32 phase2_hgcal.toReplaceWith(
33 electronGsfTrackingTask, _electronGsfTrackingTask
36 from SimTracker.TrackAssociation.trackTimeValueMapProducer_cfi
import trackTimeValueMapProducer
37 gsfTrackTimeValueMapProducer = trackTimeValueMapProducer.clone(trackSrc =
'electronGsfTracks')
39 electronGsfTrackingWithTimingTask = cms.Task(electronGsfTrackingTask.copy(),gsfTrackTimeValueMapProducer)
40 electronGsfTrackingWithTiming = cms.Sequence(electronGsfTrackingWithTimingTask)
42 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
43 phase2_timing.toReplaceWith(electronGsfTrackingTask, electronGsfTrackingWithTimingTask)