00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004 secClusters = cms.EDFilter("TrackClusterRemover",
00005 trajectories = cms.InputTag("firstfilter"),
00006 pixelClusters = cms.InputTag("siPixelClusters"),
00007 Common = cms.PSet(
00008 maxChi2 = cms.double(30.0)
00009 ),
00010 stripClusters = cms.InputTag("siStripClusters")
00011 )
00012
00013 import RecoLocalTracker.siPixelRecHits.SiPixelRecHits_cfi
00014 secPixelRecHits = RecoLocalTracker.siPixelRecHits.SiPixelRecHits_cfi.siPixelRecHits.clone()
00015 import RecoLocalTracker.siStripRecHitConverter.SiStripRecHitConverter_cfi
00016 secStripRecHits = RecoLocalTracker.siStripRecHitConverter.SiStripRecHitConverter_cfi.siStripMatchedRecHits.clone()
00017
00018 secPixelRecHits.src = cms.InputTag("secClusters")
00019 secStripRecHits.ClusterProducer = 'secClusters'
00020
00021
00022
00023
00024 import RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi
00025 seclayertriplets = RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi.pixelLayerTriplets.clone()
00026 import RecoTracker.TkSeedGenerator.GlobalSeedsFromTripletsWithVertices_cfi
00027 secTriplets = RecoTracker.TkSeedGenerator.GlobalSeedsFromTripletsWithVertices_cfi.globalSeedsFromTripletsWithVertices.clone()
00028
00029 seclayertriplets.ComponentName = 'SecLayerTriplets'
00030 seclayertriplets.BPix.HitProducer = 'secPixelRecHits'
00031 seclayertriplets.FPix.HitProducer = 'secPixelRecHits'
00032 secTriplets.RegionFactoryPSet.RegionPSet.originHalfLength = 17.5
00033 secTriplets.OrderedHitsFactoryPSet.SeedingLayers = 'SecLayerTriplets'
00034 secTriplets.RegionFactoryPSet.RegionPSet.ptMin = 0.3
00035
00036
00037
00038 import RecoTracker.MeasurementDet.MeasurementTrackerESProducer_cfi
00039 secMeasurementTracker = RecoTracker.MeasurementDet.MeasurementTrackerESProducer_cfi.MeasurementTracker.clone()
00040 import TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi
00041 secCkfTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.clone()
00042 import RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi
00043 secCkfTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi.GroupedCkfTrajectoryBuilder.clone()
00044 import RecoTracker.CkfPattern.CkfTrackCandidates_cfi
00045 secTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone()
00046
00047 secMeasurementTracker.ComponentName = 'secMeasurementTracker'
00048 secMeasurementTracker.pixelClusterProducer = 'secClusters'
00049 secMeasurementTracker.stripClusterProducer = 'secClusters'
00050
00051 secCkfTrajectoryFilter.ComponentName = 'secCkfTrajectoryFilter'
00052 secCkfTrajectoryFilter.filterPset.maxLostHits = 1
00053 secCkfTrajectoryFilter.filterPset.minimumNumberOfHits = 3
00054 secCkfTrajectoryFilter.filterPset.minPt = 0.3
00055 secCkfTrajectoryBuilder.ComponentName = 'secCkfTrajectoryBuilder'
00056 secCkfTrajectoryBuilder.MeasurementTrackerName = 'secMeasurementTracker'
00057 secCkfTrajectoryBuilder.trajectoryFilterName = 'secCkfTrajectoryFilter'
00058
00059 secTrackCandidates.SeedProducer = 'secTriplets'
00060 secTrackCandidates.TrajectoryBuilder = 'secCkfTrajectoryBuilder'
00061 secTrackCandidates.doSeedingRegionRebuilding = True
00062 secTrackCandidates.useHitsSplitting = True
00063
00064
00065
00066 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00067 secWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00068 secWithMaterialTracks.src = 'secTrackCandidates'
00069 secWithMaterialTracks.clusterRemovalInfo = 'secClusters'
00070
00071
00072
00073 from RecoTracker.IterativeTracking.SecVxFilter_cff import *
00074
00075 secondStep = cms.Sequence(secClusters*secPixelRecHits*secStripRecHits*secTriplets*secTrackCandidates*secWithMaterialTracks*secStep)