CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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  src = 'electronCkfTrackCandidates',
9  Propagator = 'fwdGsfElectronPropagator',
10  Fitter = 'GsfElectronFittingSmoother',
11  TTRHBuilder = 'WithTrackAngle',
12  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")