CMS 3D CMS Logo

TrackingSourceConfig_Tier0_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 import RecoTracker.IterativeTracking.iterativeTkConfig as _cfg
3 import RecoTracker.IterativeTracking.iterativeTkUtils as _utils
4 
5 ### load which are the tracks collection 2 be monitored
7 
8 ### load the different flavour of settings of the TrackingMonitor module
10 
11 
12 ### define one EDAnalyzer per each track collection
13 ### following suggestion 2. in
14 ### https://hypernews.cern.ch/HyperNews/CMS/get/sw-develtools/1908/1.html
15 for tracks in selectedTracks :
16  label = 'TrackerCollisionSelectedTrackMonCommon' + str(tracks)
17  locals()[label] = TrackerCollisionTrackMonCommon.clone()
18  locals()[label].TrackProducer = cms.InputTag(tracks)
19  locals()[label].allTrackProducer = cms.InputTag(allTrackProducer[tracks])
20  locals()[label].FolderName = cms.string(mainfolderName[tracks])
21  locals()[label].PVFolderName = cms.string(vertexfolderName[tracks])
22  locals()[label].TrackPtMin = trackPtMin[tracks]
23  locals()[label].TrackPtBin = trackPtN[tracks]
24  locals()[label].TrackPtMax = trackPtMax[tracks]
25  locals()[label].TrackPBin = trackPtN[tracks]
26  locals()[label].TrackPMin = trackPtMin[tracks]
27  locals()[label].TrackPMax = trackPtMax[tracks]
28  locals()[label].doDCAPlots = doPlotsPCA[tracks]
29  locals()[label].doDCAwrtPVPlots = doPlotsPCA[tracks]
30  locals()[label].doDCAwrt000Plots = doPlotsPCA[tracks]
31  locals()[label].doSIPPlots = doPlotsPCA[tracks]
32  locals()[label].numCut = numCutString[tracks]
33  locals()[label].denCut = denCutString[tracks]
34  locals()[label].doGoodTracksPlots = doGoodTracksPlots [tracks]
35  locals()[label].doTrackerSpecific = doTrackerSpecific [tracks]
36  locals()[label].doHitPropertiesPlots = doHitPropertiesPlots [tracks]
37  locals()[label].doGeneralPropertiesPlots = doGeneralPropertiesPlots [tracks]
38  locals()[label].doBeamSpotPlots = doBeamSpotPlots [tracks]
39  locals()[label].doSeedParameterHistos = doSeedParameterHistos [tracks]
40  locals()[label].doRecHitVsPhiVsEtaPerTrack = doRecHitVsPhiVsEtaPerTrack [tracks]
41  locals()[label].doRecHitVsPtVsEtaPerTrack = doRecHitVsPtVsEtaPerTrack [tracks]
42  locals()[label].doGoodTrackRecHitVsPhiVsEtaPerTrack = doGoodTrackRecHitVsPhiVsEtaPerTrack [tracks]
43  locals()[label].doLayersVsPhiVsEtaPerTrack = doLayersVsPhiVsEtaPerTrack [tracks]
44  locals()[label].doGoodTrackLayersVsPhiVsEtaPerTrack = doGoodTrackLayersVsPhiVsEtaPerTrack [tracks]
45  locals()[label].doPUmonitoring = doPUmonitoring [tracks]
46  locals()[label].doPlotsVsBXlumi = doPlotsVsBXlumi [tracks]
47  locals()[label].doPlotsVsGoodPVtx = doPlotsVsGoodPVtx [tracks]
48  locals()[label].doEffFromHitPatternVsPU = doEffFromHitPatternVsPU [tracks]
49  locals()[label].doEffFromHitPatternVsLUMI = doEffFromHitPatternVsLumi [tracks]
50  if tracks == 'generalTracks':
51  locals()[label].doEffFromHitPatternVsBX = False
52  else:
53  locals()[label].doEffFromHitPatternVsBX = doEffFromHitPatternVsBX[tracks]
54 # locals()[label].doStopSource = doStopSource [tracks]
55  locals()[label].setLabel(label)
56 
57  # ZeroBias
58  label = 'TrackerCollisionSelectedTrackMonMB' + str(tracks)
59  locals()[label] = TrackerCollisionTrackMonMB.clone()
60  locals()[label].TrackProducer = cms.InputTag(tracks)
61  locals()[label].FolderName = cms.string(mainfolderName[tracks])
62  locals()[label].PVFolderName = cms.string(vertexfolderName[tracks])
63  locals()[label].TrackPtMin = trackPtMin[tracks]
64  locals()[label].TrackPtBin = trackPtN[tracks]
65  locals()[label].TrackPtMax = trackPtMax[tracks]
66  locals()[label].TrackPBin = trackPtN[tracks]
67  locals()[label].TrackPMin = trackPtMin[tracks]
68  locals()[label].TrackPMax = trackPtMax[tracks]
69  locals()[label].doDCAPlots = doPlotsPCA[tracks]
70  locals()[label].doDCAwrtPVPlots = doPlotsPCA[tracks]
71  locals()[label].doDCAwrt000Plots = doPlotsPCA[tracks]
72  locals()[label].doSIPPlots = doPlotsPCA[tracks]
73  locals()[label].numCut = numCutString[tracks]
74  locals()[label].denCut = denCutString[tracks]
75  locals()[label].doGoodTracksPlots = doGoodTracksPlots [tracks]
76  locals()[label].doTrackerSpecific = doTrackerSpecific [tracks]
77  locals()[label].doHitPropertiesPlots = doHitPropertiesPlots [tracks]
78  locals()[label].doGeneralPropertiesPlots = doGeneralPropertiesPlots [tracks]
79  locals()[label].doBeamSpotPlots = doBeamSpotPlots [tracks]
80  locals()[label].doSeedParameterHistos = doSeedParameterHistos [tracks]
81  locals()[label].doRecHitVsPhiVsEtaPerTrack = doRecHitVsPhiVsEtaPerTrack [tracks]
82  locals()[label].doRecHitVsPtVsEtaPerTrack = doRecHitVsPtVsEtaPerTrack [tracks]
83  locals()[label].doGoodTrackRecHitVsPhiVsEtaPerTrack = doGoodTrackRecHitVsPhiVsEtaPerTrack [tracks]
84  locals()[label].doLayersVsPhiVsEtaPerTrack = doLayersVsPhiVsEtaPerTrack [tracks]
85  locals()[label].doGoodTrackLayersVsPhiVsEtaPerTrack = doGoodTrackLayersVsPhiVsEtaPerTrack [tracks]
86  locals()[label].doPUmonitoring = doPUmonitoring [tracks]
87  locals()[label].doPlotsVsBXlumi = doPlotsVsBXlumi [tracks]
88  locals()[label].doPlotsVsGoodPVtx = doPlotsVsGoodPVtx [tracks]
89  locals()[label].doPlotsVsLUMI = cms.bool(True)
90  locals()[label].doPlotsVsBX = cms.bool(True)
91  locals()[label].doEffFromHitPatternVsPU = doEffFromHitPatternVsPU [tracks]
92  locals()[label].doEffFromHitPatternVsBX = doEffFromHitPatternVsBX [tracks]
93  locals()[label].doEffFromHitPatternVsLUMI = cms.bool(True)
94  locals()[label].doStopSource = doStopSource [tracks]
95  locals()[label].setLabel(label)
96 
97  # ZeroBias, no hip, no OOT pu (1st collision after abort gap) ###
98  label = 'TrackerCollisionSelectedTrackMonZBnoHIPnoOOT' + str(tracks)
99  locals()[label] = TrackerCollisionTrackMonZBnoHIPnoOOT.clone()
100  locals()[label].TrackProducer = cms.InputTag(tracks)
101  locals()[label].FolderName = cms.string(mainfolderName[tracks]+"/noHIP_noOOT_INpu")
102  locals()[label].PVFolderName = cms.string(vertexfolderName[tracks]+"/noHIP_noOOT_INpu")
103  locals()[label].TrackPtMin = trackPtMin[tracks]
104  locals()[label].TrackPtBin = trackPtN[tracks]
105  locals()[label].TrackPtMax = trackPtMax[tracks]
106  locals()[label].TrackPBin = trackPtN[tracks]
107  locals()[label].TrackPMin = trackPtMin[tracks]
108  locals()[label].TrackPMax = trackPtMax[tracks]
109  locals()[label].doDCAPlots = doPlotsPCA[tracks]
110  locals()[label].doDCAwrtPVPlots = doPlotsPCA[tracks]
111  locals()[label].doDCAwrt000Plots = doPlotsPCA[tracks]
112  locals()[label].doSIPPlots = doPlotsPCA[tracks]
113  locals()[label].numCut = numCutString[tracks]
114  locals()[label].denCut = denCutString[tracks]
115  locals()[label].doGoodTracksPlots = doGoodTracksPlots [tracks]
116  locals()[label].doTrackerSpecific = doTrackerSpecific [tracks]
117  locals()[label].doHitPropertiesPlots = doHitPropertiesPlots [tracks]
118  locals()[label].doGeneralPropertiesPlots = doGeneralPropertiesPlots [tracks]
119  locals()[label].doBeamSpotPlots = doBeamSpotPlots [tracks]
120  locals()[label].doSeedParameterHistos = doSeedParameterHistos [tracks]
121  locals()[label].doRecHitVsPhiVsEtaPerTrack = doRecHitVsPhiVsEtaPerTrack [tracks]
122  locals()[label].doRecHitVsPtVsEtaPerTrack = doRecHitVsPtVsEtaPerTrack [tracks]
123  locals()[label].doGoodTrackRecHitVsPhiVsEtaPerTrack = doGoodTrackRecHitVsPhiVsEtaPerTrack [tracks]
124  locals()[label].doLayersVsPhiVsEtaPerTrack = doLayersVsPhiVsEtaPerTrack [tracks]
125  locals()[label].doGoodTrackLayersVsPhiVsEtaPerTrack = doGoodTrackLayersVsPhiVsEtaPerTrack [tracks]
126  locals()[label].doPUmonitoring = doPUmonitoring [tracks]
127  locals()[label].doPlotsVsBXlumi = doPlotsVsBXlumi [tracks]
128  locals()[label].doPlotsVsGoodPVtx = doPlotsVsGoodPVtx [tracks]
129  locals()[label].doPlotsVsLUMI = cms.bool(True)
130  locals()[label].doPlotsVsBX = cms.bool(True)
131  locals()[label].doEffFromHitPatternVsPU = doEffFromHitPatternVsPU [tracks]
132  locals()[label].doEffFromHitPatternVsBX = doEffFromHitPatternVsBX [tracks]
133  locals()[label].doEffFromHitPatternVsLUMI = False
134  locals()[label].doStopSource = doStopSource [tracks]
135  locals()[label].setLabel(label)
136 
137  # ZeroBias, hip, no OOT pu (1st collision in train) ###
138  label = 'TrackerCollisionSelectedTrackMonZBHIPnoOOT' + str(tracks)
139  locals()[label] = TrackerCollisionTrackMonZBHIPnoOOT.clone()
140  locals()[label].TrackProducer = cms.InputTag(tracks)
141  locals()[label].FolderName = cms.string(mainfolderName[tracks]+"/HIP_noOOT_INpu")
142  locals()[label].PVFolderName = cms.string(vertexfolderName[tracks]+"/HIP_noOOT_INpu")
143  locals()[label].TrackPtMin = trackPtMin[tracks]
144  locals()[label].TrackPtBin = trackPtN[tracks]
145  locals()[label].TrackPtMax = trackPtMax[tracks]
146  locals()[label].TrackPBin = trackPtN[tracks]
147  locals()[label].TrackPMin = trackPtMin[tracks]
148  locals()[label].TrackPMax = trackPtMax[tracks]
149  locals()[label].doDCAPlots = doPlotsPCA[tracks]
150  locals()[label].doDCAwrtPVPlots = doPlotsPCA[tracks]
151  locals()[label].doDCAwrt000Plots = doPlotsPCA[tracks]
152  locals()[label].doSIPPlots = doPlotsPCA[tracks]
153  locals()[label].numCut = numCutString[tracks]
154  locals()[label].denCut = denCutString[tracks]
155  locals()[label].doGoodTracksPlots = doGoodTracksPlots [tracks]
156  locals()[label].doTrackerSpecific = doTrackerSpecific [tracks]
157  locals()[label].doHitPropertiesPlots = doHitPropertiesPlots [tracks]
158  locals()[label].doGeneralPropertiesPlots = doGeneralPropertiesPlots [tracks]
159  locals()[label].doBeamSpotPlots = doBeamSpotPlots [tracks]
160  locals()[label].doSeedParameterHistos = doSeedParameterHistos [tracks]
161  locals()[label].doRecHitVsPhiVsEtaPerTrack = doRecHitVsPhiVsEtaPerTrack [tracks]
162  locals()[label].doRecHitVsPtVsEtaPerTrack = doRecHitVsPtVsEtaPerTrack [tracks]
163  locals()[label].doGoodTrackRecHitVsPhiVsEtaPerTrack = doGoodTrackRecHitVsPhiVsEtaPerTrack [tracks]
164  locals()[label].doLayersVsPhiVsEtaPerTrack = doLayersVsPhiVsEtaPerTrack [tracks]
165  locals()[label].doGoodTrackLayersVsPhiVsEtaPerTrack = doGoodTrackLayersVsPhiVsEtaPerTrack [tracks]
166  locals()[label].doPUmonitoring = doPUmonitoring [tracks]
167  locals()[label].doPlotsVsBXlumi = doPlotsVsBXlumi [tracks]
168  locals()[label].doPlotsVsGoodPVtx = doPlotsVsGoodPVtx [tracks]
169  locals()[label].doPlotsVsLUMI = cms.bool(True)
170  locals()[label].doPlotsVsBX = cms.bool(True)
171  locals()[label].doEffFromHitPatternVsPU = doEffFromHitPatternVsPU [tracks]
172  locals()[label].doEffFromHitPatternVsBX = doEffFromHitPatternVsBX [tracks]
173  locals()[label].doEffFromHitPatternVsLUMI = False
174  locals()[label].doStopSource = doStopSource [tracks]
175  locals()[label].setLabel(label)
176 
177 
178  # ZeroBias, hip, OOT pu (1st collision after train) ###
179  label = 'TrackerCollisionSelectedTrackMonZBHIPOOT' + str(tracks)
180  locals()[label] = TrackerCollisionTrackMonZBHIPOOT.clone()
181  locals()[label].TrackProducer = cms.InputTag(tracks)
182  locals()[label].FolderName = cms.string(mainfolderName[tracks]+"/HIP_OOT_noINpu")
183  locals()[label].PVFolderName = cms.string(vertexfolderName[tracks]+"/HIP_OOT_noINpu")
184  locals()[label].TrackPtMin = trackPtMin[tracks]
185  locals()[label].TrackPtBin = trackPtN[tracks]
186  locals()[label].TrackPtMax = trackPtMax[tracks]
187  locals()[label].TrackPBin = trackPtN[tracks]
188  locals()[label].TrackPMin = trackPtMin[tracks]
189  locals()[label].TrackPMax = trackPtMax[tracks]
190  locals()[label].doDCAPlots = doPlotsPCA[tracks]
191  locals()[label].doDCAwrtPVPlots = doPlotsPCA[tracks]
192  locals()[label].doDCAwrt000Plots = doPlotsPCA[tracks]
193  locals()[label].doSIPPlots = doPlotsPCA[tracks]
194  locals()[label].numCut = numCutString[tracks]
195  locals()[label].denCut = denCutString[tracks]
196  locals()[label].doGoodTracksPlots = doGoodTracksPlots [tracks]
197  locals()[label].doTrackerSpecific = doTrackerSpecific [tracks]
198  locals()[label].doHitPropertiesPlots = doHitPropertiesPlots [tracks]
199  locals()[label].doGeneralPropertiesPlots = doGeneralPropertiesPlots [tracks]
200  locals()[label].doBeamSpotPlots = doBeamSpotPlots [tracks]
201  locals()[label].doSeedParameterHistos = doSeedParameterHistos [tracks]
202  locals()[label].doRecHitVsPhiVsEtaPerTrack = doRecHitVsPhiVsEtaPerTrack [tracks]
203  locals()[label].doRecHitVsPtVsEtaPerTrack = doRecHitVsPtVsEtaPerTrack [tracks]
204  locals()[label].doGoodTrackRecHitVsPhiVsEtaPerTrack = doGoodTrackRecHitVsPhiVsEtaPerTrack [tracks]
205  locals()[label].doLayersVsPhiVsEtaPerTrack = doLayersVsPhiVsEtaPerTrack [tracks]
206  locals()[label].doGoodTrackLayersVsPhiVsEtaPerTrack = doGoodTrackLayersVsPhiVsEtaPerTrack [tracks]
207  locals()[label].doPUmonitoring = doPUmonitoring [tracks]
208  locals()[label].doPlotsVsBXlumi = doPlotsVsBXlumi [tracks]
209  locals()[label].doPlotsVsGoodPVtx = doPlotsVsGoodPVtx [tracks]
210  locals()[label].doPlotsVsLUMI = cms.bool(True)
211  locals()[label].doPlotsVsBX = cms.bool(True)
212  locals()[label].doEffFromHitPatternVsPU = doEffFromHitPatternVsPU [tracks]
213  locals()[label].doEffFromHitPatternVsBX = doEffFromHitPatternVsBX [tracks]
214  locals()[label].doEffFromHitPatternVsLUMI = False
215  locals()[label].doStopSource = doStopSource [tracks]
216  locals()[label].setLabel(label)
217 
218 
219 #-------------------------------------------------
220 # Tracking Monitor
221 #-------------------------------------------------
222 import DQM.TrackingMonitor.TrackingMonitorSeed_cfi
223 
225 # Create first modules for all possible iterations, select later which
226 # ones to actually use based on era
227 def _copyIfExists(mod, pset, name):
228  if hasattr(pset, name):
229  setattr(mod, name, getattr(pset, name))
230 for _step, _pset in seedMonitoring.iteritems():
231  _mod = DQM.TrackingMonitor.TrackingMonitorSeed_cfi.TrackMonSeed.clone(
232  doTrackCandHistos = cms.bool(True)
233  )
234  locals()['TrackSeedMon'+str(_step)] = _mod
235  _mod.TrackProducer = cms.InputTag("generalTracks")
236  _mod.FolderName = cms.string("Tracking/TrackParameters/generalTracks")
237  _mod.SeedProducer = _pset.seedInputTag
238  _mod.TCProducer = _pset.trackCandInputTag
239  _mod.AlgoName = cms.string( str(_step) )
240  _mod.TkSeedSizeBin = _pset.trackSeedSizeBin
241  _mod.TkSeedSizeMin = _pset.trackSeedSizeMin
242  _mod.TkSeedSizeMax = _pset.trackSeedSizeMax
243  _mod.ClusterLabels = _pset.clusterLabel
244  if _pset.clusterLabel == cms.vstring('Pix') :
245  _mod.NClusPxBin = _pset.clusterBin
246  _mod.NClusPxMax = _pset.clusterMax
247  elif _pset.clusterLabel == cms.vstring('Strip') or _pset.clusterLabel == cms.vstring('Tot') :
248  _mod.NClusStrBin = _pset.clusterBin
249  _mod.NClusStrMax = _pset.clusterMax
250  if hasattr(_pset, "RegionProducer") or hasattr(_pset, "RegionSeedingLayersProducer"):
251  _mod.doRegionPlots = True
252  _copyIfExists(_mod, _pset, "RegionProducer")
253  _copyIfExists(_mod, _pset, "RegionSeedingLayersProducer")
254  _copyIfExists(_mod, _pset, "RegionSizeBin")
255  _copyIfExists(_mod, _pset, "RegionSizeMax")
256  if hasattr(_pset, "RegionCandidates"):
257  _mod.doRegionCandidatePlots = True
258  _mod.RegionCandidates = _pset.RegionCandidates
259  if hasattr(_pset, "trajCandPerSeedBin"):
260  _mod.SeedCandBin = _pset.trajCandPerSeedBin
261  _mod.SeedCandMax = _pset.trajCandPerSeedMax
262 
263 # DQM Services
264 dqmInfoTracking = cms.EDAnalyzer("DQMEventInfo",
265  subSystemFolder = cms.untracked.string('Tracking')
266 )
267 
268 # LogMessageMonitor ####
269 ### load which are the module to monitor
271 
272 ### load the different flavour of settings of the LogMessageMonitor module
274 
275 for module in selectedModules :
276  label = str(module)+'LogMessageMonCommon'
277  locals()[label] = LogMessageMonCommon.clone()
278  locals()[label].pluginsMonName = pluginsMonName[module]
279  locals()[label].modules = modulesLabel[module]
280  locals()[label].categories = categories[module]
281  locals()[label].setLabel(label)
282 
283  label = str(module)+'LogMessageMonMB'
284  locals()[label] = LogMessageMonMB.clone()
285  locals()[label].pluginsMonName = pluginsMonName[module]
286  locals()[label].modules = modulesLabel[module]
287  locals()[label].categories = categories[module]
288  locals()[label].setLabel(label)
289 
290 
291 # dEdx monitor ####
292 ### load which dedx
294 
295 ### load the different flavour of settings of the dEdxAnalyzer module
297 
298 
299 # temporary patch in order to have BXlumi
301 
302 # import v0 monitoring
304 
305 # better clone for now because goodOfflinePrimaryVertices is used also
306 # within the reco sequence, and without cloning framework will throw
307 # "unrunnable schedule" exception for workflows without --runUnscheduled
308 from CommonTools.ParticleFlow.goodOfflinePrimaryVertices_cfi import goodOfflinePrimaryVertices
309 trackingDQMgoodOfflinePrimaryVertices = goodOfflinePrimaryVertices.clone()
310 
311 
312 # import PV resolution
314 # Sequence
315 TrackingDQMSourceTier0 = cms.Sequence(cms.ignore(trackingDQMgoodOfflinePrimaryVertices))
316 # dEdx monitoring
317 TrackingDQMSourceTier0 += dedxHarmonicSequence * dEdxMonCommon * dEdxHitMonCommon
318 # # temporary patch in order to have BXlumi
319 # * lumiProducer
320 # track collections
321 for tracks in selectedTracks :
322  if tracks != 'generalTracks':
323  TrackingDQMSourceTier0 += cms.ignore(sequenceName[tracks])
324  label = 'TrackerCollisionSelectedTrackMonCommon' + str(tracks)
325  TrackingDQMSourceTier0 += cms.ignore(locals()[label])
326 # seeding monitoring
327 for _eraName, _postfix, _era in _cfg.allEras():
328  mvaSel = _utils.getMVASelectors(_postfix)
329  _seq = cms.Sequence()
330  for step in locals()["selectedIterTrackingStep"+_postfix]:
331  if step in mvaSel:
332  locals()["TrackSeedMon"+step].doMVAPlots = True
333  locals()["TrackSeedMon"+step].TrackProducerForMVA = mvaSel[step][0]
334  locals()["TrackSeedMon"+step].MVAProducers = mvaSel[step][1]
335 
336  _seq += locals()["TrackSeedMon"+step]
337  if _eraName == "":
338  locals()["TrackSeedMonSequence"] = _seq
339  else:
340  _era.toReplaceWith(TrackSeedMonSequence, _seq)
341 TrackingDQMSourceTier0 += TrackSeedMonSequence
342 # MessageLog
343 for module in selectedModules :
344  label = str(module)+'LogMessageMonCommon'
345  TrackingDQMSourceTier0 += locals()[label]
346 TrackingDQMSourceTier0 += voMonitoringSequence
347 TrackingDQMSourceTier0 += voWcutMonitoringSequence
348 TrackingDQMSourceTier0 += primaryVertexResolution
349 TrackingDQMSourceTier0 += dqmInfoTracking
350 
351 
352 TrackingDQMSourceTier0Common = cms.Sequence(cms.ignore(trackingDQMgoodOfflinePrimaryVertices))
353 # dEdx monitoring
354 TrackingDQMSourceTier0Common += (dedxHarmonicSequence * dEdxMonCommon * dEdxHitMonCommon)
355 ## monitor track collections
356 for tracks in selectedTracks :
357  if tracks != 'generalTracks':
358  TrackingDQMSourceTier0Common+=cms.ignore(sequenceName[tracks])
359  label = 'TrackerCollisionSelectedTrackMonCommon' + str(tracks)
360  TrackingDQMSourceTier0Common += cms.ignore(locals()[label])
361 # seeding monitoring
362 TrackingDQMSourceTier0Common += TrackSeedMonSequence
363 # MessageLog
364 for module in selectedModules :
365  label = str(module)+'LogMessageMonCommon'
366  TrackingDQMSourceTier0Common += locals()[label]
367 TrackingDQMSourceTier0Common += voMonitoringCommonSequence
368 TrackingDQMSourceTier0Common += voWcutMonitoringCommonSequence
369 TrackingDQMSourceTier0Common += primaryVertexResolution
370 TrackingDQMSourceTier0Common += dqmInfoTracking
371 
372 TrackingDQMSourceTier0MinBias = cms.Sequence(cms.ignore(trackingDQMgoodOfflinePrimaryVertices))
373 # dEdx monitoring
374 TrackingDQMSourceTier0MinBias += dedxHarmonicSequence * dEdxMonCommon * dEdxHitMonCommon
375 # * lumiProducer
376 # monitor track collections
377 for tracks in selectedTracks :
378  if tracks != 'generalTracks':
379  TrackingDQMSourceTier0MinBias += cms.ignore(sequenceName[tracks])
380 
381  for topology in [ 'MB', 'ZBnoHIPnoOOT', 'ZBHIPnoOOT', 'ZBHIPOOT']:
382  label = 'TrackerCollisionSelectedTrackMon' + str(topology) + str(tracks)
383  TrackingDQMSourceTier0MinBias += cms.ignore(locals()[label])
384 # seeding monitoring
385 TrackingDQMSourceTier0MinBias += TrackSeedMonSequence
386 # MessageLog
387 for module in selectedModules :
388  label = str(module)+'LogMessageMonMB'
389  TrackingDQMSourceTier0MinBias += locals()[label]
390 # V0 monitoring
391 TrackingDQMSourceTier0MinBias += voMonitoringMBSequence
392 TrackingDQMSourceTier0MinBias += voMonitoringZBnoHIPnoOOTSequence
393 TrackingDQMSourceTier0MinBias += voMonitoringZBHIPnoOOTSequence
394 TrackingDQMSourceTier0MinBias += voMonitoringZBHIPOOTSequence
395 TrackingDQMSourceTier0MinBias += voWcutMonitoringMBSequence
396 TrackingDQMSourceTier0MinBias += voWcutMonitoringZBnoHIPnoOOTSequence
397 TrackingDQMSourceTier0MinBias += voWcutMonitoringZBHIPnoOOTSequence
398 TrackingDQMSourceTier0MinBias += voWcutMonitoringZBHIPOOTSequence
399 # PV resolution
400 TrackingDQMSourceTier0MinBias += primaryVertexResolution
401 
402 TrackingDQMSourceTier0MinBias += dqmInfoTracking
403 
load which dedx
load the different flavour of settings of the dEdxAnalyzer module
load which are the tracks collection 2 be monitored
load the different flavour of settings of the LogMessageMonitor module
load which are the module to monitor
load the different flavour of settings of the TrackingMonitor module