CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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.Chi2MeasurementEstimatorESProducer_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 
47 TrajectoryFilterForPixelMatchGsfElectrons = cms.PSet(
48  chargeSignificance = cms.double(-1.0),
49  minPt = cms.double(3.0),
50  minHitsMinPt = cms.int32(-1),
51  ComponentType = cms.string('CkfBaseTrajectoryFilter'),
52  maxLostHits = cms.int32(1),
53  maxNumberOfHits = cms.int32(-1),
54  maxConsecLostHits = cms.int32(1),
55  nSigmaMinPt = cms.double(5.0),
56  minimumNumberOfHits = cms.int32(5)
57 )
58