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
30 secondLayerTriplets = cms.ESProducer("SeedingLayersESProducer",
31  ComponentName = cms.string('SecondLayerTriplets'),
32  layerList = cms.vstring('BPix1+BPix2+BPix3',
33  'BPix1+BPix2+FPix1_pos',
34  'BPix1+BPix2+FPix1_neg',
35  'BPix1+FPix1_pos+FPix2_pos',
36  'BPix1+FPix1_neg+FPix2_neg'),
37  BPix = cms.PSet(
38  BPixError,
39  TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
40  HitProducer = cms.string('secondPixelRecHits')
41  ),
42  FPix = cms.PSet(
43  FPixError,
44  TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
45  HitProducer = cms.string('secondPixelRecHits')
46  )
47 )
48 
49 #################################
50 # Pixel-3 secondary tracks
51 import RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi
52 pixelSecoTracks = RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi.allPixelTracks.clone()
53 pixelSecoTracks.passLabel = 'Pixel triplet tracks without vertex constraint'
54 pixelSecoTracks.RegionFactoryPSet.RegionPSet.originRadius = 3.5
55 pixelSecoTracks.OrderedHitsFactoryPSet.SeedingLayers = 'SecondLayerTriplets'
56 
57 #################################
58 # Secondary seeds
59 import RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi
60 secoSeeds = RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi.pixelTrackSeeds.clone()
61 secoSeeds.InputCollection = 'pixelSecoTracks'
62 
63 #################################
64 # Secondary measurement tracker
66 secondMeasurementTracker = RecoTracker.MeasurementDet.MeasurementTrackerESProducer_cfi.MeasurementTracker.clone()
67 secondMeasurementTracker.ComponentName = 'secondMeasurementTracker'
68 secondMeasurementTracker.pixelClusterProducer = 'secondClusters'
69 secondMeasurementTracker.stripClusterProducer = 'secondClusters'
70 
71 #################################
72 # Secondary trajectory builder
74 secondCkfTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi.GroupedCkfTrajectoryBuilder.clone()
75 secondCkfTrajectoryBuilder.ComponentName = 'secondCkfTrajectoryBuilder'
76 secondCkfTrajectoryBuilder.MeasurementTrackerName = 'secondMeasurementTracker'
77 secondCkfTrajectoryBuilder.trajectoryFilterName = 'MinBiasCkfTrajectoryFilter'
78 secondCkfTrajectoryBuilder.inOutTrajectoryFilterName = 'MinBiasCkfTrajectoryFilter'
79 
80 #################################
81 # Secondary track candidates
83 secoTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone()
84 secoTrackCandidates.TrajectoryBuilder = 'secondCkfTrajectoryBuilder'
85 secoTrackCandidates.TrajectoryCleaner = 'TrajectoryCleanerBySharedSeeds'
86 secoTrackCandidates.src = 'secoSeeds'
87 secoTrackCandidates.RedundantSeedCleaner = 'none'
88 secoTrackCandidates.useHitsSplitting = cms.bool(False)
89 secoTrackCandidates.doSeedingRegionRebuilding = cms.bool(False)
90 
91 #################################
92 # Global secondary tracks
94 globalSecoTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
95 globalSecoTracks.clusterRemovalInfo = 'secondClusters'
96 globalSecoTracks.src = 'secoTrackCandidates'
97 globalSecoTracks.TrajectoryInEvent = cms.bool(True)