00001 import FWCore.ParameterSet.Config as cms
00002
00003
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
00009
00010
00011
00012
00013
00014 TrajectoryBuilderForPixelMatchGsfElectrons = RecoTracker.CkfPattern.CkfTrajectoryBuilderESProducer_cfi.CkfTrajectoryBuilder.clone()
00015 import TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi
00016
00017
00018 gsfElectronChi2 = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone()
00019
00020 from RecoEgamma.EgammaElectronProducers.bwdGsfElectronPropagator_cff import *
00021
00022 from RecoEgamma.EgammaElectronProducers.fwdGsfElectronPropagator_cff import *
00023
00024 from TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff import *
00025 import TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi
00026 TrajectoryFilterForPixelMatchGsfElectrons = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.clone()
00027 egammaCkfTrackCandidates.SeedProducer = 'electronPixelSeeds'
00028 egammaCkfTrackCandidates.TrajectoryBuilder = 'TrajectoryBuilderForPixelMatchGsfElectrons'
00029 egammaCkfTrackCandidates.SeedLabel = ''
00030 egammaCkfTrackCandidates.TrajectoryCleaner = 'TrajectoryCleanerBySharedHits'
00031 egammaCkfTrackCandidates.NavigationSchool = 'SimpleNavigationSchool'
00032 egammaCkfTrackCandidates.RedundantSeedCleaner = 'CachingSeedCleanerBySharedInput'
00033 TrajectoryBuilderForPixelMatchGsfElectrons.ComponentName = 'TrajectoryBuilderForPixelMatchGsfElectrons'
00034 TrajectoryBuilderForPixelMatchGsfElectrons.trajectoryFilterName = 'TrajectoryFilterForPixelMatchGsfElectrons'
00035 TrajectoryBuilderForPixelMatchGsfElectrons.maxCand = 3
00036 TrajectoryBuilderForPixelMatchGsfElectrons.intermediateCleaning = False
00037 TrajectoryBuilderForPixelMatchGsfElectrons.propagatorAlong = 'fwdGsfElectronPropagator'
00038 TrajectoryBuilderForPixelMatchGsfElectrons.propagatorOpposite = 'bwdGsfElectronPropagator'
00039 TrajectoryBuilderForPixelMatchGsfElectrons.estimator = 'gsfElectronChi2'
00040 TrajectoryBuilderForPixelMatchGsfElectrons.MeasurementTrackerName = ''
00041 TrajectoryBuilderForPixelMatchGsfElectrons.lostHitPenalty = 30.
00042 TrajectoryBuilderForPixelMatchGsfElectrons.alwaysUseInvalidHits = True
00043 TrajectoryBuilderForPixelMatchGsfElectrons.TTRHBuilder = 'WithTrackAngle'
00044 TrajectoryBuilderForPixelMatchGsfElectrons.updator = 'KFUpdator'
00045 gsfElectronChi2.ComponentName = 'gsfElectronChi2'
00046 gsfElectronChi2.MaxChi2 = 100000.
00047 gsfElectronChi2.nSigma = 3.
00048 TrajectoryFilterForPixelMatchGsfElectrons.ComponentName = 'TrajectoryFilterForPixelMatchGsfElectrons'
00049 TrajectoryFilterForPixelMatchGsfElectrons.filterPset = cms.PSet(
00050 chargeSignificance = cms.double(-1.0),
00051 minPt = cms.double(3.0),
00052 minHitsMinPt = cms.int32(-1),
00053 ComponentType = cms.string('CkfBaseTrajectoryFilter'),
00054 maxLostHits = cms.int32(1),
00055 maxNumberOfHits = cms.int32(-1),
00056 maxConsecLostHits = cms.int32(1),
00057 nSigmaMinPt = cms.double(5.0),
00058 minimumNumberOfHits = cms.int32(5)
00059 )
00060