CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/TrackingTools/GsfTracking/python/CkfElectronCandidateMaker_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #Chi2 estimator
00004 import TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi
00005 ElectronChi2 = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone()
00006 ElectronChi2.ComponentName = 'ElectronChi2'
00007 ElectronChi2.MaxChi2 = 2000.
00008 ElectronChi2.nSigma = 3.
00009 
00010 # Trajectory Filter
00011 from TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff import *
00012 import TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi
00013 TrajectoryFilterForElectrons = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.clone()
00014 TrajectoryFilterForElectrons.ComponentName = 'TrajectoryFilterForElectrons'
00015 TrajectoryFilterForElectrons.filterPset = cms.PSet(
00016     chargeSignificance = cms.double(-1.0),
00017     minPt = cms.double(2.0),
00018     minHitsMinPt = cms.int32(-1),
00019     ComponentType = cms.string('CkfBaseTrajectoryFilter'),
00020     maxLostHits = cms.int32(1),
00021     maxNumberOfHits = cms.int32(-1),
00022     maxConsecLostHits = cms.int32(1),
00023     nSigmaMinPt = cms.double(5.0),
00024     minimumNumberOfHits = cms.int32(5)
00025 )
00026 
00027 # Trajectory Builder
00028 import RecoTracker.CkfPattern.CkfTrajectoryBuilderESProducer_cfi
00029 TrajectoryBuilderForElectrons = RecoTracker.CkfPattern.CkfTrajectoryBuilderESProducer_cfi.CkfTrajectoryBuilder.clone()
00030 TrajectoryBuilderForElectrons.ComponentName = 'TrajectoryBuilderForElectrons'
00031 TrajectoryBuilderForElectrons.trajectoryFilterName = 'TrajectoryFilterForElectrons'
00032 TrajectoryBuilderForElectrons.maxCand = 5
00033 TrajectoryBuilderForElectrons.intermediateCleaning = False
00034 TrajectoryBuilderForElectrons.propagatorAlong = 'fwdGsfElectronPropagator'
00035 TrajectoryBuilderForElectrons.propagatorOpposite = 'bwdGsfElectronPropagator'
00036 TrajectoryBuilderForElectrons.estimator = 'ElectronChi2'
00037 TrajectoryBuilderForElectrons.MeasurementTrackerName = ''
00038 TrajectoryBuilderForElectrons.lostHitPenalty = 90.
00039 TrajectoryBuilderForElectrons.alwaysUseInvalidHits = True
00040 TrajectoryBuilderForElectrons.TTRHBuilder = 'WithTrackAngle'
00041 TrajectoryBuilderForElectrons.updator = 'KFUpdator'
00042 
00043 
00044 
00045 
00046 # CKFTrackCandidateMaker
00047 from RecoTracker.CkfPattern.CkfTrackCandidates_cff import *
00048 import RecoTracker.CkfPattern.CkfTrackCandidates_cfi
00049 electronCkfTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone()
00050 electronCkfTrackCandidates.src = cms.InputTag('electronMergedSeeds')
00051 electronCkfTrackCandidates.TrajectoryBuilder = 'TrajectoryBuilderForElectrons'
00052 #electronCkfTrackCandidates.TrajectoryCleaner = 'TrajectoryCleanerBySharedHits'
00053 electronCkfTrackCandidates.NavigationSchool = 'SimpleNavigationSchool'
00054 electronCkfTrackCandidates.RedundantSeedCleaner = 'CachingSeedCleanerBySharedInput'
00055 
00056 from TrackingTools.TrajectoryCleaning.TrajectoryCleanerBySharedHits_cfi import TrajectoryCleanerBySharedHits
00057 electronTrajectoryCleanerBySharedHits = TrajectoryCleanerBySharedHits.clone(
00058     ComponentName = cms.string('electronTrajectoryCleanerBySharedHits'),
00059     ValidHitBonus = cms.double(1000.0),
00060     MissingHitPenalty = cms.double(0.0)
00061     )
00062 electronCkfTrackCandidates.TrajectoryCleaner = 'electronTrajectoryCleanerBySharedHits'
00063             
00064 
00065 # "backward" propagator for electrons
00066 from TrackingTools.GsfTracking.bwdGsfElectronPropagator_cff import *
00067 # "forward" propagator for electrons
00068 from TrackingTools.GsfTracking.fwdGsfElectronPropagator_cff import *
00069 # TrajectoryFilter
00070 
00071 
00072 
00073 
00074 
00075 
00076 
00077 
00078