CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/RecoEgamma/EgammaElectronProducers/python/gsfElectronCkfTrackCandidateMaker_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # CKFTrackCandidateMaker
00004 from RecoTracker.CkfPattern.CkfTrackCandidates_cff import *
00005 import RecoTracker.CkfPattern.CkfTrackCandidates_cfi
00006 egammaCkfTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone()
00007 import RecoTracker.CkfPattern.CkfTrajectoryBuilderESProducer_cfi
00008 #replace egammaCkfTrackCandidates.TransientInitialStateEstimatorParameters =
00009 #      {
00010 #         string propagatorAlongTISE    = "PropagatorWithMaterial"
00011 #         string propagatorOppositeTISE = "PropagatorWithMaterialOpposite"
00012 #      }        
00013 # TrajectoryBuilder
00014 TrajectoryBuilderForPixelMatchGsfElectrons = RecoTracker.CkfPattern.CkfTrajectoryBuilderESProducer_cfi.CkfTrajectoryBuilder.clone()
00015 import TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi
00016 # Electron propagators and estimators
00017 # Looser chi2 estimator for electron trajectory building
00018 gsfElectronChi2 = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone()
00019 # "backward" propagator for electrons
00020 from RecoEgamma.EgammaElectronProducers.bwdGsfElectronPropagator_cff import *
00021 # "forward" propagator for electrons
00022 from RecoEgamma.EgammaElectronProducers.fwdGsfElectronPropagator_cff import *
00023 # TrajectoryFilter
00024 from TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff import *
00025 import TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi
00026 TrajectoryFilterForPixelMatchGsfElectrons = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.clone()
00027 
00028 egammaCkfTrackCandidates.src = cms.InputTag('ecalDrivenElectronSeeds')
00029 egammaCkfTrackCandidates.TrajectoryBuilder = 'TrajectoryBuilderForPixelMatchGsfElectrons'
00030 egammaCkfTrackCandidates.SeedLabel = cms.InputTag('')
00031 egammaCkfTrackCandidates.TrajectoryCleaner = 'TrajectoryCleanerBySharedHits'
00032 egammaCkfTrackCandidates.NavigationSchool = 'SimpleNavigationSchool'
00033 egammaCkfTrackCandidates.RedundantSeedCleaner = 'CachingSeedCleanerBySharedInput'
00034 
00035 TrajectoryBuilderForPixelMatchGsfElectrons.ComponentName = 'TrajectoryBuilderForPixelMatchGsfElectrons'
00036 TrajectoryBuilderForPixelMatchGsfElectrons.trajectoryFilterName = 'TrajectoryFilterForPixelMatchGsfElectrons'
00037 TrajectoryBuilderForPixelMatchGsfElectrons.maxCand = 3
00038 TrajectoryBuilderForPixelMatchGsfElectrons.intermediateCleaning = False
00039 TrajectoryBuilderForPixelMatchGsfElectrons.propagatorAlong = 'fwdGsfElectronPropagator'
00040 TrajectoryBuilderForPixelMatchGsfElectrons.propagatorOpposite = 'bwdGsfElectronPropagator'
00041 TrajectoryBuilderForPixelMatchGsfElectrons.estimator = 'gsfElectronChi2'
00042 TrajectoryBuilderForPixelMatchGsfElectrons.MeasurementTrackerName = ''
00043 TrajectoryBuilderForPixelMatchGsfElectrons.lostHitPenalty = 30.
00044 TrajectoryBuilderForPixelMatchGsfElectrons.alwaysUseInvalidHits = True
00045 TrajectoryBuilderForPixelMatchGsfElectrons.TTRHBuilder = 'WithTrackAngle'
00046 TrajectoryBuilderForPixelMatchGsfElectrons.updator = 'KFUpdator'
00047 
00048 gsfElectronChi2.ComponentName = 'gsfElectronChi2'
00049 gsfElectronChi2.MaxChi2 = 100000.
00050 gsfElectronChi2.nSigma = 3.
00051 
00052 TrajectoryFilterForPixelMatchGsfElectrons.ComponentName = 'TrajectoryFilterForPixelMatchGsfElectrons'
00053 TrajectoryFilterForPixelMatchGsfElectrons.filterPset = cms.PSet(
00054     chargeSignificance = cms.double(-1.0),
00055     minPt = cms.double(3.0),
00056     minHitsMinPt = cms.int32(-1),
00057     ComponentType = cms.string('CkfBaseTrajectoryFilter'),
00058     maxLostHits = cms.int32(1),
00059     maxNumberOfHits = cms.int32(-1),
00060     maxConsecLostHits = cms.int32(1),
00061     nSigmaMinPt = cms.double(5.0),
00062     minimumNumberOfHits = cms.int32(5)
00063 )
00064