CMS 3D CMS Logo

gsfElectronCkfTrackCandidateMaker_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # CKFTrackCandidateMaker
6 egammaCkfTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone()
8 #replace egammaCkfTrackCandidates.TransientInitialStateEstimatorParameters =
9 # {
10 # string propagatorAlongTISE = "PropagatorWithMaterial"
11 # string propagatorOppositeTISE = "PropagatorWithMaterialOpposite"
12 # }
13 # TrajectoryBuilder
14 TrajectoryBuilderForPixelMatchGsfElectrons = RecoTracker.CkfPattern.CkfTrajectoryBuilder_cfi.CkfTrajectoryBuilder.clone()
16 # Electron propagators and estimators
17 # Looser chi2 estimator for electron trajectory building
18 gsfElectronChi2 = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone()
19 # "backward" propagator for electrons
21 # "forward" propagator for electrons
23 
24 egammaCkfTrackCandidates.src = cms.InputTag('ecalDrivenElectronSeeds')
25 egammaCkfTrackCandidates.TrajectoryBuilderPSet.refToPSet_ = 'TrajectoryBuilderForPixelMatchGsfElectrons'
26 egammaCkfTrackCandidates.SeedLabel = cms.InputTag('')
27 egammaCkfTrackCandidates.TrajectoryCleaner = 'TrajectoryCleanerBySharedHits'
28 egammaCkfTrackCandidates.NavigationSchool = 'SimpleNavigationSchool'
29 egammaCkfTrackCandidates.RedundantSeedCleaner = 'CachingSeedCleanerBySharedInput'
30 
31 TrajectoryBuilderForPixelMatchGsfElectrons.trajectoryFilter.refToPSet_ = 'TrajectoryFilterForPixelMatchGsfElectrons'
32 TrajectoryBuilderForPixelMatchGsfElectrons.maxCand = 3
33 TrajectoryBuilderForPixelMatchGsfElectrons.intermediateCleaning = False
34 TrajectoryBuilderForPixelMatchGsfElectrons.propagatorAlong = 'fwdGsfElectronPropagator'
35 TrajectoryBuilderForPixelMatchGsfElectrons.propagatorOpposite = 'bwdGsfElectronPropagator'
36 TrajectoryBuilderForPixelMatchGsfElectrons.estimator = 'gsfElectronChi2'
37 TrajectoryBuilderForPixelMatchGsfElectrons.MeasurementTrackerName = ''
38 TrajectoryBuilderForPixelMatchGsfElectrons.lostHitPenalty = 30.
39 TrajectoryBuilderForPixelMatchGsfElectrons.alwaysUseInvalidHits = True
40 TrajectoryBuilderForPixelMatchGsfElectrons.TTRHBuilder = 'WithTrackAngle'
41 TrajectoryBuilderForPixelMatchGsfElectrons.updator = 'KFUpdator'
42 
43 gsfElectronChi2.ComponentName = 'gsfElectronChi2'
44 gsfElectronChi2.MaxChi2 = 100000.
45 gsfElectronChi2.nSigma = 3.
46 gsfElectronChi2.MaxDisplacement = 100
47 gsfElectronChi2.MaxSagitta = -1
48 
49 TrajectoryFilterForPixelMatchGsfElectrons = cms.PSet(
50  chargeSignificance = cms.double(-1.0),
51  minPt = cms.double(3.0),
52  minHitsMinPt = cms.int32(-1),
53  ComponentType = cms.string('CkfBaseTrajectoryFilter'),
54  maxLostHits = cms.int32(1),
55  maxNumberOfHits = cms.int32(-1),
56  maxConsecLostHits = cms.int32(1),
57  nSigmaMinPt = cms.double(5.0),
58  minimumNumberOfHits = cms.int32(5)
59 )
60