CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
thirdStep_cff.py
Go to the documentation of this file.
2 
3 #################################
4 # Remaining clusters
5 thirdClusters = cms.EDProducer("TrackClusterRemover",
6  oldClusterRemovalInfo = cms.InputTag("secondClusters"),
7  trajectories = cms.InputTag("globalSecoTracks"),
8  pixelClusters = cms.InputTag("secondClusters"),
9  Common = cms.PSet(
10  maxChi2 = cms.double(999999.0)
11  ),
12  stripClusters = cms.InputTag("secondClusters")
13 )
14 
15 #################################
16 # Remaining pixel hits
18 thirdPixelRecHits = RecoLocalTracker.SiPixelRecHits.SiPixelRecHits_cfi.siPixelRecHits.clone()
19 thirdPixelRecHits.src = 'thirdClusters:'
20 
21 #################################
22 # Remaining strip hits
24 thirdStripRecHits = RecoLocalTracker.SiStripRecHitConverter.SiStripRecHitConverter_cfi.siStripMatchedRecHits.clone()
25 thirdStripRecHits.ClusterProducer = 'thirdClusters'
26 
27 #################################
28 # Tertiary pairs
31 thirdLayerPairs = cms.ESProducer("SeedingLayersESProducer",
32  ComponentName = cms.string('ThirdLayerPairs'),
33  layerList = cms.vstring('BPix1+BPix2',
34  'BPix1+BPix3',
35  'BPix2+BPix3',
36  'BPix1+FPix1_pos',
37  'BPix1+FPix1_neg',
38  'BPix1+FPix2_pos',
39  'BPix1+FPix2_neg',
40  'BPix2+FPix1_pos',
41  'BPix2+FPix1_neg',
42  'BPix2+FPix2_pos',
43  'BPix2+FPix2_neg'),
44 # 'FPix1_pos+FPix2_pos',
45 # 'FPix1_neg+FPix2_neg'),
46  BPix = cms.PSet(
47  BPixError,
48  TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
49  HitProducer = cms.string('thirdPixelRecHits')
50  ),
51  FPix = cms.PSet(
52  FPixError,
53  TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
54  HitProducer = cms.string('thirdPixelRecHits')
55  )
56 )
57 
58 #################################
59 # Pixel-2 tertiary tracks
60 import RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi
61 pixelTertTracks = RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi.allPixelTracks.clone()
62 pixelTertTracks.passLabel = 'Pixel pair tracks with vertex constraint'
63 pixelTertTracks.RegionFactoryPSet.RegionPSet.originRadius = 0.4 # 0.2
64 pixelTertTracks.RegionFactoryPSet.RegionPSet.useFoundVertices = True
65 pixelTertTracks.OrderedHitsFactoryPSet.ComponentName = 'StandardHitPairGenerator'
66 pixelTertTracks.OrderedHitsFactoryPSet.SeedingLayers = 'ThirdLayerPairs'
67 pixelTertTracks.OrderedHitsFactoryPSet.GeneratorPSet.ComponentName = 'StandardHitPairGenerator'
68 pixelTertTracks.FilterPSet = cms.PSet(
69  ComponentName = cms.string('none')
70  )
71 
72 #################################
73 # Tertiary seeds
74 import RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi
75 tertSeeds = RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi.pixelTrackSeeds.clone()
76 tertSeeds.InputCollection = 'pixelTertTracks'
77 
78 #################################
79 # Tertiary measurement tracker
81 thirdMeasurementTracker = RecoTracker.MeasurementDet.MeasurementTrackerESProducer_cfi.MeasurementTracker.clone()
82 thirdMeasurementTracker.ComponentName = 'thirdMeasurementTracker'
83 thirdMeasurementTracker.pixelClusterProducer = 'thirdClusters'
84 thirdMeasurementTracker.stripClusterProducer = 'thirdClusters'
85 
86 #################################
87 # Tertiary trajectory builder
89 thirdCkfTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi.GroupedCkfTrajectoryBuilder.clone()
90 thirdCkfTrajectoryBuilder.ComponentName = 'thirdCkfTrajectoryBuilder'
91 thirdCkfTrajectoryBuilder.MeasurementTrackerName = 'thirdMeasurementTracker'
92 thirdCkfTrajectoryBuilder.trajectoryFilterName = 'MinBiasCkfTrajectoryFilter'
93 thirdCkfTrajectoryBuilder.inOutTrajectoryFilterName = 'MinBiasCkfTrajectoryFilter'
94 
95 #################################
96 # Tertiary track candidates
98 tertTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone()
99 tertTrackCandidates.TrajectoryBuilder = 'thirdCkfTrajectoryBuilder'
100 tertTrackCandidates.TrajectoryCleaner = 'TrajectoryCleanerBySharedSeeds'
101 tertTrackCandidates.src = 'tertSeeds'
102 tertTrackCandidates.RedundantSeedCleaner = 'none'
103 tertTrackCandidates.useHitsSplitting = cms.bool(False)
104 tertTrackCandidates.doSeedingRegionRebuilding = cms.bool(False)
105 
106 #################################
107 # Global tertiary tracks
109 globalTertTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
110 globalTertTracks.clusterRemovalInfo = 'thirdClusters'
111 globalTertTracks.src = 'tertTrackCandidates'
112 globalTertTracks.TrajectoryInEvent = cms.bool(True)