CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/RecoPixelVertexing/PixelLowPtUtilities/python/firstStep_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi import *
00004 import RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi
00005 
00006 ############################
00007 # Pixel-3 proto tracks
00008 pixel3ProtoTracks = RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi.allPixelTracks.clone()
00009 pixel3ProtoTracks.passLabel = 'Pixel triplet tracks for vertexing'
00010 pixel3ProtoTracks.RegionFactoryPSet.ptMin = cms.double(0.2)
00011 
00012 ############################
00013 # Pixel vertexing
00014 from RecoPixelVertexing.PixelVertexFinding.PixelVertexes_cfi import *
00015 pixel3Vertices = RecoPixelVertexing.PixelVertexFinding.PixelVertexes_cfi.pixelVertices.clone()
00016 pixel3Vertices.TrackCollection = 'pixel3ProtoTracks'
00017 pixel3Vertices.UseError    = True
00018 pixel3Vertices.WtAverage   = True
00019 pixel3Vertices.ZOffset     = 5.
00020 pixel3Vertices.ZSeparation = 0.3
00021 pixel3Vertices.NTrkMin     = 3
00022 pixel3Vertices.PtMin       = 0.150
00023  
00024 #import UserCode.FerencSiklerVertexing.NewVertexProducer_cfi
00025 #pixel3Vertices = UserCode.FerencSiklerVertexing.NewVertexProducer_cfi.newVertices.clone()
00026 #pixel3Vertices.TrackCollection = 'pixel3ProtoTracks'
00027  
00028 ############################
00029 # Pixel-3 primary tracks
00030 pixel3PrimTracks  = RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi.allPixelTracks.clone()
00031 pixel3PrimTracks.passLabel  = 'Pixel triplet tracks with vertex constraint'
00032 pixel3PrimTracks.RegionFactoryPSet.RegionPSet.useFoundVertices = cms.bool(True)
00033 
00034 #pixel3PrimTracks.FilterPSet.ptMin = cms.double(0.2)
00035 #pixel3PrimTracks.FilterPSet.ptMax = cms.double(3.0)
00036 
00037 ############################
00038 # Primary seeds
00039 import RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi
00040 primSeeds = RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi.pixelTrackSeeds.clone()
00041 primSeeds.InputCollection = 'pixel3PrimTracks'
00042 
00043 ############################
00044 # Primary track candidates
00045 import RecoTracker.CkfPattern.CkfTrackCandidates_cfi
00046 primTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone()
00047 primTrackCandidates.TrajectoryCleaner    = 'TrajectoryCleanerBySharedSeeds'
00048 primTrackCandidates.src                  = 'primSeeds'
00049 primTrackCandidates.RedundantSeedCleaner = 'none'
00050 primTrackCandidates.useHitsSplitting          = cms.bool(False)
00051 primTrackCandidates.doSeedingRegionRebuilding = cms.bool(False)
00052 
00053 ############################
00054 # Global primary tracks
00055 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00056 globalPrimTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00057 globalPrimTracks.src               = 'primTrackCandidates'
00058 globalPrimTracks.TrajectoryInEvent = cms.bool(True)
00059 globalPrimTracks.MinNumberOfHits   = cms.int32(3)