CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ALCARECOTkAlDQM_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
3 import DQMOffline.Alignment.TkAlCaRecoMonitor_cfi
4 
5 #Below all DQM modules for TrackerAlignment AlCaRecos are instantiated.
6 ######################################################
7 #############--- TkAlZMuMu ---#######################
8 ######################################################
9 __selectionName = 'TkAlZMuMu'
10 ALCARECOTkAlZMuMuTrackingDQM = DQM.TrackingMonitor.TrackingMonitor_cfi.TrackMon.clone(
11 #names and desigantions
12  TrackProducer = 'ALCARECO'+__selectionName,
13  AlgoName = 'ALCARECO'+__selectionName,
14  FolderName = "AlCaReco/"+__selectionName,
15  MeasurementState = "default",
16  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
17  doSeedParameterHistos = False,
18 # Margins and settings
19  TkSizeBin = 6,
20  TkSizeMin = -0.5,
21  TkSizeMax = 5.5,
22  TrackPtBin = 150,
23  TrackPtMin = 0,
24  TrackPtMax = 150,
25 #choose histos from TrackingMonitor
26  doAllPlots = True
27 )
28 
29 ALCARECOTkAlZMuMuTkAlDQM = DQMOffline.Alignment.TkAlCaRecoMonitor_cfi.TkAlCaRecoMonitor.clone(
30 #names and desigantions
31  TrackProducer = 'ALCARECO'+__selectionName,
32  AlgoName = 'ALCARECO'+__selectionName,
33  FolderName = "AlCaReco/"+__selectionName,
34 # margins and settings
35  runsOnReco = True,
36  fillInvariantMass = True,
37  MassBin = 300,
38  MassMin = 50.0,
39  MassMax = 150.0,
40  SumChargeBin = 11,
41  SumChargeMin = -5.5,
42  SumChargeMax = 5.5,
43  TrackPtBin= 150,
44  TrackPtMin = 0.0,
45  TrackPtMax = 150.0
46 )
47 
48 #from DQM.HLTEvF.HLTMonBitSummary_cfi import hltMonBitSummary
49 from Alignment.CommonAlignmentProducer.ALCARECOTkAlZMuMu_cff import ALCARECOTkAlZMuMuHLT
50 #ALCARECOTkAlZMuMuHLTDQM = hltMonBitSummary.clone(
51 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
52 # histLabel = __selectionName,
53 # HLTPaths = ["HLT_.*Mu.*"],
54 # eventSetupPathsKey = ALCARECOTkAlZMuMuHLT.eventSetupPathsKey.value()
55 #)
56 
57 #ALCARECOTkAlZMuMuDQM = cms.Sequence( ALCARECOTkAlZMuMuTrackingDQM + ALCARECOTkAlZMuMuTkAlDQM + ALCARECOTkAlZMuMuHLTDQM )
58 ALCARECOTkAlZMuMuDQM = cms.Sequence( ALCARECOTkAlZMuMuTrackingDQM + ALCARECOTkAlZMuMuTkAlDQM )
59 
60 #########################################################
61 #############--- TkAlZMuMuHI ---########################
62 #########################################################
63 __selectionName = 'TkAlZMuMuHI'
64 ALCARECOTkAlZMuMuHITrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
65 #names and desigantions
66  TrackProducer = 'ALCARECO'+__selectionName,
67  AlgoName = 'ALCARECO'+__selectionName,
68  FolderName = "AlCaReco/"+__selectionName,
69  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
70  allTrackProducer = cms.InputTag( "hiGeneralTracks" ),
71  primaryVertex = cms.InputTag('hiSelectedVertex'),
72 )
73 
74 ALCARECOTkAlZMuMuHITkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
75 #names and desigantions
76  TrackProducer = 'ALCARECO'+__selectionName,
77  AlgoName = 'ALCARECO'+__selectionName,
78  FolderName = "AlCaReco/"+__selectionName,
79  ReferenceTrackProducer= cms.InputTag( "hiGeneralTracks" ),
80  CaloJetCollection= cms.InputTag( "iterativeConePu5CaloJets" ),
81 )
82 
83 from Alignment.CommonAlignmentProducer.ALCARECOTkAlZMuMuHI_cff import ALCARECOTkAlZMuMuHIHLT
84 #ALCARECOTkAlZMuMuHLTDQM = hltMonBitSummary.clone(
85 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
86 # histLabel = __selectionName,
87 # HLTPaths = ["HLT_.*Mu.*"],
88 # eventSetupPathsKey = ALCARECOTkAlZMuMuHLT.eventSetupPathsKey.value()
89 #)
90 
91 #ALCARECOTkAlZMuMuDQM = cms.Sequence( ALCARECOTkAlZMuMuTrackingDQM + ALCARECOTkAlZMuMuTkAlDQM + ALCARECOTkAlZMuMuHLTDQM)
92 ALCARECOTkAlZMuMuHIDQM = cms.Sequence( ALCARECOTkAlZMuMuHITrackingDQM + ALCARECOTkAlZMuMuHITkAlDQM )
93 
94 #########################################################
95 #############--- TkAlJpsiMuMu ---#######################
96 #########################################################
97 __selectionName = 'TkAlJpsiMuMu'
98 ALCARECOTkAlJpsiMuMuTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
99 #names and desigantions
100  TrackProducer = 'ALCARECO'+__selectionName,
101  AlgoName = 'ALCARECO'+__selectionName,
102  FolderName = "AlCaReco/"+__selectionName,
103  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
104 # margins and settings
105  TrackPtMax = 50
106 )
107 ALCARECOTkAlJpsiMuMuTkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
108 #names and desigantions
109  TrackProducer = 'ALCARECO'+__selectionName,
110  AlgoName = 'ALCARECO'+__selectionName,
111  FolderName = "AlCaReco/"+__selectionName,
112 # margins and settings
113  MassMin = 2.5,
114  MassMax = 4.0,
115  TrackPtMax = 50
116 )
117 
118 from Alignment.CommonAlignmentProducer.ALCARECOTkAlJpsiMuMu_cff import ALCARECOTkAlJpsiMuMuHLT
119 #ALCARECOTkAlJpsiMuMuHLTDQM = hltMonBitSummary.clone(
120 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
121 # histLabel = __selectionName,
122 # HLTPaths = ["HLT_.*Mu.*"],
123 # eventSetupPathsKey = ALCARECOTkAlJpsiMuMuHLT.eventSetupPathsKey.value()
124 #)
125 
126 #ALCARECOTkAlJpsiMuMuDQM = cms.Sequence( ALCARECOTkAlJpsiMuMuTrackingDQM + ALCARECOTkAlJpsiMuMuTkAlDQM + ALCARECOTkAlJpsiMuMuHLTDQM)
127 ALCARECOTkAlJpsiMuMuDQM = cms.Sequence( ALCARECOTkAlJpsiMuMuTrackingDQM + ALCARECOTkAlJpsiMuMuTkAlDQM )
128 
129 #########################################################
130 #############--- TkAlJpsiMuMuHI ---#####################
131 #########################################################
132 __selectionName = 'TkAlJpsiMuMuHI'
133 ALCARECOTkAlJpsiMuMuHITrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
134 #names and desigantions
135  TrackProducer = 'ALCARECO'+__selectionName,
136  AlgoName = 'ALCARECO'+__selectionName,
137  FolderName = "AlCaReco/"+__selectionName,
138  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
139  allTrackProducer = cms.InputTag( "hiGeneralTracks" ),
140  primaryVertex = cms.InputTag('hiSelectedVertex'),
141 # margins and settings
142  TrackPtMax = 50
143 )
144 
145 ALCARECOTkAlJpsiMuMuHITkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
146 #names and desigantions
147  TrackProducer = 'ALCARECO'+__selectionName,
148  AlgoName = 'ALCARECO'+__selectionName,
149  FolderName = "AlCaReco/"+__selectionName,
150  ReferenceTrackProducer= cms.InputTag( "hiGeneralTracks" ),
151  CaloJetCollection= cms.InputTag( "iterativeConePu5CaloJets" ),
152 # margins and settings
153  MassMin = 2.5,
154  MassMax = 4.0,
155  TrackPtMax = 50
156 )
157 
158 from Alignment.CommonAlignmentProducer.ALCARECOTkAlJpsiMuMuHI_cff import ALCARECOTkAlJpsiMuMuHIHLT
159 #ALCARECOTkAlJpsiMuMuHLTDQM = hltMonBitSummary.clone(
160 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
161 # histLabel = __selectionName,
162 # HLTPaths = ["HLT_.*Mu.*"],
163 # eventSetupPathsKey = ALCARECOTkAlJpsiMuMuHLT.eventSetupPathsKey.value()
164 #)
165 
166 #ALCARECOTkAlJpsiMuMuDQM = cms.Sequence( ALCARECOTkAlJpsiMuMuTrackingDQM + ALCARECOTkAlJpsiMuMuTkAlDQM + ALCARECOTkAlJpsiMuMuHLTDQM)
167 ALCARECOTkAlJpsiMuMuHIDQM = cms.Sequence( ALCARECOTkAlJpsiMuMuHITrackingDQM + ALCARECOTkAlJpsiMuMuHITkAlDQM )
168 
169 ############################################################
170 #############--- TkAlUpsilonMuMu ---#######################
171 ############################################################
172 __selectionName = 'TkAlUpsilonMuMu'
173 ALCARECOTkAlUpsilonMuMuTrackingDQM = ALCARECOTkAlJpsiMuMuTrackingDQM.clone(
174 #names and desigantions
175  TrackProducer = 'ALCARECO'+__selectionName,
176  AlgoName = 'ALCARECO'+__selectionName,
177  FolderName = "AlCaReco/"+__selectionName,
178  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot"
179 )
180 
181 ALCARECOTkAlUpsilonMuMuTkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
182 #names and desigantions
183  TrackProducer = 'ALCARECO'+__selectionName,
184  AlgoName = 'ALCARECO'+__selectionName,
185  FolderName = "AlCaReco/"+__selectionName,
186 # margins and settings
187  MassMin = 8.,
188  MassMax = 10,
189  TrackPtMax = 50
190 )
191 
192 from Alignment.CommonAlignmentProducer.ALCARECOTkAlUpsilonMuMu_cff import ALCARECOTkAlUpsilonMuMuHLT
193 #ALCARECOTkAlUpsilonMuMuHLTDQM = hltMonBitSummary.clone(
194 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
195 # histLabel = __selectionName,
196 # HLTPaths = ["HLT_.*Mu.*"],
197 # eventSetupPathsKey = ALCARECOTkAlUpsilonMuMuHLT.eventSetupPathsKey.value()
198 #)
199 
200 #ALCARECOTkAlUpsilonMuMuDQM = cms.Sequence( ALCARECOTkAlUpsilonMuMuTrackingDQM + ALCARECOTkAlUpsilonMuMuTkAlDQM + ALCARECOTkAlUpsilonMuMuHLTDQM)
201 ALCARECOTkAlUpsilonMuMuDQM = cms.Sequence( ALCARECOTkAlUpsilonMuMuTrackingDQM + ALCARECOTkAlUpsilonMuMuTkAlDQM )
202 
203 ############################################################
204 #############--- TkAlUpsilonMuMuHI ---#####################
205 ############################################################
206 __selectionName = 'TkAlUpsilonMuMuHI'
207 ALCARECOTkAlUpsilonMuMuHITrackingDQM = ALCARECOTkAlJpsiMuMuHITrackingDQM.clone(
208 #names and desigantions
209  TrackProducer = 'ALCARECO'+__selectionName,
210  AlgoName = 'ALCARECO'+__selectionName,
211  FolderName = "AlCaReco/"+__selectionName,
212  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
213  allTrackProducer = cms.InputTag( "hiGeneralTracks" ),
214  primaryVertex = cms.InputTag('hiSelectedVertex'),
215 # margins and settings
216  TrackPtMax = 50
217 )
218 
219 ALCARECOTkAlUpsilonMuMuHITkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
220 #names and desigantions
221  TrackProducer = 'ALCARECO'+__selectionName,
222  AlgoName = 'ALCARECO'+__selectionName,
223  FolderName = "AlCaReco/"+__selectionName,
224  ReferenceTrackProducer= cms.InputTag( "hiGeneralTracks" ),
225  CaloJetCollection= cms.InputTag( "iterativeConePu5CaloJets" ),
226 # margins and settings
227  MassMin = 8.,
228  MassMax = 10,
229  TrackPtMax = 50
230 )
231 
232 from Alignment.CommonAlignmentProducer.ALCARECOTkAlUpsilonMuMuHI_cff import ALCARECOTkAlUpsilonMuMuHIHLT
233 #ALCARECOTkAlUpsilonMuMuHLTDQM = hltMonBitSummary.clone(
234 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
235 # histLabel = __selectionName,
236 # HLTPaths = ["HLT_.*Mu.*"],
237 # eventSetupPathsKey = ALCARECOTkAlUpsilonMuMuHLT.eventSetupPathsKey.value()
238 #)
239 
240 #ALCARECOTkAlUpsilonMuMuDQM = cms.Sequence( ALCARECOTkAlUpsilonMuMuTrackingDQM + ALCARECOTkAlUpsilonMuMuTkAlDQM + ALCARECOTkAlUpsilonMuMuHLTDQM)
241 ALCARECOTkAlUpsilonMuMuHIDQM = cms.Sequence( ALCARECOTkAlUpsilonMuMuHITrackingDQM + ALCARECOTkAlUpsilonMuMuHITkAlDQM )
242 
243 #########################################################
244 #############--- TkAlBeamHalo ---#######################
245 #########################################################
246 __selectionName = 'TkAlBeamHalo'
247 ALCARECOTkAlBeamHaloTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
248 #names and desigantions
249  TrackProducer = 'ALCARECO'+__selectionName,
250  AlgoName = 'ALCARECO'+__selectionName,
251  FolderName = "AlCaReco/"+__selectionName,
252  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot"
253 )
254 
255 # no BeamHalo HLT bits yet
256 #from Alignment.CommonAlignmentProducer.ALCARECOTkAlBeamHalo_cff import ALCARECOTkAlBeamHaloHLT
257 #ALCARECOTkAlBeamHaloHLTDQM = hltMonBitSummary.clone(
258 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
259 # histLabel = __selectionName,
260 # HLTPaths = ["HLT_.*L1.*"],
261 # eventSetupPathsKey = ALCARECOTkAlBeamHaloHLT.eventSetupPathsKey.value()
262 #)
263 
264 ALCARECOTkAlBeamHaloDQM = cms.Sequence( ALCARECOTkAlBeamHaloTrackingDQM
265 #+ ALCARECOTkAlBeamHaloHLTDQM
266 )
267 
268 ########################################################
269 #############--- TkAlMinBias ---#######################
270 ########################################################
271 __selectionName = 'TkAlMinBias'
272 ALCARECOTkAlMinBiasTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
273 #names and desigantions
274  TrackProducer = 'ALCARECO'+__selectionName,
275  AlgoName = 'ALCARECO'+__selectionName,
276  FolderName = "AlCaReco/"+__selectionName,
277  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
278 # margins and settings
279  TkSizeBin = 71,
280  TkSizeMin = -0.5,
281  TkSizeMax = 70.5,
282  TrackPtMax = 30
283 )
284 
285 ALCARECOTkAlMinBiasTkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
286 #names and desigantions
287  TrackProducer = 'ALCARECO'+__selectionName,
288  AlgoName = 'ALCARECO'+__selectionName,
289  FolderName = "AlCaReco/"+__selectionName,
290 # margins and settings
291  fillInvariantMass = False,
292  TrackPtMax = 30,
293  SumChargeBin = 101,
294  SumChargeMin = -50.5,
295  SumChargeMax = 50.5
296 )
297 
298 from Alignment.CommonAlignmentProducer.ALCARECOTkAlMinBias_cff import ALCARECOTkAlMinBiasNOTHLT
299 #ALCARECOTkAlMinBiasNOTHLTDQM = hltMonBitSummary.clone(
300 # directory = "AlCaReco/"+__selectionName+"/HLTSummaryNOT",
301 # histLabel = __selectionName,
302 # HLTPaths = ["HLT_.*L1.*"],
303 # eventSetupPathsKey = ALCARECOTkAlMinBiasNOTHLT.eventSetupPathsKey.value()
304 #)
305 
306 from Alignment.CommonAlignmentProducer.ALCARECOTkAlMinBias_cff import ALCARECOTkAlMinBiasHLT
307 #ALCARECOTkAlMinBiasHLTDQM = hltMonBitSummary.clone(
308 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
309 # histLabel = __selectionName,
310 # HLTPaths = [],
311 # eventSetupPathsKey = ALCARECOTkAlMinBiasHLT.eventSetupPathsKey.value()
312 #)
313 
314 #ALCARECOTkAlMinBiasDQM = cms.Sequence( ALCARECOTkAlMinBiasTrackingDQM + ALCARECOTkAlMinBiasTkAlDQM+ALCARECOTkAlMinBiasHLTDQM+ALCARECOTkAlMinBiasNOTHLTDQM)
315 ALCARECOTkAlMinBiasDQM = cms.Sequence( ALCARECOTkAlMinBiasTrackingDQM + ALCARECOTkAlMinBiasTkAlDQM )
316 
317 
318 ########################################################
319 #############--- TkAlMinBiasHI ---#####################
320 ########################################################
321 __selectionName = 'TkAlMinBiasHI'
322 ALCARECOTkAlMinBiasHITrackingDQM = ALCARECOTkAlMinBiasTrackingDQM.clone(
323 #names and desigantions
324  TrackProducer = 'ALCARECO'+__selectionName,
325  AlgoName = 'ALCARECO'+__selectionName,
326  FolderName = "AlCaReco/"+__selectionName,
327  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
328  primaryVertex = "hiSelectedVertex",
329  allTrackProducer = "hiGeneralTracks",
330 # margins and settings
331  TkSizeBin = 71,
332  TkSizeMin = -0.5,
333  TkSizeMax = 70.5,
334  TrackPtMax = 30
335 )
336 
337 ALCARECOTkAlMinBiasHITkAlDQM = ALCARECOTkAlMinBiasTkAlDQM.clone(
338 #names and desigantions
339  TrackProducer = 'ALCARECO'+__selectionName,
340  ReferenceTrackProducer = 'hiGeneralTracks',
341  CaloJetCollection = 'iterativeConePu5CaloJets',
342  AlgoName = 'ALCARECO'+__selectionName,
343  FolderName = "AlCaReco/"+__selectionName,
344 # margins and settings
345  fillInvariantMass = False,
346  TrackPtMax = 30,
347  SumChargeBin = 101,
348  SumChargeMin = -50.5,
349  SumChargeMax = 50.5
350 )
351 
352 from Alignment.CommonAlignmentProducer.ALCARECOTkAlMinBiasHI_cff import ALCARECOTkAlMinBiasHIHLT
353 #ALCARECOTkAlMinBiasHIHLTDQM = hltMonBitSummary.clone(
354 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
355 # histLabel = __selectionName,
356 # HLTPaths = [],
357 # eventSetupPathsKey = ALCARECOTkAlMinBiasHIHLT.eventSetupPathsKey.value()
358 # )
359 
360 #ALCARECOTkAlMinBiasHIDQM = cms.Sequence( ALCARECOTkAlMinBiasHITrackingDQM + ALCARECOTkAlMinBiasHITkAlDQM+ALCARECOTkAlMinBiasHIHLTDQM)
361 ALCARECOTkAlMinBiasHIDQM = cms.Sequence( ALCARECOTkAlMinBiasHITrackingDQM + ALCARECOTkAlMinBiasHITkAlDQM )
362 
363 
364 #############################################################
365 #############--- TkAlMuonIsolated ---#######################
366 #############################################################
367 __selectionName = 'TkAlMuonIsolated'
368 ALCARECOTkAlMuonIsolatedTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
369 #names and desigantions
370  TrackProducer = 'ALCARECO'+__selectionName,
371  AlgoName = 'ALCARECO'+__selectionName,
372  FolderName = "AlCaReco/"+__selectionName,
373  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
374 # margins and settings
375  TkSizeBin = 16,
376  TkSizeMin = -0.5,
377  TkSizeMax = 15.5
378 )
379 ALCARECOTkAlMuonIsolatedTkAlDQM = ALCARECOTkAlMinBiasTkAlDQM.clone(
380  TrackProducer = 'ALCARECO'+__selectionName,
381  AlgoName = 'ALCARECO'+__selectionName,
382  FolderName = "AlCaReco/"+__selectionName
383 )
384 
385 from Alignment.CommonAlignmentProducer.ALCARECOTkAlMuonIsolated_cff import ALCARECOTkAlMuonIsolatedHLT
386 #ALCARECOTkAlMuonIsolatedHLTDQM = hltMonBitSummary.clone(
387 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
388 # histLabel = __selectionName,
389 # HLTPaths = ["HLT_.*L1.*"],
390 # eventSetupPathsKey = ALCARECOTkAlMuonIsolatedHLT.eventSetupPathsKey.value()
391 #)
392 
393 #ALCARECOTkAlMuonIsolatedDQM = cms.Sequence( ALCARECOTkAlMuonIsolatedTrackingDQM + ALCARECOTkAlMuonIsolatedTkAlDQM+ALCARECOTkAlMuonIsolatedHLTDQM)
394 ALCARECOTkAlMuonIsolatedDQM = cms.Sequence( ALCARECOTkAlMuonIsolatedTrackingDQM + ALCARECOTkAlMuonIsolatedTkAlDQM )
395 
396 #############################################################
397 #############--- TkAlMuonIsolatedHI ---#####################
398 #############################################################
399 __selectionName = 'TkAlMuonIsolatedHI'
400 ALCARECOTkAlMuonIsolatedHITrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
401 #names and desigantions
402  TrackProducer = 'ALCARECO'+__selectionName,
403  AlgoName = 'ALCARECO'+__selectionName,
404  FolderName = "AlCaReco/"+__selectionName,
405  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
406  allTrackProducer = cms.InputTag( "hiGeneralTracks" ),
407  primaryVertex = cms.InputTag('hiSelectedVertex'),
408 # margins and settings
409  TkSizeBin = 16,
410  TkSizeMin = -0.5,
411  TkSizeMax = 15.5
412 )
413 ALCARECOTkAlMuonIsolatedHITkAlDQM = ALCARECOTkAlMinBiasTkAlDQM.clone(
414  TrackProducer = 'ALCARECO'+__selectionName,
415  AlgoName = 'ALCARECO'+__selectionName,
416  FolderName = "AlCaReco/"+__selectionName,
417  ReferenceTrackProducer= cms.InputTag( "hiGeneralTracks" ),
418  CaloJetCollection= cms.InputTag( "iterativeConePu5CaloJets" )
419 )
420 
421 from Alignment.CommonAlignmentProducer.ALCARECOTkAlMuonIsolatedHI_cff import ALCARECOTkAlMuonIsolatedHIHLT
422 #ALCARECOTkAlMuonIsolatedHIHLTDQM = hltMonBitSummary.clone(
423 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
424 # histLabel = __selectionName,
425 # HLTPaths = ["HLT_.*L1.*"],
426 # eventSetupPathsKey = ALCARECOTkAlMuonIsolatedHIHLT.eventSetupPathsKey.value()
427 #)
428 
429 #ALCARECOTkAlMuonIsolatedHIDQM = cms.Sequence( ALCARECOTkAlMuonIsolatedHITrackingDQM + ALCARECOTkAlMuonIsolatedHITkAlDQM+ALCARECOTkAlMuonIsolatedHIHLTDQM)
430 ALCARECOTkAlMuonIsolatedHIDQM = cms.Sequence( ALCARECOTkAlMuonIsolatedHITrackingDQM + ALCARECOTkAlMuonIsolatedHITkAlDQM )
431 
432 ####################################################
433 #############--- TkAlLAS ---#######################
434 ####################################################
435 import DQMOffline.Alignment.LaserAlignmentT0ProducerDQM_cfi
436 __selectionName = 'TkAlLAS'
437 ALCARECOTkAlLASDigiDQM= DQMOffline.Alignment.LaserAlignmentT0ProducerDQM_cfi.LaserAlignmentT0ProducerDQM.clone(
438  # names and designation
439  FolderName = "AlCaReco/"+__selectionName,
440  # settings
441  LowerAdcThreshold = 15,
442  UpperAdcThreshold = 220,
443  DigiProducerList = cms.VPSet(
444  cms.PSet(
445  DigiLabel = cms.string( 'ZeroSuppressed' ),
446  DigiType = cms.string( 'Processed' ),
447  DigiProducer = cms.string( 'ALCARECOTkAlLAST0Producer' )
448  )
449  )
450 )
451 ALCARECOTkAlLASDQM = cms.Sequence( ALCARECOTkAlLASDigiDQM )
452 
453 ##################################################################
454 ###### DQM modules for cosmic data taking during collisions ######
455 ##################################################################
456 ###############################
457 ### TkAlCosmicsInCollisions ###
458 ###############################
459 __selectionName = 'TkAlCosmicsInCollisions'
460 ALCARECOTkAlCosmicsInCollisionsTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
461 #names and desigantions
462  TrackProducer = 'ALCARECO'+__selectionName,
463  AlgoName = 'ALCARECO'+__selectionName,
464  FolderName = 'AlCaReco/TkAlCosmicsInCollisions',
465  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
466 # margins and settings
467  TrackPtBin = 500,
468  TrackPtMin = 0,
469  TrackPtMax = 500
470 )
471 ALCARECOTkAlCosmicsInCollisionsTkAlDQM = ALCARECOTkAlMinBiasTkAlDQM.clone(
472 #names and desigantions
473  FolderName = 'AlCaReco/TkAlCosmicsInCollisions',
474  TrackProducer = 'ALCARECO'+__selectionName,
475  ReferenceTrackProducer = 'regionalCosmicTracks',
476  AlgoName = 'ALCARECO'+__selectionName
477 )
478 from Alignment.CommonAlignmentProducer.ALCARECOTkAlCosmicsInCollisions_cff import ALCARECOTkAlCosmicsInCollisionsHLT
479 #ALCARECOTkAlCosmicsInCollisionsHLTDQM = hltMonBitSummary.clone(
480 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
481 # histLabel = __selectionName,
482 # HLTPaths = ["HLT_.*L1.*"],
483 # eventSetupPathsKey = ALCARECOTkAlCosmicsInCollisionsHLT.eventSetupPathsKey.value()
484 #)
485 #ALCARECOTkAlCosmicsInCollisionsDQM = cms.Sequence( ALCARECOTkAlCosmicsInCollisionsTrackingDQM + ALCARECOTkAlCosmicsInCollisionsTkAlDQM +ALCARECOTkAlCosmicsInCollisionsHLTDQM)
486 ALCARECOTkAlCosmicsInCollisionsDQM = cms.Sequence( ALCARECOTkAlCosmicsInCollisionsTrackingDQM + ALCARECOTkAlCosmicsInCollisionsTkAlDQM )
487 
488 
489 ################################################
490 ###### DQM modules for cosmic data taking ######
491 ################################################
492 ########################
493 ### TkAlCosmicsCTF0T ###
494 ########################
495 __selectionName = 'TkAlCosmicsCTF0T'
496 ALCARECOTkAlCosmicsCTF0TTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
497 #names and desigantions
498  TrackProducer = 'ALCARECO'+__selectionName,
499  AlgoName = 'ALCARECO'+__selectionName,
500  FolderName = 'AlCaReco/TkAlCosmics0T',
501  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
502 # margins and settings
503  TrackPtBin = 500,
504  TrackPtMin = 0,
505  TrackPtMax = 500
506 )
507 ALCARECOTkAlCosmicsCTF0TTkAlDQM = ALCARECOTkAlMinBiasTkAlDQM.clone(
508 #names and desigantions
509  TrackProducer = 'ALCARECO'+__selectionName,
510  ReferenceTrackProducer = 'ctfWithMaterialTracksP5',
511  AlgoName = 'ALCARECO'+__selectionName,
512  FolderName = 'AlCaReco/TkAlCosmics0T',
513 # margins and settings
514  useSignedR = True
515 )
516 from Alignment.CommonAlignmentProducer.ALCARECOTkAlCosmics0THLT_cff import ALCARECOTkAlCosmics0THLT
517 #ALCARECOTkAlCosmicsCTF0THLTDQM = hltMonBitSummary.clone(
518 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
519 # histLabel = __selectionName,
520 # HLTPaths = ["HLT_.*L1.*"],
521 # eventSetupPathsKey = ALCARECOTkAlCosmics0THLT.eventSetupPathsKey.value()
522 #)
523 #ALCARECOTkAlCosmicsCTF0TDQM = cms.Sequence( ALCARECOTkAlCosmicsCTF0TTrackingDQM + ALCARECOTkAlCosmicsCTF0TTkAlDQM+ALCARECOTkAlCosmicsCTF0THLTDQM)
524 ALCARECOTkAlCosmicsCTF0TDQM = cms.Sequence( ALCARECOTkAlCosmicsCTF0TTrackingDQM + ALCARECOTkAlCosmicsCTF0TTkAlDQM )
525 
526 
527 #############################
528 ### TkAlCosmicsCosmicTF0T ###
529 #############################
530 __selectionName = 'TkAlCosmicsCosmicTF0T'
531 ALCARECOTkAlCosmicsCosmicTF0TTrackingDQM = ALCARECOTkAlCosmicsCTF0TTrackingDQM.clone(
532 #names and desigantions
533  TrackProducer = 'ALCARECO'+__selectionName,
534  AlgoName = 'ALCARECO'+__selectionName,
535  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
536 )
537 ALCARECOTkAlCosmicsCosmicTF0TTkAlDQM = ALCARECOTkAlCosmicsCTF0TTkAlDQM.clone(
538 #names and desigantions
539  TrackProducer = 'ALCARECO'+__selectionName,
540  ReferenceTrackProducer = 'cosmictrackfinderP5',
541  AlgoName = 'ALCARECO'+__selectionName
542 )
543 from Alignment.CommonAlignmentProducer.ALCARECOTkAlCosmics0THLT_cff import ALCARECOTkAlCosmics0THLT
544 #ALCARECOTkAlCosmicsCosmicTF0THLTDQM = hltMonBitSummary.clone(
545 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
546 # histLabel = __selectionName,
547 # HLTPaths = ["HLT_.*L1.*"],
548 # eventSetupPathsKey = ALCARECOTkAlCosmics0THLT.eventSetupPathsKey.value()
549 #)
550 #ALCARECOTkAlCosmicsCosmicTF0TDQM = cms.Sequence( ALCARECOTkAlCosmicsCosmicTF0TTrackingDQM + ALCARECOTkAlCosmicsCosmicTF0TTkAlDQM +ALCARECOTkAlCosmicsCosmicTF0THLTDQM)
551 ALCARECOTkAlCosmicsCosmicTF0TDQM = cms.Sequence( ALCARECOTkAlCosmicsCosmicTF0TTrackingDQM + ALCARECOTkAlCosmicsCosmicTF0TTkAlDQM )
552 
553 
554 #############################
555 ### TkAlCosmicsRegional0T ###
556 #############################
557 __selectionName = 'TkAlCosmicsRegional0T'
558 ALCARECOTkAlCosmicsRegional0TTrackingDQM = ALCARECOTkAlCosmicsCTF0TTrackingDQM.clone(
559 #names and desigantions
560  TrackProducer = 'ALCARECO'+__selectionName,
561  AlgoName = 'ALCARECO'+__selectionName,
562  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
563 )
564 ALCARECOTkAlCosmicsRegional0TTkAlDQM = ALCARECOTkAlCosmicsCTF0TTkAlDQM.clone(
565 #names and desigantions
566  TrackProducer = 'ALCARECO'+__selectionName,
567  ReferenceTrackProducer = 'cosmictrackfinderP5',
568  AlgoName = 'ALCARECO'+__selectionName
569 )
570 from Alignment.CommonAlignmentProducer.ALCARECOTkAlCosmics0THLT_cff import ALCARECOTkAlCosmics0THLT
571 #ALCARECOTkAlCosmicsRegional0THLTDQM = hltMonBitSummary.clone(
572 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
573 # histLabel = __selectionName,
574 # HLTPaths = ["HLT_.*L1.*"],
575 # eventSetupPathsKey = ALCARECOTkAlCosmics0THLT.eventSetupPathsKey.value()
576 #)
577 #ALCARECOTkAlCosmicsRegional0TDQM = cms.Sequence( ALCARECOTkAlCosmicsRegional0TTrackingDQM + ALCARECOTkAlCosmicsRegional0TTkAlDQM +ALCARECOTkAlCosmicsRegional0THLTDQM)
578 ALCARECOTkAlCosmicsRegional0TDQM = cms.Sequence( ALCARECOTkAlCosmicsRegional0TTrackingDQM + ALCARECOTkAlCosmicsRegional0TTkAlDQM )
579 
580 
581 ##########################################################################
582 ###### DQM modules for cosmic data taking with momentum measurement ######
583 ##########################################################################
584 ######################
585 ### TkAlCosmicsCTF ###
586 ######################
587 __selectionName = 'TkAlCosmicsCTF'
588 ALCARECOTkAlCosmicsCTFTrackingDQM = ALCARECOTkAlCosmicsCTF0TTrackingDQM.clone(
589 #names and desigantions
590  FolderName = 'AlCaReco/TkAlCosmics',
591  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
592  TrackProducer = 'ALCARECO'+__selectionName,
593  AlgoName = 'ALCARECO'+__selectionName
594 )
595 ALCARECOTkAlCosmicsCTFTkAlDQM = ALCARECOTkAlCosmicsCTF0TTkAlDQM.clone(
596 #names and desigantions
597  FolderName = 'AlCaReco/TkAlCosmics',
598  TrackProducer = 'ALCARECO'+__selectionName,
599  ReferenceTrackProducer = ALCARECOTkAlCosmicsCTF0TTkAlDQM.ReferenceTrackProducer,
600  AlgoName = 'ALCARECO'+__selectionName
601 )
602 from Alignment.CommonAlignmentProducer.ALCARECOTkAlCosmicsHLT_cff import ALCARECOTkAlCosmicsHLT
603 #ALCARECOTkAlCosmicsCTFHLTDQM = hltMonBitSummary.clone(
604 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
605 # histLabel = __selectionName,
606 # HLTPaths = ["HLT_.*L1.*"],
607 # eventSetupPathsKey = ALCARECOTkAlCosmicsHLT.eventSetupPathsKey.value()
608 #)
609 #ALCARECOTkAlCosmicsCTFDQM = cms.Sequence( ALCARECOTkAlCosmicsCTFTrackingDQM + ALCARECOTkAlCosmicsCTFTkAlDQM +ALCARECOTkAlCosmicsCTFHLTDQM)
610 ALCARECOTkAlCosmicsCTFDQM = cms.Sequence( ALCARECOTkAlCosmicsCTFTrackingDQM + ALCARECOTkAlCosmicsCTFTkAlDQM )
611 
612 
613 ###########################
614 ### TkAlCosmicsCosmicTF ###
615 ###########################
616 __selectionName = 'TkAlCosmicsCosmicTF'
617 ALCARECOTkAlCosmicsCosmicTFTrackingDQM = ALCARECOTkAlCosmicsCTFTrackingDQM.clone(
618 #names and desigantions
619  TrackProducer = 'ALCARECO'+__selectionName,
620  AlgoName = 'ALCARECO'+__selectionName,
621  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot"
622 )
623 ALCARECOTkAlCosmicsCosmicTFTkAlDQM = ALCARECOTkAlCosmicsCosmicTF0TTkAlDQM.clone(
624 #names and desigantions
625  TrackProducer = 'ALCARECO'+__selectionName,
626  ReferenceTrackProducer = ALCARECOTkAlCosmicsCosmicTF0TTkAlDQM.ReferenceTrackProducer,
627  AlgoName = 'ALCARECO'+__selectionName
628 )
629 from Alignment.CommonAlignmentProducer.ALCARECOTkAlCosmicsHLT_cff import ALCARECOTkAlCosmicsHLT
630 #ALCARECOTkAlCosmicsCosmicTFHLTDQM = hltMonBitSummary.clone(
631 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
632 # histLabel = __selectionName,
633 # HLTPaths = ["HLT_.*L1.*"],
634 # eventSetupPathsKey = ALCARECOTkAlCosmicsHLT.eventSetupPathsKey.value()
635 #)
636 #ALCARECOTkAlCosmicsCosmicTFDQM = cms.Sequence( ALCARECOTkAlCosmicsCosmicTFTrackingDQM + ALCARECOTkAlCosmicsCosmicTFTkAlDQM+ALCARECOTkAlCosmicsCosmicTFHLTDQM)
637 ALCARECOTkAlCosmicsCosmicTFDQM = cms.Sequence( ALCARECOTkAlCosmicsCosmicTFTrackingDQM + ALCARECOTkAlCosmicsCosmicTFTkAlDQM )
638 
639 
640 ###########################
641 ### TkAlCosmicsRegional ###
642 ###########################
643 __selectionName = 'TkAlCosmicsRegional'
644 ALCARECOTkAlCosmicsRegionalTrackingDQM = ALCARECOTkAlCosmicsCTFTrackingDQM.clone(
645 #names and desigantions
646  TrackProducer = 'ALCARECO'+__selectionName,
647  AlgoName = 'ALCARECO'+__selectionName,
648  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot"
649 )
650 ALCARECOTkAlCosmicsRegionalTkAlDQM = ALCARECOTkAlCosmicsRegional0TTkAlDQM.clone(
651 #names and desigantions
652  TrackProducer = 'ALCARECO'+__selectionName,
653  ReferenceTrackProducer = ALCARECOTkAlCosmicsRegional0TTkAlDQM.ReferenceTrackProducer,
654  AlgoName = 'ALCARECO'+__selectionName
655 )
656 from Alignment.CommonAlignmentProducer.ALCARECOTkAlCosmicsHLT_cff import ALCARECOTkAlCosmicsHLT
657 #ALCARECOTkAlCosmicsRegionalHLTDQM = hltMonBitSummary.clone(
658 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
659 # histLabel = __selectionName,
660 # HLTPaths = ["HLT_.*L1.*"],
661 # eventSetupPathsKey = ALCARECOTkAlCosmicsHLT.eventSetupPathsKey.value()
662 #)
663 #ALCARECOTkAlCosmicsRegionalDQM = cms.Sequence( ALCARECOTkAlCosmicsRegionalTrackingDQM + ALCARECOTkAlCosmicsRegionalTkAlDQM+ALCARECOTkAlCosmicsRegionalHLTDQM)
664 ALCARECOTkAlCosmicsRegionalDQM = cms.Sequence( ALCARECOTkAlCosmicsRegionalTrackingDQM + ALCARECOTkAlCosmicsRegionalTkAlDQM )
665 
Tracker Alignment.