test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
upgradeTracking_phase1_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
9 
11 
12 #the quadruplet merger configuration
13 # from this PSet the quadruplet merger uses only the layer list so these could probably be removed
15 PixelSeedMergerQuadruplets.BPix.TTRHBuilder = cms.string("PixelTTRHBuilderWithoutAngle" )
16 PixelSeedMergerQuadruplets.BPix.HitProducer = cms.string("siPixelRecHits" )
17 PixelSeedMergerQuadruplets.FPix.TTRHBuilder = cms.string("PixelTTRHBuilderWithoutAngle" )
18 PixelSeedMergerQuadruplets.FPix.HitProducer = cms.string("siPixelRecHits" )
19 
20 # new layer list (3/4 pixel seeding) in stepZero
21 PixelLayerTriplets.layerList = cms.vstring( 'BPix1+BPix2+BPix3',
22  'BPix2+BPix3+BPix4',
23  'BPix1+BPix3+BPix4',
24  'BPix1+BPix2+BPix4',
25  'BPix2+BPix3+FPix1_pos',
26  'BPix2+BPix3+FPix1_neg',
27  'BPix1+BPix2+FPix1_pos',
28  'BPix1+BPix2+FPix1_neg',
29  'BPix2+FPix1_pos+FPix2_pos',
30  'BPix2+FPix1_neg+FPix2_neg',
31  'BPix1+FPix1_pos+FPix2_pos',
32  'BPix1+FPix1_neg+FPix2_neg',
33  'FPix1_pos+FPix2_pos+FPix3_pos',
34  'FPix1_neg+FPix2_neg+FPix3_neg'
35  )
36 highPtTripletStepSeedLayers.layerList = cms.vstring( 'BPix1+BPix2+BPix3',
37  'BPix2+BPix3+BPix4',
38  'BPix1+BPix3+BPix4',
39  'BPix1+BPix2+BPix4',
40  'BPix2+BPix3+FPix1_pos', 'BPix2+BPix3+FPix1_neg',
41  'BPix1+BPix2+FPix1_pos', 'BPix1+BPix2+FPix1_neg',
42  'BPix1+BPix3+FPix1_pos', 'BPix1+BPix3+FPix1_neg',
43  'BPix2+FPix1_pos+FPix2_pos', 'BPix2+FPix1_neg+FPix2_neg',
44  'BPix1+FPix1_pos+FPix2_pos', 'BPix1+FPix1_neg+FPix2_neg',
45  'BPix1+BPix2+FPix2_pos', 'BPix1+BPix2+FPix2_neg',
46  'FPix1_pos+FPix2_pos+FPix3_pos', 'FPix1_neg+FPix2_neg+FPix3_neg',
47  'BPix1+FPix2_pos+FPix3_pos', 'BPix1+FPix2_neg+FPix3_neg',
48  'BPix1+FPix1_pos+FPix3_pos', 'BPix1+FPix1_neg+FPix3_neg'
49  )
50 lowPtTripletStepSeedLayers.layerList = cms.vstring( 'BPix1+BPix2+BPix3',
51  'BPix2+BPix3+BPix4',
52  'BPix1+BPix3+BPix4',
53  'BPix1+BPix2+BPix4',
54  'BPix2+BPix3+FPix1_pos',
55  'BPix2+BPix3+FPix1_neg',
56  'BPix1+BPix2+FPix1_pos',
57  'BPix1+BPix2+FPix1_neg',
58  'BPix2+FPix1_pos+FPix2_pos',
59  'BPix2+FPix1_neg+FPix2_neg',
60  'BPix1+FPix1_pos+FPix2_pos',
61  'BPix1+FPix1_neg+FPix2_neg',
62  'FPix1_pos+FPix2_pos+FPix3_pos',
63  'FPix1_neg+FPix2_neg+FPix3_neg'
64  )
65 
66 ## need changes to mixedtriplets step to use for imcreasing high eta efficiency
67 
68 mixedTripletStepClusters.oldClusterRemovalInfo = cms.InputTag("pixelPairStepClusters")
69 mixedTripletStepClusters.trajectories = cms.InputTag("pixelPairStepTracks")
70 mixedTripletStepClusters.overrideTrkQuals = cms.InputTag('pixelPairStepSelector','pixelPairStep')
71 mixedTripletStepSeedsA.RegionFactoryPSet.RegionPSet.originRadius = 0.02
72 mixedTripletStepSeedsB.RegionFactoryPSet.RegionPSet.originRadius = 0.02
73 
74 ## new layer list for mixed triplet step
75 mixedTripletStepSeedLayersA.layerList = cms.vstring('BPix1+BPix2+BPix3', 'BPix2+BPix3+BPix4',
76  'BPix1+BPix2+FPix1_pos', 'BPix1+BPix2+FPix1_neg',
77  'BPix1+FPix1_pos+FPix2_pos', 'BPix1+FPix1_neg+FPix2_neg',
78  'FPix1_pos+FPix2_pos+FPix3_pos', 'FPix1_neg+FPix2_neg+FPix3_neg',
79  'BPix2+FPix1_pos+FPix2_pos', 'BPix2+FPix1_neg+FPix2_neg',
80  'FPix2_pos+FPix3_pos+TEC1_pos', 'FPix2_neg+FPix3_neg+TEC1_neg',
81  'FPix3_pos+TEC2_pos+TEC3_pos', 'FPix3_neg+TEC2_neg+TEC3_neg')
82 
83 #mixedTripletStepSeedLayersB.layerList = cms.vstring('BPix3+BPix4+TIB1', 'BPix3+BPix4+TIB2')
84 ## switch off SeedB the easy way
85 mixedTripletStepSeedLayersB.layerList = cms.vstring('BPix1+BPix2+BPix3')
86 ## increased the max track candidates
87 #process.load("RecoTracker.CkfPattern.CkfTrackCandidates_cff")
88 #process.ckfTrackCandidates.maxNSeeds = cms.uint32(500000)
89 mixedTripletStepTrackCandidates.maxNSeeds = cms.uint32(150000)
90 pixelPairStepTrackCandidates.maxNSeeds = cms.uint32(150000)
91 
92 #--->
93 # disconnect merger for stepOne and step 2 to have triplets merged
94 highPtTripletStepSeeds.SeedMergerPSet.mergeTriplets = cms.bool(False)
95 lowPtTripletStepSeeds.SeedMergerPSet.mergeTriplets = cms.bool(False)
96 pixelPairStepSeeds.SeedMergerPSet.mergeTriplets = cms.bool(False)
97 mixedTripletStepSeedsA.SeedMergerPSet.mergeTriplets = cms.bool(False)
98 mixedTripletStepSeedsB.SeedMergerPSet.mergeTriplets = cms.bool(False)
99 #<---
100 
101 # to avoid 'too many clusters'
102 initialStepSeeds.ClusterCheckPSet.doClusterCheck = cms.bool(False)
103 highPtTripletStepSeeds.ClusterCheckPSet.doClusterCheck = cms.bool(False)
104 lowPtTripletStepSeeds.ClusterCheckPSet.doClusterCheck = cms.bool(False)
105 pixelPairStepSeeds.ClusterCheckPSet.doClusterCheck = cms.bool(False)
106 mixedTripletStepSeedsA.ClusterCheckPSet.doClusterCheck = cms.bool(False)
107 mixedTripletStepSeedsB.ClusterCheckPSet.doClusterCheck = cms.bool(False)
108 
109 # avoid 'number of triples exceed maximum'
110 pixelTracks.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(0)
111 initialStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(0)
112 highPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(0)
113 lowPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(0)
114 mixedTripletStepSeedsA.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(0)
115 mixedTripletStepSeedsB.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(0)
116 # avoid 'number of pairs exceed maximum'
117 pixelPairStepSeeds.OrderedHitsFactoryPSet.maxElement = cms.uint32(0)
118 
119 # iterative tracking cuts renormalization (alpha's reduced by 7%
120 # to take into account the corresponding increase in number_of_layers)
121 ##process.load("RecoTracker.FinalTrackSelectors.TracksWithQuality_cff")
122 ##from RecoTracker.FinalTrackSelectors.TracksWithQuality_cff import *
123 
124 initialStepSelector.trackSelectors[0].dz_par1 = cms.vdouble(0.605, 4.0) # 0.65
125 initialStepSelector.trackSelectors[0].dz_par2 = cms.vdouble(0.42, 4.0) # 0.45
126 initialStepSelector.trackSelectors[0].d0_par1 = cms.vdouble(0.51, 4.0) # 0.55
127 initialStepSelector.trackSelectors[0].d0_par2 = cms.vdouble(0.51, 4.0) # 0.55
128 initialStepSelector.trackSelectors[1].dz_par1 = cms.vdouble(0.325, 4.0) # 0.35
129 initialStepSelector.trackSelectors[1].dz_par2 = cms.vdouble(0.372, 4.0) # 0.4
130 initialStepSelector.trackSelectors[1].d0_par1 = cms.vdouble(0.279, 4.0) # 0.3
131 initialStepSelector.trackSelectors[1].d0_par2 = cms.vdouble(0.372, 4.0) # 0.4
132 initialStepSelector.trackSelectors[2].dz_par1 = cms.vdouble(0.325, 4.0) # 0.35
133 initialStepSelector.trackSelectors[2].dz_par2 = cms.vdouble(0.372, 4.0) # 0.4
134 initialStepSelector.trackSelectors[2].d0_par1 = cms.vdouble(0.279, 4.0) # 0.3
135 initialStepSelector.trackSelectors[2].d0_par2 = cms.vdouble(0.372, 4.0) # 0.4
136 
137 lowPtTripletStepSelector.trackSelectors[0].dz_par1 = cms.vdouble(0.605, 4.0) # 0.65
138 lowPtTripletStepSelector.trackSelectors[0].dz_par2 = cms.vdouble(0.42, 4.0) # 0.45
139 lowPtTripletStepSelector.trackSelectors[0].d0_par1 = cms.vdouble(0.51, 4.0) # 0.55
140 lowPtTripletStepSelector.trackSelectors[0].d0_par2 = cms.vdouble(0.51, 4.0) # 0.55
141 lowPtTripletStepSelector.trackSelectors[1].dz_par1 = cms.vdouble(0.325, 4.0) # 0.35
142 lowPtTripletStepSelector.trackSelectors[1].dz_par2 = cms.vdouble(0.372, 4.0) # 0.4
143 lowPtTripletStepSelector.trackSelectors[1].d0_par1 = cms.vdouble(0.279, 4.0) # 0.3
144 lowPtTripletStepSelector.trackSelectors[1].d0_par2 = cms.vdouble(0.372, 4.0) # 0.4
145 lowPtTripletStepSelector.trackSelectors[2].dz_par1 = cms.vdouble(0.325, 4.0) # 0.35
146 lowPtTripletStepSelector.trackSelectors[2].dz_par2 = cms.vdouble(0.372, 4.0) # 0.4
147 lowPtTripletStepSelector.trackSelectors[2].d0_par1 = cms.vdouble(0.279, 4.0) # 0.3
148 lowPtTripletStepSelector.trackSelectors[2].d0_par2 = cms.vdouble(0.372, 4.0) # 0.4
149 
150 highPtTripletStepSelector.trackSelectors[0].dz_par1 = cms.vdouble(0.605, 4.0) # 0.65
151 highPtTripletStepSelector.trackSelectors[0].dz_par2 = cms.vdouble(0.42, 4.0) # 0.45
152 highPtTripletStepSelector.trackSelectors[0].d0_par1 = cms.vdouble(0.51, 4.0) # 0.55
153 highPtTripletStepSelector.trackSelectors[0].d0_par2 = cms.vdouble(0.51, 4.0) # 0.55
154 highPtTripletStepSelector.trackSelectors[1].dz_par1 = cms.vdouble(0.325, 4.0) # 0.35
155 highPtTripletStepSelector.trackSelectors[1].dz_par2 = cms.vdouble(0.372, 4.0) # 0.4
156 highPtTripletStepSelector.trackSelectors[1].d0_par1 = cms.vdouble(0.279, 4.0) # 0.3
157 highPtTripletStepSelector.trackSelectors[1].d0_par2 = cms.vdouble(0.372, 4.0) # 0.4
158 highPtTripletStepSelector.trackSelectors[2].dz_par1 = cms.vdouble(0.325, 4.0) # 0.35
159 highPtTripletStepSelector.trackSelectors[2].dz_par2 = cms.vdouble(0.372, 4.0) # 0.4
160 highPtTripletStepSelector.trackSelectors[2].d0_par1 = cms.vdouble(0.279, 4.0) # 0.3
161 highPtTripletStepSelector.trackSelectors[2].d0_par2 = cms.vdouble(0.372, 4.0) # 0.4
162 
163 ### modify regular tracking sequence to use upgrade version
164 ### so we can use regular reconstruction step
165 ## remove tracking steps 2-5 to speed up the job
166 #iterTracking.remove(PixelPairStep)
167 iterTracking.remove(DetachedTripletStep)
168 #iterTracking.remove(MixedTripletStep)
169 iterTracking.remove(PixelLessStep)
170 iterTracking.remove(TobTecStep)
171 
172 #newCombinedSeeds.seedCollections = cms.VInputTag(
173 # cms.InputTag('initialStepSeeds'),
174 # cms.InputTag('lowPtTripletStepSeeds'),
175 # cms.InputTag('pixelPairStepSeeds')
176 #)
177