CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/RecoPixelVertexing/PixelLowPtUtilities/python/thirdStep_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #################################
00004 # Remaining clusters
00005 thirdClusters = cms.EDProducer("TrackClusterRemover",
00006     oldClusterRemovalInfo = cms.InputTag("secondClusters"),
00007     trajectories = cms.InputTag("globalSecoTracks"),
00008     pixelClusters = cms.InputTag("secondClusters"),
00009     Common = cms.PSet(
00010         maxChi2 = cms.double(999999.0)
00011     ),
00012     stripClusters = cms.InputTag("secondClusters")
00013 )
00014 
00015 #################################
00016 # Remaining pixel hits
00017 import RecoLocalTracker.SiPixelRecHits.SiPixelRecHits_cfi
00018 thirdPixelRecHits = RecoLocalTracker.SiPixelRecHits.SiPixelRecHits_cfi.SiPixelRecHits.clone()
00019 thirdPixelRecHits.src = 'thirdClusters:'
00020 
00021 #################################
00022 # Remaining strip hits
00023 import RecoLocalTracker.SiStripRecHitConverter.SiStripRecHitConverter_cfi
00024 thirdStripRecHits = RecoLocalTracker.SiStripRecHitConverter.SiStripRecHitConverter_cfi.siStripMatchedRecHits.clone()
00025 thirdStripRecHits.ClusterProducer = 'thirdClusters'
00026 
00027 #################################
00028 # Tertiary pairs
00029 from RecoPixelVertexing.PixelLowPtUtilities.common_cff import BPixError
00030 from RecoPixelVertexing.PixelLowPtUtilities.common_cff import FPixError
00031 thirdLayerPairs = cms.ESProducer("SeedingLayersESProducer",
00032     ComponentName = cms.string('ThirdLayerPairs'),
00033     layerList = cms.vstring('BPix1+BPix2',
00034         'BPix1+BPix3',
00035         'BPix2+BPix3',
00036         'BPix1+FPix1_pos',
00037         'BPix1+FPix1_neg',
00038         'BPix1+FPix2_pos',
00039         'BPix1+FPix2_neg',
00040         'BPix2+FPix1_pos',
00041         'BPix2+FPix1_neg',
00042         'BPix2+FPix2_pos',
00043         'BPix2+FPix2_neg'),
00044 #       'FPix1_pos+FPix2_pos',
00045 #       'FPix1_neg+FPix2_neg'),
00046     BPix = cms.PSet(
00047         BPixError,
00048         TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
00049         HitProducer = cms.string('thirdPixelRecHits')
00050     ),
00051     FPix = cms.PSet(
00052         FPixError,
00053         TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
00054         HitProducer = cms.string('thirdPixelRecHits')
00055     )
00056 )
00057 
00058 #################################
00059 # Pixel-2 tertiary tracks
00060 import RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi
00061 pixelTertTracks = RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi.allPixelTracks.clone()
00062 pixelTertTracks.passLabel = 'Pixel pair tracks with vertex constraint'
00063 pixelTertTracks.RegionFactoryPSet.RegionPSet.originRadius = 0.4 # 0.2
00064 pixelTertTracks.RegionFactoryPSet.RegionPSet.useFoundVertices = True
00065 pixelTertTracks.OrderedHitsFactoryPSet.ComponentName = 'StandardHitPairGenerator'
00066 pixelTertTracks.OrderedHitsFactoryPSet.SeedingLayers = 'ThirdLayerPairs'
00067 pixelTertTracks.OrderedHitsFactoryPSet.GeneratorPSet.ComponentName = 'StandardHitPairGenerator'
00068 pixelTertTracks.FilterPSet = cms.PSet(
00069         ComponentName = cms.string('none')
00070     )
00071 
00072 #################################
00073 # Tertiary seeds
00074 import RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi
00075 tertSeeds = RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi.pixelTrackSeeds.clone()
00076 tertSeeds.InputCollection = 'pixelTertTracks'
00077 
00078 #################################
00079 # Tertiary measurement tracker
00080 import RecoTracker.MeasurementDet.MeasurementTrackerESProducer_cfi
00081 thirdMeasurementTracker = RecoTracker.MeasurementDet.MeasurementTrackerESProducer_cfi.MeasurementTracker.clone()
00082 thirdMeasurementTracker.ComponentName        = 'thirdMeasurementTracker'
00083 thirdMeasurementTracker.pixelClusterProducer = 'thirdClusters'
00084 thirdMeasurementTracker.stripClusterProducer = 'thirdClusters'
00085 
00086 #################################
00087 # Tertiary trajectory builder
00088 import RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi
00089 thirdCkfTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi.GroupedCkfTrajectoryBuilder.clone()
00090 thirdCkfTrajectoryBuilder.ComponentName          = 'thirdCkfTrajectoryBuilder'
00091 thirdCkfTrajectoryBuilder.MeasurementTrackerName = 'thirdMeasurementTracker'
00092 thirdCkfTrajectoryBuilder.trajectoryFilterName   = 'MinBiasCkfTrajectoryFilter'
00093 thirdCkfTrajectoryBuilder.inOutTrajectoryFilterName   = 'MinBiasCkfTrajectoryFilter'
00094 
00095 #################################
00096 # Tertiary track candidates
00097 import RecoTracker.CkfPattern.CkfTrackCandidates_cfi
00098 tertTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone()
00099 tertTrackCandidates.TrajectoryBuilder    = 'thirdCkfTrajectoryBuilder'
00100 tertTrackCandidates.TrajectoryCleaner    = 'TrajectoryCleanerBySharedSeeds'
00101 tertTrackCandidates.src                  = 'tertSeeds'
00102 tertTrackCandidates.RedundantSeedCleaner = 'none'
00103 tertTrackCandidates.useHitsSplitting          = cms.bool(False)
00104 tertTrackCandidates.doSeedingRegionRebuilding = cms.bool(False)
00105 
00106 #################################
00107 # Global tertiary tracks
00108 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00109 globalTertTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00110 globalTertTracks.clusterRemovalInfo = 'thirdClusters'
00111 globalTertTracks.src                = 'tertTrackCandidates'
00112 globalTertTracks.TrajectoryInEvent  = cms.bool(True)