CMS 3D CMS Logo

IterTrackingModules4seedMonitoring_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 import RecoTracker.IterativeTracking.iterativeTkConfig as _cfg
3 
4 seedMonitoring = {}
5 
6 seedMonitoring['initialStep'] = cms.PSet(
7  seedInputTag = cms.InputTag("initialStepSeeds"),
8  trackCandInputTag = cms.InputTag("initialStepTrackCandidates"),
9  trackSeedSizeBin = cms.int32(100), # could be 50 ?
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),
15 )
16 
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),
26 )
27 
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),
37 )
38 
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),
48 )
49 
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),
60 )
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),
66 )
67 
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),
78 )
79 
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),
89 )
90 
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),
101 )
102 
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),
112 )
113 
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),
124 )
125 
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),
136 )
137 
138 
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),
149 )
150 
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),
161 )
162 
163 seedMonitoring['displacedRegionalStep'] = cms.PSet(
164  seedInputTag = cms.InputTag("displacedRegionalStepSeeds"),
165  trackCandInputTag= cms.InputTag("displacedRegionalStepTrackCandidates"),
166  trackSeedSizeBin = cms.int32(400),
167  trackSeedSizeMin = cms.double(0),
168  trackSeedSizeMax = cms.double(100000),
169  TCSizeMax = cms.double(199.5),
170  clusterLabel = cms.vstring('Strip'),
171  clusterBin = cms.int32(100),
172  clusterMax = cms.double(100000),
173 )
174 
175 seedMonitoring['muonSeededStepOutInDisplaced'] = cms.PSet(
176  seedInputTag = cms.InputTag("muonSeededSeedsOutInDisplaced"),
177  trackCandInputTag = cms.InputTag("muonSeededTrackCandidatesOutInDisplacedg"),
178  trackSeedSizeBin = cms.int32(30),
179  trackSeedSizeMin = cms.double(-0.5),
180  trackSeedSizeMax = cms.double(29.5),
181  TCSizeMax = cms.double(199.5),
182  clusterLabel = cms.vstring('Strip'),
183  clusterBin = cms.int32(100),
184  clusterMax = cms.double(100000),
185 )
186 
187 seedMonitoring['jetCoreRegionalStep'] = cms.PSet(
188  seedInputTag = cms.InputTag("jetCoreRegionalStepSeeds"),
189  trackCandInputTag = cms.InputTag("jetCoreRegionalStepTrackCandidates"),
190  trackSeedSizeBin = cms.int32(100),
191  trackSeedSizeMin = cms.double(-0.5),
192  trackSeedSizeMax = cms.double(199.5),
193  clusterLabel = cms.vstring('Tot'),
194  clusterBin = cms.int32(100),
195  clusterMax = cms.double(100000),
196  RegionProducer = cms.InputTag("jetCoreRegionalStepTrackingRegions"),
197  RegionCandidates = cms.InputTag("jetsForCoreTracking"),
198  trajCandPerSeedBin = cms.int32(50),
199  trajCandPerSeedMax = cms.double(49.5),
200 )
201 
202 seedMonitoring['jetCoreRegionalStepBarrel'] = cms.PSet(
203  seedInputTag = cms.InputTag("jetCoreRegionalStepSeedsBarrel"),
204  trackCandInputTag = cms.InputTag("jetCoreRegionalStepBarrelTrackCandidates"),
205  trackSeedSizeBin = cms.int32(100),
206  trackSeedSizeMin = cms.double(-0.5),
207  trackSeedSizeMax = cms.double(199.5),
208  clusterLabel = cms.vstring('Tot'),
209  clusterBin = cms.int32(100),
210  clusterMax = cms.double(100000),
211  RegionProducer = cms.InputTag("jetCoreRegionalStepBarrelTrackingRegions"),
212  RegionCandidates = cms.InputTag("jetsForCoreTrackingBarrel"),
213  trajCandPerSeedBin = cms.int32(50),
214  trajCandPerSeedMax = cms.double(49.5),
215  doMVAPlots = cms.bool(True),
216  TrackProducerForMVA = cms.InputTag("jetCoreRegionalStepBarrelTracks"),
217  MVAProducers = cms.InputTag("jetCoreRegionalBarrelStep"),
218 )
219 
220 seedMonitoring['jetCoreRegionalStepEndcap'] = cms.PSet(
221  seedInputTag = cms.InputTag("jetCoreRegionalStepSeedsEndcap"),
222  trackCandInputTag = cms.InputTag("jetCoreRegionalStepEndcapTrackCandidates"),
223  trackSeedSizeBin = cms.int32(100),
224  trackSeedSizeMin = cms.double(-0.5),
225  trackSeedSizeMax = cms.double(199.5),
226  clusterLabel = cms.vstring('Tot'),
227  clusterBin = cms.int32(100),
228  clusterMax = cms.double(100000),
229  RegionProducer = cms.InputTag("jetCoreRegionalStepEndcapTrackingRegions"),
230  RegionCandidates = cms.InputTag("jetsForCoreTrackingEndcap"),
231  trajCandPerSeedBin = cms.int32(50),
232  trajCandPerSeedMax = cms.double(49.5),
233  doMVAPlots = cms.bool(True),
234  TrackProducerForMVA = cms.InputTag("jetCoreRegionalStepEndcapTracks"),
235  MVAProducers = cms.InputTag("jetCoreRegionalEndcapStep"),
236 )
237 
238 for _eraName, _postfix, _era in _cfg.allEras():
239  locals()["selectedIterTrackingStep"+_postfix] = _cfg.iterationAlgos(_postfix)
240 #selectedIterTrackingStep.append('muonSeededStepOutInDisplaced')
241