CMS 3D CMS Logo

CkfElectronCandidateMaker_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #Chi2 estimator
5 ElectronChi2 = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
6  ComponentName = 'ElectronChi2',
7  MaxChi2 = 2000.,
8  nSigma = 3.,
9  MaxDisplacement = 100,
10  MaxSagitta = -1
11 )
12 # Trajectory Filter
14 TrajectoryFilterForElectrons = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
15  chargeSignificance = -1.0,
16  minPt = 2.0,
17  minHitsMinPt = -1,
18  ComponentType = 'CkfBaseTrajectoryFilter',
19  maxLostHits = 1,
20  maxNumberOfHits = -1,
21  maxConsecLostHits = 1,
22  nSigmaMinPt = 5.0,
23  minimumNumberOfHits = 5,
24  maxCCCLostHits = 9999,
25  minGoodStripCharge = dict(refToPSet_ = 'SiStripClusterChargeCutNone')
26 )
27 
28 # Trajectory Builder
30 TrajectoryBuilderForElectrons = RecoTracker.CkfPattern.CkfTrajectoryBuilder_cfi.CkfTrajectoryBuilder.clone(
31  trajectoryFilter = dict(refToPSet_ = 'TrajectoryFilterForElectrons'),
32  maxCand = 5,
33  intermediateCleaning = False,
34  propagatorAlong = 'fwdGsfElectronPropagator',
35  propagatorOpposite = 'bwdGsfElectronPropagator',
36  estimator = 'ElectronChi2',
37  MeasurementTrackerName = '',
38  lostHitPenalty = 90.,
39  alwaysUseInvalidHits = True,
40  TTRHBuilder = 'WithTrackAngle',
41  updator = 'KFUpdator'
42 )
43 
44 from Configuration.ProcessModifiers.seedingDeepCore_cff import seedingDeepCore
45 seedingDeepCore.toModify(TrajectoryBuilderForElectrons, maxPtForLooperReconstruction = cms.double(0.0) )
46 
47 # CKFTrackCandidateMaker
50 electronCkfTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
51  src = 'electronMergedSeeds',
52  TrajectoryBuilderPSet = dict(refToPSet_ = 'TrajectoryBuilderForElectrons'),
53  #TrajectoryCleaner = 'TrajectoryCleanerBySharedHits'
54  NavigationSchool = 'SimpleNavigationSchool',
55  RedundantSeedCleaner = 'CachingSeedCleanerBySharedInput',
56  TrajectoryCleaner = 'electronTrajectoryCleanerBySharedHits'
57 )
58 
59 from TrackingTools.TrajectoryCleaning.TrajectoryCleanerBySharedHits_cfi import trajectoryCleanerBySharedHits
60 electronTrajectoryCleanerBySharedHits = trajectoryCleanerBySharedHits.clone(
61  ComponentName = 'electronTrajectoryCleanerBySharedHits',
62  ValidHitBonus = 1000.0,
63  MissingHitPenalty = 0.0
64 )
65 
66 
67 # "backward" propagator for electrons
69 # "forward" propagator for electrons
71 # TrajectoryFilter
72 
73 electronCkfTrackCandidatesFromMultiCl = electronCkfTrackCandidates.clone(
74  src = 'electronMergedSeedsFromMultiCl'
75 )
fwdGsfElectronPropagator_cff
TrajectoryFilter_cff
bwdGsfElectronPropagator_cff
TrajectoryCleanerBySharedHits_cfi
CkfTrackCandidates_cfi
Chi2MeasurementEstimator_cfi
CkfTrackCandidates_cff
CkfTrajectoryBuilder_cfi