CMS 3D CMS Logo

particleFlowTrackWithConversion_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from RecoParticleFlow.PFTracking.elecPreId_cff import *
00004 from RecoParticleFlow.PFTracking.gsfSeedClean_cfi import *
00005 from TrackingTools.GsfTracking.CkfElectronCandidates_cff import *
00006 from TrackingTools.GsfTracking.GsfElectrons_cff import *
00007 from RecoParticleFlow.PFTracking.pfNuclear_cfi import *
00008 from RecoEgamma.EgammaElectronProducers.gsfElectronCkfTrackCandidateMaker_cff import *
00009 import RecoTracker.CkfPattern.CkfTrackCandidates_cfi
00010 gsfElCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone()
00011 import TrackingTools.GsfTracking.GsfElectronFit_cfi
00012 gsfPFtracks = TrackingTools.GsfTracking.GsfElectronFit_cfi.GsfGlobalElectronTest.clone()
00013 from RecoParticleFlow.PFTracking.pfTrackElec_cfi import *
00014 
00015 from RecoParticleFlow.PFTracking.pfConversions_cfi import *
00016 
00017 #TRAJECTORIES IN THE EVENT
00018 
00019 
00020 #UNCOMMENT THE LINES THAT START WITH #DON# IN ORDER TO ADD CONVERSION FROM PF CLUSTERS
00021 #DON#from RecoEgamma.EgammaPhotonProducers.softConversionSequence_cff import *
00022 #DON#softConversionIOTracks.TrajectoryInEvent = cms.bool(True)
00023 #DON#softConversionOITracks.TrajectoryInEvent = cms.bool(True)
00024 #DON#pfConversions.OtherConversionCollection =cms.VInputTag(cms.InputTag("softConversions:softConversionCollection"))
00025 #DON#pfConversions.OtherOutInCollection      =           cms.VInputTag(cms.InputTag("softConversionOITracks"))
00026 #DON#pfConversions.OtherInOutCollection      =           cms.VInputTag(cms.InputTag("softConversionIOTracks"))
00027 
00028 #UNCOMMENT THE LINES THAT START WITH #HON# IN ORDER TO ADD CONVERSION FROM GENERAL TRACKS
00029 #HON#from RecoEgamma.EgammaPhotonProducers.trackerOnlyConversionSequence_cff import *
00030 
00031 #HON#pfConversions.OtherConversionCollection =cms.VInputTag(cms.InputTag("trackerOnlyConversions"))
00032 #HON#pfConversions.OtherOutInCollection      =           cms.VInputTag(cms.InputTag("generalTracks"))
00033 #HON#pfConversions.OtherInOutCollection      =           cms.VInputTag(cms.InputTag("generalTracks"))
00034 
00035 particleFlowTrackWithConversion =cms.Sequence(
00036     elecPreId*
00037     gsfSeedClean*
00038     gsfElCandidates*
00039     gsfPFtracks*
00040     pfTrackElec*
00041     #HON#trackerOnlyConversionSequence*
00042     #DON#    softConversionSequence*
00043     pfConversions
00044     )
00045 
00046 
00047 gsfElCandidates.TrajectoryBuilder = 'TrajectoryBuilderForElectronsinJets'
00048 gsfElCandidates.SeedProducer = 'gsfSeedClean'
00049 gsfElCandidates.SeedLabel = ''
00050 gsfPFtracks.Fitter = 'GsfElectronFittingSmoother'
00051 gsfPFtracks.Propagator = 'fwdElectronPropagator'
00052 gsfPFtracks.src = 'gsfElCandidates'
00053 gsfPFtracks.TTRHBuilder = 'WithTrackAngle'
00054 gsfPFtracks.TrajectoryInEvent = True
00055 # Electron propagators and estimators
00056 # Looser chi2 estimator for electron trajectory building
00057 import TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi
00058 electronEstimatorChi2 = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone()
00059 
00060 # TrajectoryBuilder
00061 import RecoTracker.CkfPattern.CkfTrajectoryBuilderESProducer_cfi
00062 TrajectoryBuilderForElectronsinJets = RecoTracker.CkfPattern.CkfTrajectoryBuilderESProducer_cfi.CkfTrajectoryBuilder.clone()
00063 
00064 TrajectoryBuilderForElectronsinJets.ComponentName = 'TrajectoryBuilderForElectronsinJets'
00065 TrajectoryBuilderForElectronsinJets.trajectoryFilterName = 'TrajectoryFilterForPixelMatchGsfElectrons'
00066 TrajectoryBuilderForElectronsinJets.maxCand = 3
00067 TrajectoryBuilderForElectronsinJets.intermediateCleaning = False
00068 TrajectoryBuilderForElectronsinJets.propagatorAlong = 'fwdGsfElectronPropagator'
00069 TrajectoryBuilderForElectronsinJets.propagatorOpposite = 'bwdGsfElectronPropagator'
00070 TrajectoryBuilderForElectronsinJets.estimator = 'electronEstimatorChi2'
00071 TrajectoryBuilderForElectronsinJets.MeasurementTrackerName = ''
00072 TrajectoryBuilderForElectronsinJets.lostHitPenalty = 100.
00073 TrajectoryBuilderForElectronsinJets.alwaysUseInvalidHits = True
00074 TrajectoryBuilderForElectronsinJets.TTRHBuilder = 'WithTrackAngle'
00075 TrajectoryBuilderForElectronsinJets.updator = 'KFUpdator'
00076 electronEstimatorChi2.ComponentName = 'electronEstimatorChi2'
00077 
00078 electronEstimatorChi2.MaxChi2 = 2000.
00079 electronEstimatorChi2.nSigma = 3.

Generated on Tue Jun 9 17:44:49 2009 for CMSSW by  doxygen 1.5.4