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.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
14 phase2_hgcal.toReplaceWith(
15 electronSeedsTask, _electronSeedsTaskFromMultiCl )
17 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
18 _fastSim_electronSeedsTask = electronSeedsTask.copy()
19 _fastSim_electronSeedsTask.replace(trackerDrivenElectronSeeds, cms.Task(trackerDrivenElectronSeedsTmp,trackerDrivenElectronSeeds))
20 fastSim.toReplaceWith(electronSeedsTask, _fastSim_electronSeedsTask)
23 fastElectronCkfTrackCandidates = FastSimulation.Tracking.electronCkfTrackCandidates_cff.electronCkfTrackCandidates.clone()
28 electronGsfTrackingTask = cms.Task(electronSeedsTask,electronCkfTrackCandidates,electronGsfTracks)
29 electronGsfTracking = cms.Sequence(electronGsfTrackingTask)
30 _electronGsfTrackingTask = electronGsfTrackingTask.copy()
31 _electronGsfTrackingTask.add(cms.Task(electronCkfTrackCandidatesFromMultiCl,electronGsfTracksFromMultiCl))
32 _fastSim_electronGsfTrackingTask = electronGsfTrackingTask.copy()
33 _fastSim_electronGsfTrackingTask.replace(electronCkfTrackCandidates,fastElectronCkfTrackCandidates)
34 fastSim.toReplaceWith(electronGsfTrackingTask,_fastSim_electronGsfTrackingTask)
36 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
37 phase2_hgcal.toReplaceWith(
38 electronGsfTrackingTask, _electronGsfTrackingTask
41 from SimTracker.TrackAssociation.trackTimeValueMapProducer_cfi
import trackTimeValueMapProducer
42 gsfTrackTimeValueMapProducer = trackTimeValueMapProducer.clone(trackSrc = cms.InputTag(
'electronGsfTracks'))
44 electronGsfTrackingWithTimingTask = cms.Task(electronGsfTrackingTask.copy(),gsfTrackTimeValueMapProducer)
45 electronGsfTrackingWithTiming = cms.Sequence(electronGsfTrackingWithTimingTask)
47 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
48 phase2_timing.toReplaceWith(electronGsfTrackingTask, electronGsfTrackingWithTimingTask)