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.
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.CkfTrajectoryBuilderESProducer_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 # TrajectoryFilter
25 import TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi
26 TrajectoryFilterForPixelMatchGsfElectrons = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.clone()
27 
28 egammaCkfTrackCandidates.src = cms.InputTag('ecalDrivenElectronSeeds')
29 egammaCkfTrackCandidates.TrajectoryBuilder = 'TrajectoryBuilderForPixelMatchGsfElectrons'
30 egammaCkfTrackCandidates.SeedLabel = cms.InputTag('')
31 egammaCkfTrackCandidates.TrajectoryCleaner = 'TrajectoryCleanerBySharedHits'
32 egammaCkfTrackCandidates.NavigationSchool = 'SimpleNavigationSchool'
33 egammaCkfTrackCandidates.RedundantSeedCleaner = 'CachingSeedCleanerBySharedInput'
34 
35 TrajectoryBuilderForPixelMatchGsfElectrons.ComponentName = 'TrajectoryBuilderForPixelMatchGsfElectrons'
36 TrajectoryBuilderForPixelMatchGsfElectrons.trajectoryFilterName = 'TrajectoryFilterForPixelMatchGsfElectrons'
37 TrajectoryBuilderForPixelMatchGsfElectrons.maxCand = 3
38 TrajectoryBuilderForPixelMatchGsfElectrons.intermediateCleaning = False
39 TrajectoryBuilderForPixelMatchGsfElectrons.propagatorAlong = 'fwdGsfElectronPropagator'
40 TrajectoryBuilderForPixelMatchGsfElectrons.propagatorOpposite = 'bwdGsfElectronPropagator'
41 TrajectoryBuilderForPixelMatchGsfElectrons.estimator = 'gsfElectronChi2'
42 TrajectoryBuilderForPixelMatchGsfElectrons.MeasurementTrackerName = ''
43 TrajectoryBuilderForPixelMatchGsfElectrons.lostHitPenalty = 30.
44 TrajectoryBuilderForPixelMatchGsfElectrons.alwaysUseInvalidHits = True
45 TrajectoryBuilderForPixelMatchGsfElectrons.TTRHBuilder = 'WithTrackAngle'
46 TrajectoryBuilderForPixelMatchGsfElectrons.updator = 'KFUpdator'
47 
48 gsfElectronChi2.ComponentName = 'gsfElectronChi2'
49 gsfElectronChi2.MaxChi2 = 100000.
50 gsfElectronChi2.nSigma = 3.
51 
52 TrajectoryFilterForPixelMatchGsfElectrons.ComponentName = 'TrajectoryFilterForPixelMatchGsfElectrons'
53 TrajectoryFilterForPixelMatchGsfElectrons.filterPset = cms.PSet(
54  chargeSignificance = cms.double(-1.0),
55  minPt = cms.double(3.0),
56  minHitsMinPt = cms.int32(-1),
57  ComponentType = cms.string('CkfBaseTrajectoryFilter'),
58  maxLostHits = cms.int32(1),
59  maxNumberOfHits = cms.int32(-1),
60  maxConsecLostHits = cms.int32(1),
61  nSigmaMinPt = cms.double(5.0),
62  minimumNumberOfHits = cms.int32(5)
63 )
64