00001
00002
00003
00004
00005
00006
00007 import FWCore.ParameterSet.Config as cms
00008
00009
00010
00011
00012 from RecoEgamma.EgammaElectronProducers.globalSeeds_cfi import *
00013
00014
00015
00016 from RecoEgamma.EgammaElectronProducers.bwdGsfElectronPropagator_cff import *
00017
00018 from RecoEgamma.EgammaElectronProducers.fwdGsfElectronPropagator_cff import *
00019 import RecoTracker.CkfPattern.CkfTrajectoryBuilderESProducer_cfi
00020 TrajectoryBuilderForGlobalGsfElectrons = RecoTracker.CkfPattern.CkfTrajectoryBuilderESProducer_cfi.CkfTrajectoryBuilder.clone()
00021 import TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi
00022
00023
00024 gsfElectronChi2ForGlobalGsfElectrons = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone()
00025
00026 from RecoTracker.CkfPattern.CkfTrackCandidates_cff import *
00027 import RecoTracker.CkfPattern.CkfTrackCandidates_cfi
00028 egammaCkfTrackCandidatesForGlobalGsfElectrons = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone()
00029
00030 from TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff import *
00031 import TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi
00032 TrajectoryFilterForGlobalGsfElectrons = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.clone()
00033
00034 from TrackingTools.GsfTracking.GsfElectronFit_cff import *
00035 import TrackingTools.GsfTracking.GsfElectronFit_cfi
00036 pixelMatchGsfFitForGlobalGsfElectrons = TrackingTools.GsfTracking.GsfElectronFit_cfi.GsfGlobalElectronTest.clone()
00037
00038 from RecoEgamma.EgammaElectronProducers.globalGsfElectrons_cff import *
00039 globalGsfElectronSequence = cms.Sequence(electronPixelSeedsForGlobalGsfElectrons*egammaCkfTrackCandidatesForGlobalGsfElectrons*pixelMatchGsfFitForGlobalGsfElectrons*globalGsfElectrons)
00040 TrajectoryBuilderForGlobalGsfElectrons.ComponentName = 'TrajectoryBuilderForGlobalGsfElectrons'
00041 TrajectoryBuilderForGlobalGsfElectrons.maxCand = 3
00042 TrajectoryBuilderForGlobalGsfElectrons.intermediateCleaning = False
00043 TrajectoryBuilderForGlobalGsfElectrons.propagatorAlong = 'fwdGsfElectronPropagator'
00044 TrajectoryBuilderForGlobalGsfElectrons.propagatorOpposite = 'bwdGsfElectronPropagator'
00045 TrajectoryBuilderForGlobalGsfElectrons.estimator = 'gsfElectronChi2ForGlobalGsfElectrons'
00046 gsfElectronChi2ForGlobalGsfElectrons.ComponentName = 'gsfElectronChi2ForGlobalGsfElectrons'
00047 gsfElectronChi2ForGlobalGsfElectrons.MaxChi2 = 100000.
00048 gsfElectronChi2ForGlobalGsfElectrons.nSigma = 3.
00049 egammaCkfTrackCandidatesForGlobalGsfElectrons.TrajectoryBuilder = 'TrajectoryBuilderForGlobalGsfElectrons'
00050 egammaCkfTrackCandidatesForGlobalGsfElectrons.SeedProducer = 'electronPixelSeedsForGlobalGsfElectrons'
00051 egammaCkfTrackCandidatesForGlobalGsfElectrons.SeedLabel = ''
00052 egammaCkfTrackCandidatesForGlobalGsfElectrons.TrajectoryCleaner = 'TrajectoryCleanerBySharedHits'
00053 egammaCkfTrackCandidatesForGlobalGsfElectrons.NavigationSchool = 'SimpleNavigationSchool'
00054 egammaCkfTrackCandidatesForGlobalGsfElectrons.RedundantSeedCleaner = 'CachingSeedCleanerBySharedInput'
00055 TrajectoryFilterForGlobalGsfElectrons.ComponentName = 'TrajectoryFilterForGlobalGsfElectrons'
00056 TrajectoryFilterForGlobalGsfElectrons.filterPset = cms.PSet(
00057 chargeSignificance = cms.double(-1.0),
00058 minPt = cms.double(3.0),
00059 minHitsMinPt = cms.int32(-1),
00060 ComponentType = cms.string('CkfBaseTrajectoryFilter'),
00061 maxLostHits = cms.int32(1),
00062 maxNumberOfHits = cms.int32(-1),
00063 maxConsecLostHits = cms.int32(1),
00064 nSigmaMinPt = cms.double(5.0),
00065 minimumNumberOfHits = cms.int32(3)
00066 )
00067 pixelMatchGsfFitForGlobalGsfElectrons.src = 'egammaCkfTrackCandidatesForGlobalGsfElectrons'
00068 pixelMatchGsfFitForGlobalGsfElectrons.Propagator = 'fwdGsfElectronPropagator'
00069 pixelMatchGsfFitForGlobalGsfElectrons.Fitter = 'GsfElectronFittingSmoother'
00070 pixelMatchGsfFitForGlobalGsfElectrons.TTRHBuilder = 'WithTrackAngle'
00071 pixelMatchGsfFitForGlobalGsfElectrons.TrajectoryInEvent = False
00072 pixelMatchGsfFitForGlobalGsfElectrons.producer = ''
00073