CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
secondStep_cff.py
Go to the documentation of this file.
2 
3 #################################
4 # Remaining clusters
5 secondClusters = cms.EDProducer("TrackClusterRemover",
6  trajectories = cms.InputTag("globalPrimTracks"),
7  pixelClusters = cms.InputTag("siPixelClusters"),
8  Common = cms.PSet(
9  maxChi2 = cms.double(999999.0)
10  ),
11  stripClusters = cms.InputTag("siStripClusters")
12 )
13 
14 #################################
15 # Remaining pixel hits
17 secondPixelRecHits = RecoLocalTracker.SiPixelRecHits.SiPixelRecHits_cfi.siPixelRecHits.clone()
18 secondPixelRecHits.src = 'secondClusters:'
19 
20 #################################
21 # Remaining strip hits
23 secondStripRecHits = RecoLocalTracker.SiStripRecHitConverter.SiStripRecHitConverter_cfi.siStripMatchedRecHits.clone()
24 secondStripRecHits.ClusterProducer = 'secondClusters'
25 
26 #################################
27 # Secondary triplets
28 SecondLayerTriplets = cms.EDProducer("SeedingLayersEDProducer",
29  layerList = cms.vstring('BPix1+BPix2+BPix3',
30  'BPix1+BPix2+FPix1_pos',
31  'BPix1+BPix2+FPix1_neg',
32  'BPix1+FPix1_pos+FPix2_pos',
33  'BPix1+FPix1_neg+FPix2_neg'),
34  BPix = cms.PSet(
35  TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
36  HitProducer = cms.string('secondPixelRecHits')
37  ),
38  FPix = cms.PSet(
39  TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
40  HitProducer = cms.string('secondPixelRecHits')
41  )
42 )
43 
44 #################################
45 # Pixel-3 secondary tracks
46 import RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi
47 pixelSecoTracks = RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi.allPixelTracks.clone()
48 pixelSecoTracks.passLabel = 'Pixel triplet tracks without vertex constraint'
49 pixelSecoTracks.RegionFactoryPSet.RegionPSet.originRadius = 3.5
50 pixelSecoTracks.OrderedHitsFactoryPSet.SeedingLayers = 'SecondLayerTriplets'
51 
52 #################################
53 # Secondary seeds
54 import RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi
55 secoSeeds = RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi.pixelTrackSeeds.clone()
56 secoSeeds.InputCollection = 'pixelSecoTracks'
57 
58 #################################
59 # Secondary measurement tracker
61 secondMeasurementTracker = RecoTracker.MeasurementDet.MeasurementTrackerESProducer_cfi.MeasurementTracker.clone()
62 secondMeasurementTracker.ComponentName = 'secondMeasurementTracker'
63 secondMeasurementTracker.pixelClusterProducer = 'secondClusters'
64 secondMeasurementTracker.stripClusterProducer = 'secondClusters'
65 
66 #################################
67 # Secondary trajectory builder
69 secondCkfTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi.GroupedCkfTrajectoryBuilder.clone()
70 secondCkfTrajectoryBuilder.ComponentName = 'secondCkfTrajectoryBuilder'
71 secondCkfTrajectoryBuilder.MeasurementTrackerName = 'secondMeasurementTracker'
72 secondCkfTrajectoryBuilder.trajectoryFilterName = 'MinBiasCkfTrajectoryFilter'
73 secondCkfTrajectoryBuilder.inOutTrajectoryFilterName = 'MinBiasCkfTrajectoryFilter'
74 
75 #################################
76 # Secondary track candidates
78 secoTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone()
79 secoTrackCandidates.TrajectoryBuilder = 'secondCkfTrajectoryBuilder'
80 secoTrackCandidates.TrajectoryCleaner = 'TrajectoryCleanerBySharedSeeds'
81 secoTrackCandidates.src = 'secoSeeds'
82 secoTrackCandidates.RedundantSeedCleaner = 'none'
83 secoTrackCandidates.useHitsSplitting = cms.bool(False)
84 secoTrackCandidates.doSeedingRegionRebuilding = cms.bool(False)
85 
86 #################################
87 # Global secondary tracks
89 globalSecoTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
90 globalSecoTracks.clusterRemovalInfo = 'secondClusters'
91 globalSecoTracks.src = 'secoTrackCandidates'
92 globalSecoTracks.TrajectoryInEvent = cms.bool(True)