1 import FWCore.ParameterSet.Config
as cms
5 ElectronChi2 = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone()
6 ElectronChi2.ComponentName =
'ElectronChi2'
7 ElectronChi2.MaxChi2 = 2000.
8 ElectronChi2.nSigma = 3.
11 TrajectoryFilterForElectrons = cms.PSet(
12 chargeSignificance = cms.double(-1.0),
13 minPt = cms.double(2.0),
14 minHitsMinPt = cms.int32(-1),
15 ComponentType = cms.string(
'CkfBaseTrajectoryFilter'),
16 maxLostHits = cms.int32(1),
17 maxNumberOfHits = cms.int32(-1),
18 maxConsecLostHits = cms.int32(1),
19 nSigmaMinPt = cms.double(5.0),
20 minimumNumberOfHits = cms.int32(5)
25 TrajectoryBuilderForElectrons = RecoTracker.CkfPattern.CkfTrajectoryBuilder_cfi.CkfTrajectoryBuilder.clone()
26 TrajectoryBuilderForElectrons.trajectoryFilter.refToPSet_ =
'TrajectoryFilterForElectrons'
27 TrajectoryBuilderForElectrons.maxCand = 5
28 TrajectoryBuilderForElectrons.intermediateCleaning =
False
29 TrajectoryBuilderForElectrons.propagatorAlong =
'fwdGsfElectronPropagator'
30 TrajectoryBuilderForElectrons.propagatorOpposite =
'bwdGsfElectronPropagator'
31 TrajectoryBuilderForElectrons.estimator =
'ElectronChi2'
32 TrajectoryBuilderForElectrons.MeasurementTrackerName =
''
33 TrajectoryBuilderForElectrons.lostHitPenalty = 90.
34 TrajectoryBuilderForElectrons.alwaysUseInvalidHits =
True
35 TrajectoryBuilderForElectrons.TTRHBuilder =
'WithTrackAngle'
36 TrajectoryBuilderForElectrons.updator =
'KFUpdator'
44 electronCkfTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone()
45 electronCkfTrackCandidates.src = cms.InputTag(
'electronMergedSeeds')
46 electronCkfTrackCandidates.TrajectoryBuilderPSet.refToPSet_ =
'TrajectoryBuilderForElectrons'
48 electronCkfTrackCandidates.NavigationSchool =
'SimpleNavigationSchool'
49 electronCkfTrackCandidates.RedundantSeedCleaner =
'CachingSeedCleanerBySharedInput'
52 electronTrajectoryCleanerBySharedHits = trajectoryCleanerBySharedHits.clone(
53 ComponentName = cms.string(
'electronTrajectoryCleanerBySharedHits'),
54 ValidHitBonus = cms.double(1000.0),
55 MissingHitPenalty = cms.double(0.0)
57 electronCkfTrackCandidates.TrajectoryCleaner =
'electronTrajectoryCleanerBySharedHits'