CMS 3D CMS Logo

GsfElectronTracking_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
6 
7 electronSeeds = cms.Sequence(trackerDrivenElectronSeeds*ecalDrivenElectronSeeds*electronMergedSeeds)
8 _electronSeedsFromMultiCl = electronSeeds.copy()
9 _electronSeedsFromMultiCl += cms.Sequence(ecalDrivenElectronSeedsFromMultiCl*electronMergedSeedsFromMultiCl)
10 
11 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
12 phase2_hgcal.toReplaceWith(
13  electronSeeds, _electronSeedsFromMultiCl
14 )
15 
16 
19 electronGsfTracking = cms.Sequence(electronSeeds*electronCkfTrackCandidates*electronGsfTracks)
20 _electronGsfTracking = electronGsfTracking.copy()
21 _electronGsfTracking += cms.Sequence(electronCkfTrackCandidatesFromMultiCl*electronGsfTracksFromMultiCl)
22 
23 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
24 phase2_hgcal.toReplaceWith(
25  electronGsfTracking, _electronGsfTracking
26 )
27 
28 from SimTracker.TrackAssociation.trackTimeValueMapProducer_cfi import trackTimeValueMapProducer
29 gsfTrackTimeValueMapProducer = trackTimeValueMapProducer.clone(trackSrc = cms.InputTag('electronGsfTracks'))
30 
31 electronGsfTrackingWithTiming = cms.Sequence(electronGsfTracking.copy()*gsfTrackTimeValueMapProducer)
32 
33 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
34 phase2_timing.toReplaceWith(electronGsfTracking, electronGsfTrackingWithTiming)