CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CkfElectronCandidateMaker_cff.py
Go to the documentation of this file.
2 
3 #Chi2 estimator
5 ElectronChi2 = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone()
6 ElectronChi2.ComponentName = 'ElectronChi2'
7 ElectronChi2.MaxChi2 = 2000.
8 ElectronChi2.nSigma = 3.
9 
10 # Trajectory Filter
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)
21 )
22 
23 # Trajectory Builder
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'
37 
38 
39 
40 
41 # CKFTrackCandidateMaker
44 electronCkfTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone()
45 electronCkfTrackCandidates.src = cms.InputTag('electronMergedSeeds')
46 electronCkfTrackCandidates.TrajectoryBuilderPSet.refToPSet_ = 'TrajectoryBuilderForElectrons'
47 #electronCkfTrackCandidates.TrajectoryCleaner = 'TrajectoryCleanerBySharedHits'
48 electronCkfTrackCandidates.NavigationSchool = 'SimpleNavigationSchool'
49 electronCkfTrackCandidates.RedundantSeedCleaner = 'CachingSeedCleanerBySharedInput'
50 
51 from TrackingTools.TrajectoryCleaning.TrajectoryCleanerBySharedHits_cfi import trajectoryCleanerBySharedHits
52 electronTrajectoryCleanerBySharedHits = trajectoryCleanerBySharedHits.clone(
53  ComponentName = cms.string('electronTrajectoryCleanerBySharedHits'),
54  ValidHitBonus = cms.double(1000.0),
55  MissingHitPenalty = cms.double(0.0)
56  )
57 electronCkfTrackCandidates.TrajectoryCleaner = 'electronTrajectoryCleanerBySharedHits'
58 
59 
60 # "backward" propagator for electrons
62 # "forward" propagator for electrons
64 # TrajectoryFilter
65 
66 
67 
68 
69 
70 
71 
72 
73