CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoEgamma/EgammaElectronProducers/python/findElectronsInSiStrips_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # KFUpdatoerESProducer
00004 from TrackingTools.KalmanUpdators.KFUpdatorESProducer_cfi import *
00005 # Chi2MeasurementEstimatorESProducer
00006 from TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi import *
00007 # KFTrajectoryFitterESProducer
00008 from TrackingTools.TrackFitters.KFTrajectoryFitterESProducer_cfi import *
00009 # KFTrajectorySmootherESProducer
00010 from TrackingTools.TrackFitters.KFTrajectorySmootherESProducer_cfi import *
00011 # KFFittingSmootherESProducer
00012 from TrackingTools.TrackFitters.KFFittingSmootherESProducer_cfi import *
00013 # PropagatorWithMaterialESProducer
00014 from TrackingTools.MaterialEffects.MaterialPropagator_cfi import *
00015 # PropagatorWithMaterialESProducer
00016 from TrackingTools.MaterialEffects.OppositeMaterialPropagator_cfi import *
00017 #TransientTrackingBuilder
00018 from RecoTracker.TransientTrackingRecHit.TransientTrackingRecHitBuilder_cfi import *
00019 # TrackProducer
00020 from RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi import *
00021 findSiElectrons = cms.EDProducer("SiStripElectronProducer",
00022     siStereoHitCollection = cms.string('stereoRecHit'),
00023     maxHitsOnDetId = cms.int32(4),
00024     minHits = cms.int32(5),
00025     trackCandidatesLabel = cms.string(''),
00026     superClusterProducer = cms.string('correctedHybridSuperClusters'),
00027     phiBandWidth = cms.double(0.01), ## radians
00028 
00029     siStripElectronsLabel = cms.string('findSiElectronsInSiStrips'),
00030     siRphiHitCollection = cms.string('rphiRecHit'),
00031     siHitProducer = cms.string('siStripMatchedRecHits'),
00032     maxReducedChi2 = cms.double(10000.0), ## might not work yet
00033 
00034     originUncertainty = cms.double(15.0), ## cm
00035 
00036     maxNormResid = cms.double(10.0),
00037     siMatchedHitCollection = cms.string('matchedRecHit'),
00038     superClusterCollection = cms.string('')
00039 )
00040 
00041 # the above produces this warning in 1_3_0_pre1
00042 # WARNING: do not embed replace statements to modify a parameter from a module which hasn't been cloned: 
00043 #  Parameter src in ctfWithMaterialTracks
00044 #  Replace happens in RecoEgamma/EgammaElectronProducers/data/test13_code.cfi
00045 #  This will be an error in future releases.  Please fix.
00046 #module siElectronCtfWithMaterialTracks = TrackProducer 
00047 #{
00048 #  string Fitter = "KFFittingSmoother"   
00049 #  string Propagator = "PropagatorWithMaterial" 
00050 #  string src ="findSiElectrons"
00051 #  string producer = ""
00052 #  string TTRHBuilder       =   "WithTrackAngle"
00053 #  bool TrajectoryInEvent = false
00054 #} 
00055 associateSiElectronsWithTracks = cms.EDProducer("SiStripElectronAssociator",
00056     siStripElectronCollection = cms.string('findSiElectronsInSiStrips'),
00057     trackCollection = cms.string(''),
00058     electronsLabel = cms.string('siStripElectrons'),
00059     SiStripElectronProducer = cms.string('findSiElectrons'),
00060     TrackProducer = cms.string('ctfWithMaterialTracks')
00061 )
00062 
00063 findElectronsInSiStrips = cms.Sequence(findSiElectrons*ctfWithMaterialTracks*associateSiElectronsWithTracks)
00064 ctfWithMaterialTracks.src = 'findSiElectrons'
00065