00001 import FWCore.ParameterSet.Config as cms 00002 00003 from RecoParticleFlow.PFTracking.convBremSeeds_cfi import * 00004 00005 00006 ##CLUSTERS 00007 gsClusters = cms.EDFilter("TrackClusterRemover", 00008 oldClusterRemovalInfo = cms.InputTag("fourthClusters"), 00009 trajectories = cms.InputTag("fourthWithMaterialTracks"), 00010 pixelClusters = cms.InputTag("fourthClusters"), 00011 stripClusters = cms.InputTag("fourthClusters"), 00012 Common = cms.PSet( 00013 maxChi2 = cms.double(30.0) 00014 ) 00015 ) 00016 00017 ##PIXEL HITS 00018 import RecoLocalTracker.siPixelRecHits.SiPixelRecHits_cfi 00019 gsPixelRecHits = RecoLocalTracker.siPixelRecHits.SiPixelRecHits_cfi.siPixelRecHits.clone() 00020 gsPixelRecHits.src = 'gsClusters:' 00021 ##STRIP HITS 00022 import RecoLocalTracker.siStripRecHitConverter.SiStripRecHitConverter_cfi 00023 gsStripRecHits = RecoLocalTracker.siStripRecHitConverter.SiStripRecHitConverter_cfi.siStripMatchedRecHits.clone() 00024 gsStripRecHits.ClusterProducer = 'gsClusters' 00025 00026 ##TK CANDIDATES 00027 import RecoTracker.CkfPattern.CkfTrackCandidates_cfi 00028 convTkCand = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone() 00029 convTkCand.SeedProducer = 'convBremSeeds' 00030 convTkCand.TrajectoryBuilder = 'convTrajectoryBuilder' 00031 00032 00033 ##TRACKS 00034 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi 00035 convTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone() 00036 convTracks.src = 'convTkCand' 00037 00038 ##TRAJECTORY BUILDER 00039 import RecoTracker.CkfPattern.CkfTrajectoryBuilderESProducer_cfi 00040 convTrajectoryBuilder = RecoTracker.CkfPattern.CkfTrajectoryBuilderESProducer_cfi.CkfTrajectoryBuilder.clone() 00041 convTrajectoryBuilder.ComponentName = 'convTrajectoryBuilder' 00042 convTrajectoryBuilder.trajectoryFilterName = 'convTrajectoryFilter' 00043 convTrajectoryBuilder.MeasurementTrackerName = 'convMeasurementTracker' 00044 00045 00046 ##TRAJECTORY FILTER 00047 import TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi 00048 convTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.clone() 00049 convTrajectoryFilter.ComponentName = 'convTrajectoryFilter' 00050 convTrajectoryFilter.filterPset.maxLostHits = 0 00051 convTrajectoryFilter.filterPset.minimumNumberOfHits = 3 00052 00053 ##MEASUREMENT TRACKER 00054 import RecoTracker.MeasurementDet.MeasurementTrackerESProducer_cfi 00055 convMeasurementTracker = RecoTracker.MeasurementDet.MeasurementTrackerESProducer_cfi.MeasurementTracker.clone() 00056 convMeasurementTracker.ComponentName = 'convMeasurementTracker' 00057 convMeasurementTracker.pixelClusterProducer = 'gsClusters' 00058 convMeasurementTracker.stripClusterProducer = 'gsClusters' 00059 00060 from FastSimulation.ParticlePropagator.MagneticFieldMapESProducer_cfi import* 00061 from FastSimulation.TrackerSetup.TrackerInteractionGeometryESProducer_cfi import* 00062 convBrem=cms.Sequence(gsClusters* 00063 gsPixelRecHits* 00064 gsStripRecHits* 00065 convBremSeeds* 00066 convTkCand* 00067 convTracks)