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['muonSeededStepInOut'] = cms.PSet(
127  seedInputTag = cms.InputTag("muonSeededSeedsInOut"),
128  trackCandInputTag = cms.InputTag("muonSeededTrackCandidatesInOut"),
129  trackSeedSizeBin = cms.int32(30),
130  trackSeedSizeMin = cms.double(-0.5),
131  trackSeedSizeMax = cms.double(29.5),
132  TCSizeMax = cms.double(199.5),
133  clusterLabel = cms.vstring('Strip'),
134  clusterBin = cms.int32(100),
135  clusterMax = cms.double(100000),
136 )
137 
138 seedMonitoring['muonSeededStepOutIn'] = cms.PSet(
139  seedInputTag = cms.InputTag("muonSeededSeedsOutIn"),
140  trackCandInputTag = cms.InputTag("muonSeededTrackCandidatesOutIn"),
141  trackSeedSizeBin = cms.int32(30),
142  trackSeedSizeMin = cms.double(-0.5),
143  trackSeedSizeMax = cms.double(29.5),
144  TCSizeMax = cms.double(199.5),
145  clusterLabel = cms.vstring('Strip'),
146  clusterBin = cms.int32(100),
147  clusterMax = cms.double(100000),
148 )
149 
150 seedMonitoring['muonSeededStepOutInDisplaced'] = cms.PSet(
151  seedInputTag = cms.InputTag("muonSeededSeedsOutInDisplaced"),
152  trackCandInputTag = cms.InputTag("muonSeededTrackCandidatesOutInDisplacedg"),
153  trackSeedSizeBin = cms.int32(30),
154  trackSeedSizeMin = cms.double(-0.5),
155  trackSeedSizeMax = cms.double(29.5),
156  TCSizeMax = cms.double(199.5),
157  clusterLabel = cms.vstring('Strip'),
158  clusterBin = cms.int32(100),
159  clusterMax = cms.double(100000),
160 )
161 
162 seedMonitoring['jetCoreRegionalStep'] = cms.PSet(
163  seedInputTag = cms.InputTag("jetCoreRegionalStepSeeds"),
164  trackCandInputTag = cms.InputTag("jetCoreRegionalStepTrackCandidates"),
165  trackSeedSizeBin = cms.int32(100),
166  trackSeedSizeMin = cms.double(-0.5),
167  trackSeedSizeMax = cms.double(199.5),
168  clusterLabel = cms.vstring('Tot'),
169  clusterBin = cms.int32(100),
170  clusterMax = cms.double(100000),
171  RegionProducer = cms.InputTag("jetCoreRegionalStepTrackingRegions"),
172  RegionCandidates = cms.InputTag("jetsForCoreTracking"),
173  trajCandPerSeedBin = cms.int32(50),
174  trajCandPerSeedMax = cms.double(49.5),
175 )
176 
177 for _eraName, _postfix, _era in _cfg.allEras():
178  locals()["selectedIterTrackingStep"+_postfix] = _cfg.iterationAlgos(_postfix)
179 #selectedIterTrackingStep.append('muonSeededStepOutInDisplaced')
180