CMS 3D CMS Logo

GsfElectronGsfFit_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Gsf track fit for GsfElectrons
7 electronGsfTracks = TrackingTools.GsfTracking.GsfElectronFit_cfi.GsfGlobalElectronTest.clone()
8 electronGsfTracks.src = 'electronCkfTrackCandidates'
9 electronGsfTracks.Propagator = 'fwdGsfElectronPropagator'
10 electronGsfTracks.Fitter = 'GsfElectronFittingSmoother'
11 electronGsfTracks.TTRHBuilder = 'WithTrackAngle'
12 electronGsfTracks.TrajectoryInEvent = False
13 
14 # FastSim has no template fit on tracker hits
15 # replace the ECAL driven electron track candidates with the FastSim emulated ones
16 from Configuration.Eras.Modifier_fastSim_cff import fastSim
17 fastSim.toModify(electronGsfTracks,
18  src = "fastElectronCkfTrackCandidates",
19  TTRHBuilder = "WithoutRefit")
20 
21 electronGsfTracksFromMultiCl = electronGsfTracks.clone(
22  src = 'electronCkfTrackCandidatesFromMultiCl'
23 )
24