CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
firstStep_cff.py
Go to the documentation of this file.
2 
4 import RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi
5 
6 ############################
7 # Pixel-3 proto tracks
8 pixel3ProtoTracks = RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi.allPixelTracks.clone()
9 pixel3ProtoTracks.passLabel = 'Pixel triplet tracks for vertexing'
10 pixel3ProtoTracks.RegionFactoryPSet.ptMin = cms.double(0.2)
11 
12 ############################
13 # Pixel vertexing
15 pixel3Vertices = RecoPixelVertexing.PixelVertexFinding.PixelVertexes_cfi.pixelVertices.clone()
16 pixel3Vertices.TrackCollection = 'pixel3ProtoTracks'
17 pixel3Vertices.UseError = True
18 pixel3Vertices.WtAverage = True
19 pixel3Vertices.ZOffset = 5.
20 pixel3Vertices.ZSeparation = 0.3
21 pixel3Vertices.NTrkMin = 3
22 pixel3Vertices.PtMin = 0.150
23 
24 #import UserCode.FerencSiklerVertexing.NewVertexProducer_cfi
25 #pixel3Vertices = UserCode.FerencSiklerVertexing.NewVertexProducer_cfi.newVertices.clone()
26 #pixel3Vertices.TrackCollection = 'pixel3ProtoTracks'
27 
28 ############################
29 # Pixel-3 primary tracks
30 pixel3PrimTracks = RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi.allPixelTracks.clone()
31 pixel3PrimTracks.passLabel = 'Pixel triplet tracks with vertex constraint'
32 pixel3PrimTracks.RegionFactoryPSet.RegionPSet.useFoundVertices = cms.bool(True)
33 
34 #pixel3PrimTracks.FilterPSet.ptMin = cms.double(0.2)
35 #pixel3PrimTracks.FilterPSet.ptMax = cms.double(3.0)
36 
37 ############################
38 # Primary seeds
39 import RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi
40 primSeeds = RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi.pixelTrackSeeds.clone()
41 primSeeds.InputCollection = 'pixel3PrimTracks'
42 
43 ############################
44 # Primary track candidates
46 primTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone()
47 primTrackCandidates.TrajectoryCleaner = 'TrajectoryCleanerBySharedSeeds'
48 primTrackCandidates.src = 'primSeeds'
49 primTrackCandidates.RedundantSeedCleaner = 'none'
50 primTrackCandidates.useHitsSplitting = cms.bool(False)
51 primTrackCandidates.doSeedingRegionRebuilding = cms.bool(False)
52 
53 ############################
54 # Global primary tracks
56 globalPrimTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
57 globalPrimTracks.src = 'primTrackCandidates'
58 globalPrimTracks.TrajectoryInEvent = cms.bool(True)
59 globalPrimTracks.MinNumberOfHits = cms.int32(3)