TrackingTools
GsfTracking
python
GsfElectronGsfFit_cff.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
# Gsf track fit for GsfElectrons
4
from
TrackingTools.GsfTracking.fwdGsfElectronPropagator_cff
import
*
5
from
TrackingTools.GsfTracking.GsfElectronFit_cff
import
*
6
import
TrackingTools.GsfTracking.GsfElectronFit_cfi
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"
)
GsfElectronFit_cfi
GsfElectronFit_cff
fwdGsfElectronPropagator_cff
Generated for CMSSW Reference Manual by
1.8.14