1 import FWCore.ParameterSet.Config
as cms
2 import RecoTracker.IterativeTracking.iterativeTkConfig
as _cfg
6 seedMonitoring[
'initialStep'] = cms.PSet(
7 seedInputTag = cms.InputTag(
"initialStepSeeds"),
8 trackCandInputTag = cms.InputTag(
"initialStepTrackCandidates"),
9 trackSeedSizeBin = cms.int32(100),
10 trackSeedSizeMin = cms.double(0),
11 trackSeedSizeMax = cms.double(5000),
12 clusterLabel = cms.vstring(
'Pix'),
13 clusterBin = cms.int32(100),
14 clusterMax = cms.double(20000),
17 seedMonitoring[
'highPtTripletStep'] = cms.PSet(
18 seedInputTag = cms.InputTag(
"highPtTripletStepSeeds"),
19 trackCandInputTag = cms.InputTag(
"highPtTripletStepTrackCandidates"),
20 trackSeedSizeBin = cms.int32(100),
21 trackSeedSizeMin = cms.double(0),
22 trackSeedSizeMax = cms.double(30000),
23 clusterLabel = cms.vstring(
'Pix'),
24 clusterBin = cms.int32(100),
25 clusterMax = cms.double(20000),
28 seedMonitoring[
'lowPtQuadStep'] = cms.PSet(
29 seedInputTag = cms.InputTag(
"lowPtQuadStepSeeds"),
30 trackCandInputTag = cms.InputTag(
"lowPtQuadStepTrackCandidates"),
31 trackSeedSizeBin = cms.int32(100),
32 trackSeedSizeMin = cms.double(0),
33 trackSeedSizeMax = cms.double(10000),
34 clusterLabel = cms.vstring(
'Pix'),
35 clusterBin = cms.int32(100),
36 clusterMax = cms.double(20000),
39 seedMonitoring[
'lowPtTripletStep'] = cms.PSet(
40 seedInputTag = cms.InputTag(
"lowPtTripletStepSeeds"),
41 trackCandInputTag = cms.InputTag(
"lowPtTripletStepTrackCandidates"),
42 trackSeedSizeBin = cms.int32(100),
43 trackSeedSizeMin = cms.double(0),
44 trackSeedSizeMax = cms.double(30000),
45 clusterLabel = cms.vstring(
'Pix'),
46 clusterBin = cms.int32(100),
47 clusterMax = cms.double(20000),
50 seedMonitoring[
'pixelPairStep'] = cms.PSet(
51 seedInputTag = cms.InputTag(
"pixelPairStepSeeds"),
52 trackCandInputTag = cms.InputTag(
"pixelPairStepTrackCandidates"),
53 trackSeedSizeBin = cms.int32(400),
54 trackSeedSizeMin = cms.double(0),
55 trackSeedSizeMax = cms.double(10000),
56 TCSizeMax = cms.double(199.5),
57 clusterLabel = cms.vstring(
'Pix'),
58 clusterBin = cms.int32(100),
59 clusterMax = cms.double(20000),
61 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
62 trackingPhase1.toModify(seedMonitoring[
'pixelPairStep'],
63 RegionSeedingLayersProducer = cms.InputTag(
"pixelPairStepTrackingRegionsSeedLayersB"),
64 RegionSizeBin = cms.int32(100),
65 RegionSizeMax = cms.double(399.5),
68 seedMonitoring[
'detachedQuadStep'] = cms.PSet(
69 seedInputTag = cms.InputTag(
"detachedQuadStepSeeds"),
70 trackCandInputTag = cms.InputTag(
"detachedQuadStepTrackCandidates"),
71 trackSeedSizeBin = cms.int32(100),
72 trackSeedSizeMin = cms.double(0),
73 trackSeedSizeMax = cms.double(10000),
74 TCSizeMax = cms.double(199.5),
75 clusterLabel = cms.vstring(
'Pix'),
76 clusterBin = cms.int32(100),
77 clusterMax = cms.double(20000),
80 seedMonitoring[
'detachedTripletStep'] = cms.PSet(
81 seedInputTag = cms.InputTag(
"detachedTripletStepSeeds"),
82 trackCandInputTag = cms.InputTag(
"detachedTripletStepTrackCandidates"),
83 trackSeedSizeBin = cms.int32(100),
84 trackSeedSizeMin = cms.double(0),
85 trackSeedSizeMax = cms.double(30000),
86 clusterLabel = cms.vstring(
'Pix'),
87 clusterBin = cms.int32(100),
88 clusterMax = cms.double(20000),
91 seedMonitoring[
'mixedTripletStep'] = cms.PSet(
92 seedInputTag = cms.InputTag(
"mixedTripletStepSeeds"),
93 trackCandInputTag = cms.InputTag(
"mixedTripletStepTrackCandidates"),
94 trackSeedSizeBin = cms.int32(200),
95 trackSeedSizeMin = cms.double(0),
96 trackSeedSizeMax = cms.double(10000),
97 TCSizeMax = cms.double(199.5),
98 clusterLabel = cms.vstring(
'Tot'),
99 clusterBin = cms.int32(100),
100 clusterMax = cms.double(100000),
103 seedMonitoring[
'pixelLessStep'] = cms.PSet(
104 seedInputTag = cms.InputTag(
"pixelLessStepSeeds"),
105 trackCandInputTag = cms.InputTag(
"pixelLessStepTrackCandidates"),
106 trackSeedSizeBin = cms.int32(400),
107 trackSeedSizeMin = cms.double(0),
108 trackSeedSizeMax = cms.double(200000),
109 clusterLabel = cms.vstring(
'Strip'),
110 clusterBin = cms.int32(500),
111 clusterMax = cms.double(100000),
114 seedMonitoring[
'tobTecStep'] = cms.PSet(
115 seedInputTag = cms.InputTag(
"tobTecStepSeeds"),
116 trackCandInputTag= cms.InputTag(
"tobTecStepTrackCandidates"),
117 trackSeedSizeBin = cms.int32(400),
118 trackSeedSizeMin = cms.double(0),
119 trackSeedSizeMax = cms.double(100000),
120 TCSizeMax = cms.double(199.5),
121 clusterLabel = cms.vstring(
'Strip'),
122 clusterBin = cms.int32(100),
123 clusterMax = cms.double(100000),
126 seedMonitoring[
'displacedGeneralStep'] = cms.PSet(
127 seedInputTag = cms.InputTag(
"displacedGeneralStepSeeds"),
128 trackCandInputTag= cms.InputTag(
"displacedGeneralStepTrackCandidates"),
129 trackSeedSizeBin = cms.int32(400),
130 trackSeedSizeMin = cms.double(0),
131 trackSeedSizeMax = cms.double(100000),
132 TCSizeMax = cms.double(199.5),
133 clusterLabel = cms.vstring(
'Strip'),
134 clusterBin = cms.int32(100),
135 clusterMax = cms.double(100000),
139 seedMonitoring[
'muonSeededStepInOut'] = cms.PSet(
140 seedInputTag = cms.InputTag(
"muonSeededSeedsInOut"),
141 trackCandInputTag = cms.InputTag(
"muonSeededTrackCandidatesInOut"),
142 trackSeedSizeBin = cms.int32(30),
143 trackSeedSizeMin = cms.double(-0.5),
144 trackSeedSizeMax = cms.double(29.5),
145 TCSizeMax = cms.double(199.5),
146 clusterLabel = cms.vstring(
'Strip'),
147 clusterBin = cms.int32(100),
148 clusterMax = cms.double(100000),
151 seedMonitoring[
'muonSeededStepOutIn'] = cms.PSet(
152 seedInputTag = cms.InputTag(
"muonSeededSeedsOutIn"),
153 trackCandInputTag = cms.InputTag(
"muonSeededTrackCandidatesOutIn"),
154 trackSeedSizeBin = cms.int32(30),
155 trackSeedSizeMin = cms.double(-0.5),
156 trackSeedSizeMax = cms.double(29.5),
157 TCSizeMax = cms.double(199.5),
158 clusterLabel = cms.vstring(
'Strip'),
159 clusterBin = cms.int32(100),
160 clusterMax = cms.double(100000),
163 seedMonitoring[
'muonSeededStepOutInDisplaced'] = cms.PSet(
164 seedInputTag = cms.InputTag(
"muonSeededSeedsOutInDisplaced"),
165 trackCandInputTag = cms.InputTag(
"muonSeededTrackCandidatesOutInDisplacedg"),
166 trackSeedSizeBin = cms.int32(30),
167 trackSeedSizeMin = cms.double(-0.5),
168 trackSeedSizeMax = cms.double(29.5),
169 TCSizeMax = cms.double(199.5),
170 clusterLabel = cms.vstring(
'Strip'),
171 clusterBin = cms.int32(100),
172 clusterMax = cms.double(100000),
175 seedMonitoring[
'jetCoreRegionalStep'] = cms.PSet(
176 seedInputTag = cms.InputTag(
"jetCoreRegionalStepSeeds"),
177 trackCandInputTag = cms.InputTag(
"jetCoreRegionalStepTrackCandidates"),
178 trackSeedSizeBin = cms.int32(100),
179 trackSeedSizeMin = cms.double(-0.5),
180 trackSeedSizeMax = cms.double(199.5),
181 clusterLabel = cms.vstring(
'Tot'),
182 clusterBin = cms.int32(100),
183 clusterMax = cms.double(100000),
184 RegionProducer = cms.InputTag(
"jetCoreRegionalStepTrackingRegions"),
185 RegionCandidates = cms.InputTag(
"jetsForCoreTracking"),
186 trajCandPerSeedBin = cms.int32(50),
187 trajCandPerSeedMax = cms.double(49.5),
190 seedMonitoring[
'jetCoreRegionalStepBarrel'] = cms.PSet(
191 seedInputTag = cms.InputTag(
"jetCoreRegionalStepSeedsBarrel"),
192 trackCandInputTag = cms.InputTag(
"jetCoreRegionalStepBarrelTrackCandidates"),
193 trackSeedSizeBin = cms.int32(100),
194 trackSeedSizeMin = cms.double(-0.5),
195 trackSeedSizeMax = cms.double(199.5),
196 clusterLabel = cms.vstring(
'Tot'),
197 clusterBin = cms.int32(100),
198 clusterMax = cms.double(100000),
199 RegionProducer = cms.InputTag(
"jetCoreRegionalStepBarrelTrackingRegions"),
200 RegionCandidates = cms.InputTag(
"jetsForCoreTrackingBarrel"),
201 trajCandPerSeedBin = cms.int32(50),
202 trajCandPerSeedMax = cms.double(49.5),
203 doMVAPlots = cms.bool(
True),
204 TrackProducerForMVA = cms.InputTag(
"jetCoreRegionalStepBarrelTracks"),
205 MVAProducers = cms.InputTag(
"jetCoreRegionalBarrelStep"),
208 seedMonitoring[
'jetCoreRegionalStepEndcap'] = cms.PSet(
209 seedInputTag = cms.InputTag(
"jetCoreRegionalStepSeedsEndcap"),
210 trackCandInputTag = cms.InputTag(
"jetCoreRegionalStepEndcapTrackCandidates"),
211 trackSeedSizeBin = cms.int32(100),
212 trackSeedSizeMin = cms.double(-0.5),
213 trackSeedSizeMax = cms.double(199.5),
214 clusterLabel = cms.vstring(
'Tot'),
215 clusterBin = cms.int32(100),
216 clusterMax = cms.double(100000),
217 RegionProducer = cms.InputTag(
"jetCoreRegionalStepEndcapTrackingRegions"),
218 RegionCandidates = cms.InputTag(
"jetsForCoreTrackingEndcap"),
219 trajCandPerSeedBin = cms.int32(50),
220 trajCandPerSeedMax = cms.double(49.5),
221 doMVAPlots = cms.bool(
True),
222 TrackProducerForMVA = cms.InputTag(
"jetCoreRegionalStepEndcapTracks"),
223 MVAProducers = cms.InputTag(
"jetCoreRegionalEndcapStep"),
226 for _eraName, _postfix, _era
in _cfg.allEras():
227 locals()[
"selectedIterTrackingStep"+_postfix] = _cfg.iterationAlgos(_postfix)