CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/RecoPixelVertexing/PixelLowPtUtilities/python/secondStep_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #################################
00004 # Remaining clusters
00005 secondClusters = cms.EDProducer("TrackClusterRemover",
00006     trajectories = cms.InputTag("globalPrimTracks"),
00007     pixelClusters = cms.InputTag("siPixelClusters"),
00008     Common = cms.PSet(
00009         maxChi2 = cms.double(999999.0)
00010     ),
00011     stripClusters = cms.InputTag("siStripClusters")
00012 )
00013 
00014 #################################
00015 # Remaining pixel hits
00016 import RecoLocalTracker.SiPixelRecHits.SiPixelRecHits_cfi
00017 secondPixelRecHits = RecoLocalTracker.SiPixelRecHits.SiPixelRecHits_cfi.SiPixelRecHits.clone()
00018 secondPixelRecHits.src = 'secondClusters:'
00019 
00020 #################################
00021 # Remaining strip hits
00022 import RecoLocalTracker.SiStripRecHitConverter.SiStripRecHitConverter_cfi
00023 secondStripRecHits = RecoLocalTracker.SiStripRecHitConverter.SiStripRecHitConverter_cfi.siStripMatchedRecHits.clone()
00024 secondStripRecHits.ClusterProducer = 'secondClusters'
00025 
00026 #################################
00027 # Secondary triplets
00028 from RecoPixelVertexing.PixelLowPtUtilities.common_cff import BPixError
00029 from RecoPixelVertexing.PixelLowPtUtilities.common_cff import FPixError
00030 secondLayerTriplets = cms.ESProducer("SeedingLayersESProducer",
00031     ComponentName = cms.string('SecondLayerTriplets'),
00032     layerList = cms.vstring('BPix1+BPix2+BPix3',
00033         'BPix1+BPix2+FPix1_pos',
00034         'BPix1+BPix2+FPix1_neg',
00035         'BPix1+FPix1_pos+FPix2_pos',
00036         'BPix1+FPix1_neg+FPix2_neg'),
00037     BPix = cms.PSet(
00038         BPixError,
00039         TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
00040         HitProducer = cms.string('secondPixelRecHits')
00041     ),
00042     FPix = cms.PSet(
00043         FPixError,
00044         TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
00045         HitProducer = cms.string('secondPixelRecHits')
00046     )
00047 )
00048 
00049 #################################
00050 # Pixel-3 secondary tracks
00051 import RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi
00052 pixelSecoTracks = RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi.allPixelTracks.clone()
00053 pixelSecoTracks.passLabel = 'Pixel triplet tracks without vertex constraint'
00054 pixelSecoTracks.RegionFactoryPSet.RegionPSet.originRadius = 3.5
00055 pixelSecoTracks.OrderedHitsFactoryPSet.SeedingLayers = 'SecondLayerTriplets'
00056 
00057 #################################
00058 # Secondary seeds
00059 import RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi
00060 secoSeeds = RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi.pixelTrackSeeds.clone()
00061 secoSeeds.InputCollection = 'pixelSecoTracks'
00062 
00063 #################################
00064 # Secondary measurement tracker
00065 import RecoTracker.MeasurementDet.MeasurementTrackerESProducer_cfi
00066 secondMeasurementTracker = RecoTracker.MeasurementDet.MeasurementTrackerESProducer_cfi.MeasurementTracker.clone()
00067 secondMeasurementTracker.ComponentName        = 'secondMeasurementTracker'
00068 secondMeasurementTracker.pixelClusterProducer = 'secondClusters'
00069 secondMeasurementTracker.stripClusterProducer = 'secondClusters'
00070 
00071 #################################
00072 # Secondary trajectory builder
00073 import RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi
00074 secondCkfTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi.GroupedCkfTrajectoryBuilder.clone()
00075 secondCkfTrajectoryBuilder.ComponentName          = 'secondCkfTrajectoryBuilder'
00076 secondCkfTrajectoryBuilder.MeasurementTrackerName = 'secondMeasurementTracker'
00077 secondCkfTrajectoryBuilder.trajectoryFilterName   = 'MinBiasCkfTrajectoryFilter'
00078 secondCkfTrajectoryBuilder.inOutTrajectoryFilterName   = 'MinBiasCkfTrajectoryFilter'
00079 
00080 #################################
00081 # Secondary track candidates
00082 import RecoTracker.CkfPattern.CkfTrackCandidates_cfi
00083 secoTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone()
00084 secoTrackCandidates.TrajectoryBuilder    = 'secondCkfTrajectoryBuilder'
00085 secoTrackCandidates.TrajectoryCleaner    = 'TrajectoryCleanerBySharedSeeds'
00086 secoTrackCandidates.src                  = 'secoSeeds'
00087 secoTrackCandidates.RedundantSeedCleaner = 'none'
00088 secoTrackCandidates.useHitsSplitting          = cms.bool(False)
00089 secoTrackCandidates.doSeedingRegionRebuilding = cms.bool(False)
00090 
00091 #################################
00092 # Global secondary tracks
00093 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00094 globalSecoTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00095 globalSecoTracks.clusterRemovalInfo = 'secondClusters'
00096 globalSecoTracks.src                = 'secoTrackCandidates'
00097 globalSecoTracks.TrajectoryInEvent  = cms.bool(True)