CMS 3D CMS Logo

globalGsfElectronSequence_cff.py

Go to the documentation of this file.
00001 # The following comments couldn't be translated into the new config version:
00002 
00003 #include "RecoEgamma/EgammaElectronProducers/data/fwdGsfElectronPropagator.cff"
00004 # Gsf track fit, version not using Seed Association
00005 #module pixelMatchGsfFitForGlobalGsfElectrons = GsfGlobalElectronTest from "TrackingTools/GsfTracking/data/gsfElectronFit.cfi"
00006 
00007 import FWCore.ParameterSet.Config as cms
00008 
00009 # $Id: globalGsfElectronSequence_cff.py,v 1.5 2008/05/19 23:54:04 rpw Exp $
00010 # create a sequence with all required modules and sources needed to make
00011 # modules to make seeds, tracks and electrons
00012 from RecoEgamma.EgammaElectronProducers.globalSeeds_cfi import *
00013 # TrajectoryBuilder
00014 #include "RecoEgamma/EgammaElectronProducers/data/gsfElectronChi2.cfi"
00015 # "backward" propagator for electrons
00016 from RecoEgamma.EgammaElectronProducers.bwdGsfElectronPropagator_cff import *
00017 # "forward" propagator for electrons
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 # Electron propagators and estimators
00023 # Looser chi2 estimator for electron trajectory building
00024 gsfElectronChi2ForGlobalGsfElectrons = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone()
00025 # CKFTrackCandidateMaker
00026 from RecoTracker.CkfPattern.CkfTrackCandidates_cff import *
00027 import RecoTracker.CkfPattern.CkfTrackCandidates_cfi
00028 egammaCkfTrackCandidatesForGlobalGsfElectrons = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone()
00029 # trajectoryFilter
00030 from TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff import *
00031 import TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi
00032 TrajectoryFilterForGlobalGsfElectrons = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.clone()
00033 # sources needed for GSF fit
00034 from TrackingTools.GsfTracking.GsfElectronFit_cff import *
00035 import TrackingTools.GsfTracking.GsfElectronFit_cfi
00036 pixelMatchGsfFitForGlobalGsfElectrons = TrackingTools.GsfTracking.GsfElectronFit_cfi.GsfGlobalElectronTest.clone()
00037 # module to make electrons
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 

Generated on Tue Jun 9 17:43:22 2009 for CMSSW by  doxygen 1.5.4