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
29 ThirdLayerPairs = cms.EDProducer("SeedingLayersEDProducer",
30  layerList = cms.vstring('BPix1+BPix2',
31  'BPix1+BPix3',
32  'BPix2+BPix3',
33  'BPix1+FPix1_pos',
34  'BPix1+FPix1_neg',
35  'BPix1+FPix2_pos',
36  'BPix1+FPix2_neg',
37  'BPix2+FPix1_pos',
38  'BPix2+FPix1_neg',
39  'BPix2+FPix2_pos',
40  'BPix2+FPix2_neg'),
41 # 'FPix1_pos+FPix2_pos',
42 # 'FPix1_neg+FPix2_neg'),
43  BPix = cms.PSet(
44  TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
45  HitProducer = cms.string('thirdPixelRecHits')
46  ),
47  FPix = cms.PSet(
48  TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
49  HitProducer = cms.string('thirdPixelRecHits')
50  )
51 )
52 
53 #################################
54 # Pixel-2 tertiary tracks
55 import RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi
56 pixelTertTracks = RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi.allPixelTracks.clone()
57 pixelTertTracks.passLabel = 'Pixel pair tracks with vertex constraint'
58 pixelTertTracks.RegionFactoryPSet.RegionPSet.originRadius = 0.4 # 0.2
59 pixelTertTracks.RegionFactoryPSet.RegionPSet.useFoundVertices = True
60 pixelTertTracks.OrderedHitsFactoryPSet.ComponentName = 'StandardHitPairGenerator'
61 pixelTertTracks.OrderedHitsFactoryPSet.SeedingLayers = 'ThirdLayerPairs'
62 pixelTertTracks.OrderedHitsFactoryPSet.GeneratorPSet.ComponentName = 'StandardHitPairGenerator'
63 pixelTertTracks.FilterPSet = cms.PSet(
64  ComponentName = cms.string('none')
65  )
66 
67 #################################
68 # Tertiary seeds
69 import RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi
70 tertSeeds = RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi.pixelTrackSeeds.clone()
71 tertSeeds.InputCollection = 'pixelTertTracks'
72 
73 #################################
74 # Tertiary measurement tracker
76 thirdMeasurementTracker = RecoTracker.MeasurementDet.MeasurementTrackerESProducer_cfi.MeasurementTracker.clone()
77 thirdMeasurementTracker.ComponentName = 'thirdMeasurementTracker'
78 thirdMeasurementTracker.pixelClusterProducer = 'thirdClusters'
79 thirdMeasurementTracker.stripClusterProducer = 'thirdClusters'
80 
81 #################################
82 # Tertiary trajectory builder
84 thirdCkfTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi.GroupedCkfTrajectoryBuilder.clone()
85 thirdCkfTrajectoryBuilder.ComponentName = 'thirdCkfTrajectoryBuilder'
86 thirdCkfTrajectoryBuilder.MeasurementTrackerName = 'thirdMeasurementTracker'
87 thirdCkfTrajectoryBuilder.trajectoryFilterName = 'MinBiasCkfTrajectoryFilter'
88 thirdCkfTrajectoryBuilder.inOutTrajectoryFilterName = 'MinBiasCkfTrajectoryFilter'
89 
90 #################################
91 # Tertiary track candidates
93 tertTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone()
94 tertTrackCandidates.TrajectoryBuilder = 'thirdCkfTrajectoryBuilder'
95 tertTrackCandidates.TrajectoryCleaner = 'TrajectoryCleanerBySharedSeeds'
96 tertTrackCandidates.src = 'tertSeeds'
97 tertTrackCandidates.RedundantSeedCleaner = 'none'
98 tertTrackCandidates.useHitsSplitting = cms.bool(False)
99 tertTrackCandidates.doSeedingRegionRebuilding = cms.bool(False)
100 
101 #################################
102 # Global tertiary tracks
104 globalTertTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
105 globalTertTracks.clusterRemovalInfo = 'thirdClusters'
106 globalTertTracks.src = 'tertTrackCandidates'
107 globalTertTracks.TrajectoryInEvent = cms.bool(True)