test
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 #############--- TkAlZMuMuPA ---########################
96 #########################################################
97 __selectionName = 'TkAlZMuMuPA'
98 ALCARECOTkAlZMuMuPATrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
99 #names and desigantions
100  TrackProducer = 'ALCARECO'+__selectionName,
101  AlgoName = 'ALCARECO'+__selectionName,
102  FolderName = "AlCaReco/"+__selectionName,
103  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot"
104 )
105 
106 ALCARECOTkAlZMuMuPATkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
107 #names and desigantions
108  TrackProducer = 'ALCARECO'+__selectionName,
109  AlgoName = 'ALCARECO'+__selectionName,
110  FolderName = "AlCaReco/"+__selectionName
111 )
112 
113 from Alignment.CommonAlignmentProducer.ALCARECOTkAlZMuMuPA_cff import ALCARECOTkAlZMuMuPAHLT
114 #ALCARECOTkAlZMuMuHLTDQM = hltMonBitSummary.clone(
115 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
116 # histLabel = __selectionName,
117 # HLTPaths = ["HLT_.*Mu.*"],
118 # eventSetupPathsKey = ALCARECOTkAlZMuMuHLT.eventSetupPathsKey.value()
119 #)
120 
121 #ALCARECOTkAlZMuMuDQM = cms.Sequence( ALCARECOTkAlZMuMuTrackingDQM + ALCARECOTkAlZMuMuTkAlDQM + ALCARECOTkAlZMuMuHLTDQM)
122 ALCARECOTkAlZMuMuPADQM = cms.Sequence( ALCARECOTkAlZMuMuPATrackingDQM + ALCARECOTkAlZMuMuPATkAlDQM )
123 
124 #########################################################
125 #############--- TkAlJpsiMuMu ---#######################
126 #########################################################
127 __selectionName = 'TkAlJpsiMuMu'
128 ALCARECOTkAlJpsiMuMuTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
129 #names and desigantions
130  TrackProducer = 'ALCARECO'+__selectionName,
131  AlgoName = 'ALCARECO'+__selectionName,
132  FolderName = "AlCaReco/"+__selectionName,
133  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
134 # margins and settings
135  TrackPtMax = 50
136 )
137 ALCARECOTkAlJpsiMuMuTkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
138 #names and desigantions
139  TrackProducer = 'ALCARECO'+__selectionName,
140  AlgoName = 'ALCARECO'+__selectionName,
141  FolderName = "AlCaReco/"+__selectionName,
142 # margins and settings
143  MassMin = 2.5,
144  MassMax = 4.0,
145  TrackPtMax = 50
146 )
147 
148 from Alignment.CommonAlignmentProducer.ALCARECOTkAlJpsiMuMu_cff import ALCARECOTkAlJpsiMuMuHLT
149 #ALCARECOTkAlJpsiMuMuHLTDQM = hltMonBitSummary.clone(
150 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
151 # histLabel = __selectionName,
152 # HLTPaths = ["HLT_.*Mu.*"],
153 # eventSetupPathsKey = ALCARECOTkAlJpsiMuMuHLT.eventSetupPathsKey.value()
154 #)
155 
156 #ALCARECOTkAlJpsiMuMuDQM = cms.Sequence( ALCARECOTkAlJpsiMuMuTrackingDQM + ALCARECOTkAlJpsiMuMuTkAlDQM + ALCARECOTkAlJpsiMuMuHLTDQM)
157 ALCARECOTkAlJpsiMuMuDQM = cms.Sequence( ALCARECOTkAlJpsiMuMuTrackingDQM + ALCARECOTkAlJpsiMuMuTkAlDQM )
158 
159 #########################################################
160 #############--- TkAlJpsiMuMuHI ---#####################
161 #########################################################
162 __selectionName = 'TkAlJpsiMuMuHI'
163 ALCARECOTkAlJpsiMuMuHITrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
164 #names and desigantions
165  TrackProducer = 'ALCARECO'+__selectionName,
166  AlgoName = 'ALCARECO'+__selectionName,
167  FolderName = "AlCaReco/"+__selectionName,
168  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
169  allTrackProducer = cms.InputTag( "hiGeneralTracks" ),
170  primaryVertex = cms.InputTag('hiSelectedVertex'),
171 # margins and settings
172  TrackPtMax = 50
173 )
174 
175 ALCARECOTkAlJpsiMuMuHITkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
176 #names and desigantions
177  TrackProducer = 'ALCARECO'+__selectionName,
178  AlgoName = 'ALCARECO'+__selectionName,
179  FolderName = "AlCaReco/"+__selectionName,
180  ReferenceTrackProducer= cms.InputTag( "hiGeneralTracks" ),
181  CaloJetCollection= cms.InputTag( "iterativeConePu5CaloJets" ),
182 # margins and settings
183  MassMin = 2.5,
184  MassMax = 4.0,
185  TrackPtMax = 50
186 )
187 
188 from Alignment.CommonAlignmentProducer.ALCARECOTkAlJpsiMuMuHI_cff import ALCARECOTkAlJpsiMuMuHIHLT
189 #ALCARECOTkAlJpsiMuMuHLTDQM = hltMonBitSummary.clone(
190 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
191 # histLabel = __selectionName,
192 # HLTPaths = ["HLT_.*Mu.*"],
193 # eventSetupPathsKey = ALCARECOTkAlJpsiMuMuHLT.eventSetupPathsKey.value()
194 #)
195 
196 #ALCARECOTkAlJpsiMuMuDQM = cms.Sequence( ALCARECOTkAlJpsiMuMuTrackingDQM + ALCARECOTkAlJpsiMuMuTkAlDQM + ALCARECOTkAlJpsiMuMuHLTDQM)
197 ALCARECOTkAlJpsiMuMuHIDQM = cms.Sequence( ALCARECOTkAlJpsiMuMuHITrackingDQM + ALCARECOTkAlJpsiMuMuHITkAlDQM )
198 
199 ############################################################
200 #############--- TkAlUpsilonMuMu ---#######################
201 ############################################################
202 __selectionName = 'TkAlUpsilonMuMu'
203 ALCARECOTkAlUpsilonMuMuTrackingDQM = ALCARECOTkAlJpsiMuMuTrackingDQM.clone(
204 #names and desigantions
205  TrackProducer = 'ALCARECO'+__selectionName,
206  AlgoName = 'ALCARECO'+__selectionName,
207  FolderName = "AlCaReco/"+__selectionName,
208  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot"
209 )
210 
211 ALCARECOTkAlUpsilonMuMuTkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
212 #names and desigantions
213  TrackProducer = 'ALCARECO'+__selectionName,
214  AlgoName = 'ALCARECO'+__selectionName,
215  FolderName = "AlCaReco/"+__selectionName,
216 # margins and settings
217  MassMin = 8.,
218  MassMax = 10,
219  TrackPtMax = 50
220 )
221 
222 from Alignment.CommonAlignmentProducer.ALCARECOTkAlUpsilonMuMu_cff import ALCARECOTkAlUpsilonMuMuHLT
223 #ALCARECOTkAlUpsilonMuMuHLTDQM = hltMonBitSummary.clone(
224 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
225 # histLabel = __selectionName,
226 # HLTPaths = ["HLT_.*Mu.*"],
227 # eventSetupPathsKey = ALCARECOTkAlUpsilonMuMuHLT.eventSetupPathsKey.value()
228 #)
229 
230 #ALCARECOTkAlUpsilonMuMuDQM = cms.Sequence( ALCARECOTkAlUpsilonMuMuTrackingDQM + ALCARECOTkAlUpsilonMuMuTkAlDQM + ALCARECOTkAlUpsilonMuMuHLTDQM)
231 ALCARECOTkAlUpsilonMuMuDQM = cms.Sequence( ALCARECOTkAlUpsilonMuMuTrackingDQM + ALCARECOTkAlUpsilonMuMuTkAlDQM )
232 
233 ############################################################
234 #############--- TkAlUpsilonMuMuHI ---#####################
235 ############################################################
236 __selectionName = 'TkAlUpsilonMuMuHI'
237 ALCARECOTkAlUpsilonMuMuHITrackingDQM = ALCARECOTkAlJpsiMuMuHITrackingDQM.clone(
238 #names and desigantions
239  TrackProducer = 'ALCARECO'+__selectionName,
240  AlgoName = 'ALCARECO'+__selectionName,
241  FolderName = "AlCaReco/"+__selectionName,
242  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
243  allTrackProducer = cms.InputTag( "hiGeneralTracks" ),
244  primaryVertex = cms.InputTag('hiSelectedVertex'),
245 # margins and settings
246  TrackPtMax = 50
247 )
248 
249 ALCARECOTkAlUpsilonMuMuHITkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
250 #names and desigantions
251  TrackProducer = 'ALCARECO'+__selectionName,
252  AlgoName = 'ALCARECO'+__selectionName,
253  FolderName = "AlCaReco/"+__selectionName,
254  ReferenceTrackProducer= cms.InputTag( "hiGeneralTracks" ),
255  CaloJetCollection= cms.InputTag( "iterativeConePu5CaloJets" ),
256 # margins and settings
257  MassMin = 8.,
258  MassMax = 10,
259  TrackPtMax = 50
260 )
261 
262 from Alignment.CommonAlignmentProducer.ALCARECOTkAlUpsilonMuMuHI_cff import ALCARECOTkAlUpsilonMuMuHIHLT
263 #ALCARECOTkAlUpsilonMuMuHLTDQM = hltMonBitSummary.clone(
264 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
265 # histLabel = __selectionName,
266 # HLTPaths = ["HLT_.*Mu.*"],
267 # eventSetupPathsKey = ALCARECOTkAlUpsilonMuMuHLT.eventSetupPathsKey.value()
268 #)
269 
270 #ALCARECOTkAlUpsilonMuMuDQM = cms.Sequence( ALCARECOTkAlUpsilonMuMuTrackingDQM + ALCARECOTkAlUpsilonMuMuTkAlDQM + ALCARECOTkAlUpsilonMuMuHLTDQM)
271 ALCARECOTkAlUpsilonMuMuHIDQM = cms.Sequence( ALCARECOTkAlUpsilonMuMuHITrackingDQM + ALCARECOTkAlUpsilonMuMuHITkAlDQM )
272 
273 ############################################################
274 #############--- TkAlUpsilonMuMuPA ---#####################
275 ############################################################
276 __selectionName = 'TkAlUpsilonMuMuPA'
277 ALCARECOTkAlUpsilonMuMuPATrackingDQM = ALCARECOTkAlUpsilonMuMuTrackingDQM.clone(
278 #names and desigantions
279  TrackProducer = 'ALCARECO'+__selectionName,
280  AlgoName = 'ALCARECO'+__selectionName,
281  FolderName = "AlCaReco/"+__selectionName,
282  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
283 # margins and settings
284  TrackPtMax = 50
285 )
286 
287 ALCARECOTkAlUpsilonMuMuPATkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
288 #names and desigantions
289  TrackProducer = 'ALCARECO'+__selectionName,
290  AlgoName = 'ALCARECO'+__selectionName,
291  FolderName = "AlCaReco/"+__selectionName,
292 # margins and settings
293  MassMin = 8.,
294  MassMax = 10,
295  TrackPtMax = 50
296 )
297 
298 from Alignment.CommonAlignmentProducer.ALCARECOTkAlUpsilonMuMuPA_cff import ALCARECOTkAlUpsilonMuMuPAHLT
299 #ALCARECOTkAlUpsilonMuMuHLTDQM = hltMonBitSummary.clone(
300 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
301 # histLabel = __selectionName,
302 # HLTPaths = ["HLT_.*Mu.*"],
303 # eventSetupPathsKey = ALCARECOTkAlUpsilonMuMuHLT.eventSetupPathsKey.value()
304 #)
305 
306 #ALCARECOTkAlUpsilonMuMuDQM = cms.Sequence( ALCARECOTkAlUpsilonMuMuTrackingDQM + ALCARECOTkAlUpsilonMuMuTkAlDQM + ALCARECOTkAlUpsilonMuMuHLTDQM)
307 ALCARECOTkAlUpsilonMuMuPADQM = cms.Sequence( ALCARECOTkAlUpsilonMuMuPATrackingDQM + ALCARECOTkAlUpsilonMuMuPATkAlDQM )
308 
309 #########################################################
310 #############--- TkAlBeamHalo ---#######################
311 #########################################################
312 __selectionName = 'TkAlBeamHalo'
313 ALCARECOTkAlBeamHaloTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
314 #names and desigantions
315  TrackProducer = 'ALCARECO'+__selectionName,
316  AlgoName = 'ALCARECO'+__selectionName,
317  FolderName = "AlCaReco/"+__selectionName,
318  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot"
319 )
320 
321 # no BeamHalo HLT bits yet
322 #from Alignment.CommonAlignmentProducer.ALCARECOTkAlBeamHalo_cff import ALCARECOTkAlBeamHaloHLT
323 #ALCARECOTkAlBeamHaloHLTDQM = hltMonBitSummary.clone(
324 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
325 # histLabel = __selectionName,
326 # HLTPaths = ["HLT_.*L1.*"],
327 # eventSetupPathsKey = ALCARECOTkAlBeamHaloHLT.eventSetupPathsKey.value()
328 #)
329 
330 ALCARECOTkAlBeamHaloDQM = cms.Sequence( ALCARECOTkAlBeamHaloTrackingDQM
331 #+ ALCARECOTkAlBeamHaloHLTDQM
332 )
333 
334 ########################################################
335 #############--- TkAlMinBias ---#######################
336 ########################################################
337 __selectionName = 'TkAlMinBias'
338 ALCARECOTkAlMinBiasTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
339 #names and desigantions
340  TrackProducer = 'ALCARECO'+__selectionName,
341  AlgoName = 'ALCARECO'+__selectionName,
342  FolderName = "AlCaReco/"+__selectionName,
343  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
344 # margins and settings
345  TkSizeBin = 71,
346  TkSizeMin = -0.5,
347  TkSizeMax = 70.5,
348  TrackPtMax = 30
349 )
350 
351 ALCARECOTkAlMinBiasTkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
352 #names and desigantions
353  TrackProducer = 'ALCARECO'+__selectionName,
354  AlgoName = 'ALCARECO'+__selectionName,
355  FolderName = "AlCaReco/"+__selectionName,
356 # margins and settings
357  fillInvariantMass = False,
358  TrackPtMax = 30,
359  SumChargeBin = 101,
360  SumChargeMin = -50.5,
361  SumChargeMax = 50.5
362 )
363 
364 from Alignment.CommonAlignmentProducer.ALCARECOTkAlMinBias_cff import ALCARECOTkAlMinBiasNOTHLT
365 #ALCARECOTkAlMinBiasNOTHLTDQM = hltMonBitSummary.clone(
366 # directory = "AlCaReco/"+__selectionName+"/HLTSummaryNOT",
367 # histLabel = __selectionName,
368 # HLTPaths = ["HLT_.*L1.*"],
369 # eventSetupPathsKey = ALCARECOTkAlMinBiasNOTHLT.eventSetupPathsKey.value()
370 #)
371 
372 from Alignment.CommonAlignmentProducer.ALCARECOTkAlMinBias_cff import ALCARECOTkAlMinBiasHLT
373 #ALCARECOTkAlMinBiasHLTDQM = hltMonBitSummary.clone(
374 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
375 # histLabel = __selectionName,
376 # HLTPaths = [],
377 # eventSetupPathsKey = ALCARECOTkAlMinBiasHLT.eventSetupPathsKey.value()
378 #)
379 
380 #ALCARECOTkAlMinBiasDQM = cms.Sequence( ALCARECOTkAlMinBiasTrackingDQM + ALCARECOTkAlMinBiasTkAlDQM+ALCARECOTkAlMinBiasHLTDQM+ALCARECOTkAlMinBiasNOTHLTDQM)
381 ALCARECOTkAlMinBiasDQM = cms.Sequence( ALCARECOTkAlMinBiasTrackingDQM + ALCARECOTkAlMinBiasTkAlDQM )
382 
383 
384 ########################################################
385 #############--- TkAlMinBiasHI ---#####################
386 ########################################################
387 __selectionName = 'TkAlMinBiasHI'
388 ALCARECOTkAlMinBiasHITrackingDQM = ALCARECOTkAlMinBiasTrackingDQM.clone(
389 #names and desigantions
390  TrackProducer = 'ALCARECO'+__selectionName,
391  AlgoName = 'ALCARECO'+__selectionName,
392  FolderName = "AlCaReco/"+__selectionName,
393  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
394  primaryVertex = "hiSelectedVertex",
395  allTrackProducer = "hiGeneralTracks",
396 # margins and settings
397  TkSizeBin = 71,
398  TkSizeMin = -0.5,
399  TkSizeMax = 70.5,
400  TrackPtMax = 30
401 )
402 
403 ALCARECOTkAlMinBiasHITkAlDQM = ALCARECOTkAlMinBiasTkAlDQM.clone(
404 #names and desigantions
405  TrackProducer = 'ALCARECO'+__selectionName,
406  ReferenceTrackProducer = 'hiGeneralTracks',
407  CaloJetCollection = 'iterativeConePu5CaloJets',
408  AlgoName = 'ALCARECO'+__selectionName,
409  FolderName = "AlCaReco/"+__selectionName,
410 # margins and settings
411  fillInvariantMass = False,
412  TrackPtMax = 30,
413  SumChargeBin = 101,
414  SumChargeMin = -50.5,
415  SumChargeMax = 50.5
416 )
417 
418 from Alignment.CommonAlignmentProducer.ALCARECOTkAlMinBiasHI_cff import ALCARECOTkAlMinBiasHIHLT
419 #ALCARECOTkAlMinBiasHIHLTDQM = hltMonBitSummary.clone(
420 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
421 # histLabel = __selectionName,
422 # HLTPaths = [],
423 # eventSetupPathsKey = ALCARECOTkAlMinBiasHIHLT.eventSetupPathsKey.value()
424 # )
425 
426 #ALCARECOTkAlMinBiasHIDQM = cms.Sequence( ALCARECOTkAlMinBiasHITrackingDQM + ALCARECOTkAlMinBiasHITkAlDQM+ALCARECOTkAlMinBiasHIHLTDQM)
427 ALCARECOTkAlMinBiasHIDQM = cms.Sequence( ALCARECOTkAlMinBiasHITrackingDQM + ALCARECOTkAlMinBiasHITkAlDQM )
428 
429 
430 #############################################################
431 #############--- TkAlMuonIsolated ---#######################
432 #############################################################
433 __selectionName = 'TkAlMuonIsolated'
434 ALCARECOTkAlMuonIsolatedTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
435 #names and desigantions
436  TrackProducer = 'ALCARECO'+__selectionName,
437  AlgoName = 'ALCARECO'+__selectionName,
438  FolderName = "AlCaReco/"+__selectionName,
439  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
440 # margins and settings
441  TkSizeBin = 16,
442  TkSizeMin = -0.5,
443  TkSizeMax = 15.5
444 )
445 ALCARECOTkAlMuonIsolatedTkAlDQM = ALCARECOTkAlMinBiasTkAlDQM.clone(
446  TrackProducer = 'ALCARECO'+__selectionName,
447  AlgoName = 'ALCARECO'+__selectionName,
448  FolderName = "AlCaReco/"+__selectionName
449 )
450 
451 from Alignment.CommonAlignmentProducer.ALCARECOTkAlMuonIsolated_cff import ALCARECOTkAlMuonIsolatedHLT
452 #ALCARECOTkAlMuonIsolatedHLTDQM = hltMonBitSummary.clone(
453 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
454 # histLabel = __selectionName,
455 # HLTPaths = ["HLT_.*L1.*"],
456 # eventSetupPathsKey = ALCARECOTkAlMuonIsolatedHLT.eventSetupPathsKey.value()
457 #)
458 
459 #ALCARECOTkAlMuonIsolatedDQM = cms.Sequence( ALCARECOTkAlMuonIsolatedTrackingDQM + ALCARECOTkAlMuonIsolatedTkAlDQM+ALCARECOTkAlMuonIsolatedHLTDQM)
460 ALCARECOTkAlMuonIsolatedDQM = cms.Sequence( ALCARECOTkAlMuonIsolatedTrackingDQM + ALCARECOTkAlMuonIsolatedTkAlDQM )
461 
462 #############################################################
463 #############--- TkAlMuonIsolatedHI ---#####################
464 #############################################################
465 __selectionName = 'TkAlMuonIsolatedHI'
466 ALCARECOTkAlMuonIsolatedHITrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
467 #names and desigantions
468  TrackProducer = 'ALCARECO'+__selectionName,
469  AlgoName = 'ALCARECO'+__selectionName,
470  FolderName = "AlCaReco/"+__selectionName,
471  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
472  allTrackProducer = cms.InputTag( "hiGeneralTracks" ),
473  primaryVertex = cms.InputTag('hiSelectedVertex'),
474 # margins and settings
475  TkSizeBin = 16,
476  TkSizeMin = -0.5,
477  TkSizeMax = 15.5
478 )
479 ALCARECOTkAlMuonIsolatedHITkAlDQM = ALCARECOTkAlMinBiasTkAlDQM.clone(
480  TrackProducer = 'ALCARECO'+__selectionName,
481  AlgoName = 'ALCARECO'+__selectionName,
482  FolderName = "AlCaReco/"+__selectionName,
483  ReferenceTrackProducer= cms.InputTag( "hiGeneralTracks" ),
484  CaloJetCollection= cms.InputTag( "iterativeConePu5CaloJets" )
485 )
486 
487 from Alignment.CommonAlignmentProducer.ALCARECOTkAlMuonIsolatedHI_cff import ALCARECOTkAlMuonIsolatedHIHLT
488 #ALCARECOTkAlMuonIsolatedHIHLTDQM = hltMonBitSummary.clone(
489 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
490 # histLabel = __selectionName,
491 # HLTPaths = ["HLT_.*L1.*"],
492 # eventSetupPathsKey = ALCARECOTkAlMuonIsolatedHIHLT.eventSetupPathsKey.value()
493 #)
494 
495 #ALCARECOTkAlMuonIsolatedHIDQM = cms.Sequence( ALCARECOTkAlMuonIsolatedHITrackingDQM + ALCARECOTkAlMuonIsolatedHITkAlDQM+ALCARECOTkAlMuonIsolatedHIHLTDQM)
496 ALCARECOTkAlMuonIsolatedHIDQM = cms.Sequence( ALCARECOTkAlMuonIsolatedHITrackingDQM + ALCARECOTkAlMuonIsolatedHITkAlDQM )
497 
498 #############################################################
499 #############--- TkAlMuonIsolatedPA ---#####################
500 #############################################################
501 __selectionName = 'TkAlMuonIsolatedPA'
502 ALCARECOTkAlMuonIsolatedPATrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
503 #names and desigantions
504  TrackProducer = 'ALCARECO'+__selectionName,
505  AlgoName = 'ALCARECO'+__selectionName,
506  FolderName = "AlCaReco/"+__selectionName,
507  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
508 # margins and settings
509  TkSizeBin = 16,
510  TkSizeMin = -0.5,
511  TkSizeMax = 15.5
512 )
513 ALCARECOTkAlMuonIsolatedPATkAlDQM = ALCARECOTkAlMinBiasTkAlDQM.clone(
514  TrackProducer = 'ALCARECO'+__selectionName,
515  AlgoName = 'ALCARECO'+__selectionName,
516  FolderName = "AlCaReco/"+__selectionName
517 )
518 
519 from Alignment.CommonAlignmentProducer.ALCARECOTkAlMuonIsolatedPA_cff import ALCARECOTkAlMuonIsolatedPAHLT
520 #ALCARECOTkAlMuonIsolatedPAHLTDQM = hltMonBitSummary.clone(
521 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
522 # histLabel = __selectionName,
523 # HLTPaths = ["HLT_.*L1.*"],
524 # eventSetupPathsKey = ALCARECOTkAlMuonIsolatedPAHLT.eventSetupPathsKey.value()
525 #)
526 
527 #ALCARECOTkAlMuonIsolatedPADQM = cms.Sequence( ALCARECOTkAlMuonIsolatedPATrackingDQM + ALCARECOTkAlMuonIsolatedPATkAlDQM+ALCARECOTkAlMuonIsolatedPAHLTDQM)
528 ALCARECOTkAlMuonIsolatedPADQM = cms.Sequence( ALCARECOTkAlMuonIsolatedPATrackingDQM + ALCARECOTkAlMuonIsolatedPATkAlDQM )
529 
530 ####################################################
531 #############--- TkAlLAS ---#######################
532 ####################################################
533 import DQMOffline.Alignment.LaserAlignmentT0ProducerDQM_cfi
534 __selectionName = 'TkAlLAS'
535 ALCARECOTkAlLASDigiDQM= DQMOffline.Alignment.LaserAlignmentT0ProducerDQM_cfi.LaserAlignmentT0ProducerDQM.clone(
536  # names and designation
537  FolderName = "AlCaReco/"+__selectionName,
538  # settings
539  LowerAdcThreshold = 15,
540  UpperAdcThreshold = 220,
541  DigiProducerList = cms.VPSet(
542  cms.PSet(
543  DigiLabel = cms.string( 'ZeroSuppressed' ),
544  DigiType = cms.string( 'Processed' ),
545  DigiProducer = cms.string( 'ALCARECOTkAlLAST0Producer' )
546  )
547  )
548 )
549 ALCARECOTkAlLASDQM = cms.Sequence( ALCARECOTkAlLASDigiDQM )
550 
551 ##################################################################
552 ###### DQM modules for cosmic data taking during collisions ######
553 ##################################################################
554 ###############################
555 ### TkAlCosmicsInCollisions ###
556 ###############################
557 __selectionName = 'TkAlCosmicsInCollisions'
558 ALCARECOTkAlCosmicsInCollisionsTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
559 #names and desigantions
560  TrackProducer = 'ALCARECO'+__selectionName,
561  AlgoName = 'ALCARECO'+__selectionName,
562  FolderName = 'AlCaReco/TkAlCosmicsInCollisions',
563  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
564 # margins and settings
565  TrackPtBin = 500,
566  TrackPtMin = 0,
567  TrackPtMax = 500
568 )
569 ALCARECOTkAlCosmicsInCollisionsTkAlDQM = ALCARECOTkAlMinBiasTkAlDQM.clone(
570 #names and desigantions
571  FolderName = 'AlCaReco/TkAlCosmicsInCollisions',
572  TrackProducer = 'ALCARECO'+__selectionName,
573  ReferenceTrackProducer = 'cosmicDCTracks',
574  AlgoName = 'ALCARECO'+__selectionName
575 )
576 from Alignment.CommonAlignmentProducer.ALCARECOTkAlCosmicsInCollisions_cff import ALCARECOTkAlCosmicsInCollisionsHLT
577 #ALCARECOTkAlCosmicsInCollisionsHLTDQM = hltMonBitSummary.clone(
578 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
579 # histLabel = __selectionName,
580 # HLTPaths = ["HLT_.*L1.*"],
581 # eventSetupPathsKey = ALCARECOTkAlCosmicsInCollisionsHLT.eventSetupPathsKey.value()
582 #)
583 #ALCARECOTkAlCosmicsInCollisionsDQM = cms.Sequence( ALCARECOTkAlCosmicsInCollisionsTrackingDQM + ALCARECOTkAlCosmicsInCollisionsTkAlDQM +ALCARECOTkAlCosmicsInCollisionsHLTDQM)
584 ALCARECOTkAlCosmicsInCollisionsDQM = cms.Sequence( ALCARECOTkAlCosmicsInCollisionsTrackingDQM + ALCARECOTkAlCosmicsInCollisionsTkAlDQM )
585 
586 
587 ################################################
588 ###### DQM modules for cosmic data taking ######
589 ################################################
590 ########################
591 ### TkAlCosmicsCTF0T ###
592 ########################
593 __selectionName = 'TkAlCosmicsCTF0T'
594 ALCARECOTkAlCosmicsCTF0TTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
595 #names and desigantions
596  TrackProducer = 'ALCARECO'+__selectionName,
597  AlgoName = 'ALCARECO'+__selectionName,
598  FolderName = 'AlCaReco/TkAlCosmics0T',
599  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
600 # margins and settings
601  TrackPtBin = 500,
602  TrackPtMin = 0,
603  TrackPtMax = 500
604 )
605 ALCARECOTkAlCosmicsCTF0TTkAlDQM = ALCARECOTkAlMinBiasTkAlDQM.clone(
606 #names and desigantions
607  TrackProducer = 'ALCARECO'+__selectionName,
608  ReferenceTrackProducer = 'ctfWithMaterialTracksP5',
609  AlgoName = 'ALCARECO'+__selectionName,
610  FolderName = 'AlCaReco/TkAlCosmics0T',
611 # margins and settings
612  useSignedR = True
613 )
614 from Alignment.CommonAlignmentProducer.ALCARECOTkAlCosmics0THLT_cff import ALCARECOTkAlCosmics0THLT
615 #ALCARECOTkAlCosmicsCTF0THLTDQM = hltMonBitSummary.clone(
616 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
617 # histLabel = __selectionName,
618 # HLTPaths = ["HLT_.*L1.*"],
619 # eventSetupPathsKey = ALCARECOTkAlCosmics0THLT.eventSetupPathsKey.value()
620 #)
621 #ALCARECOTkAlCosmicsCTF0TDQM = cms.Sequence( ALCARECOTkAlCosmicsCTF0TTrackingDQM + ALCARECOTkAlCosmicsCTF0TTkAlDQM+ALCARECOTkAlCosmicsCTF0THLTDQM)
622 ALCARECOTkAlCosmicsCTF0TDQM = cms.Sequence( ALCARECOTkAlCosmicsCTF0TTrackingDQM + ALCARECOTkAlCosmicsCTF0TTkAlDQM )
623 
624 
625 #############################
626 ### TkAlCosmicsCosmicTF0T ###
627 #############################
628 __selectionName = 'TkAlCosmicsCosmicTF0T'
629 ALCARECOTkAlCosmicsCosmicTF0TTrackingDQM = ALCARECOTkAlCosmicsCTF0TTrackingDQM.clone(
630 #names and desigantions
631  TrackProducer = 'ALCARECO'+__selectionName,
632  AlgoName = 'ALCARECO'+__selectionName,
633  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
634 )
635 ALCARECOTkAlCosmicsCosmicTF0TTkAlDQM = ALCARECOTkAlCosmicsCTF0TTkAlDQM.clone(
636 #names and desigantions
637  TrackProducer = 'ALCARECO'+__selectionName,
638  ReferenceTrackProducer = 'cosmictrackfinderP5',
639  AlgoName = 'ALCARECO'+__selectionName
640 )
641 from Alignment.CommonAlignmentProducer.ALCARECOTkAlCosmics0THLT_cff import ALCARECOTkAlCosmics0THLT
642 #ALCARECOTkAlCosmicsCosmicTF0THLTDQM = hltMonBitSummary.clone(
643 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
644 # histLabel = __selectionName,
645 # HLTPaths = ["HLT_.*L1.*"],
646 # eventSetupPathsKey = ALCARECOTkAlCosmics0THLT.eventSetupPathsKey.value()
647 #)
648 #ALCARECOTkAlCosmicsCosmicTF0TDQM = cms.Sequence( ALCARECOTkAlCosmicsCosmicTF0TTrackingDQM + ALCARECOTkAlCosmicsCosmicTF0TTkAlDQM +ALCARECOTkAlCosmicsCosmicTF0THLTDQM)
649 ALCARECOTkAlCosmicsCosmicTF0TDQM = cms.Sequence( ALCARECOTkAlCosmicsCosmicTF0TTrackingDQM + ALCARECOTkAlCosmicsCosmicTF0TTkAlDQM )
650 
651 
652 #############################
653 ### TkAlCosmicsRegional0T ###
654 #############################
655 __selectionName = 'TkAlCosmicsRegional0T'
656 ALCARECOTkAlCosmicsRegional0TTrackingDQM = ALCARECOTkAlCosmicsCTF0TTrackingDQM.clone(
657 #names and desigantions
658  TrackProducer = 'ALCARECO'+__selectionName,
659  AlgoName = 'ALCARECO'+__selectionName,
660  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
661 )
662 ALCARECOTkAlCosmicsRegional0TTkAlDQM = ALCARECOTkAlCosmicsCTF0TTkAlDQM.clone(
663 #names and desigantions
664  TrackProducer = 'ALCARECO'+__selectionName,
665  ReferenceTrackProducer = 'cosmictrackfinderP5',
666  AlgoName = 'ALCARECO'+__selectionName
667 )
668 from Alignment.CommonAlignmentProducer.ALCARECOTkAlCosmics0THLT_cff import ALCARECOTkAlCosmics0THLT
669 #ALCARECOTkAlCosmicsRegional0THLTDQM = hltMonBitSummary.clone(
670 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
671 # histLabel = __selectionName,
672 # HLTPaths = ["HLT_.*L1.*"],
673 # eventSetupPathsKey = ALCARECOTkAlCosmics0THLT.eventSetupPathsKey.value()
674 #)
675 #ALCARECOTkAlCosmicsRegional0TDQM = cms.Sequence( ALCARECOTkAlCosmicsRegional0TTrackingDQM + ALCARECOTkAlCosmicsRegional0TTkAlDQM +ALCARECOTkAlCosmicsRegional0THLTDQM)
676 ALCARECOTkAlCosmicsRegional0TDQM = cms.Sequence( ALCARECOTkAlCosmicsRegional0TTrackingDQM + ALCARECOTkAlCosmicsRegional0TTkAlDQM )
677 
678 
679 ##########################################################################
680 ###### DQM modules for cosmic data taking with momentum measurement ######
681 ##########################################################################
682 ######################
683 ### TkAlCosmicsCTF ###
684 ######################
685 __selectionName = 'TkAlCosmicsCTF'
686 ALCARECOTkAlCosmicsCTFTrackingDQM = ALCARECOTkAlCosmicsCTF0TTrackingDQM.clone(
687 #names and desigantions
688  FolderName = 'AlCaReco/TkAlCosmics',
689  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
690  TrackProducer = 'ALCARECO'+__selectionName,
691  AlgoName = 'ALCARECO'+__selectionName
692 )
693 ALCARECOTkAlCosmicsCTFTkAlDQM = ALCARECOTkAlCosmicsCTF0TTkAlDQM.clone(
694 #names and desigantions
695  FolderName = 'AlCaReco/TkAlCosmics',
696  TrackProducer = 'ALCARECO'+__selectionName,
697  ReferenceTrackProducer = ALCARECOTkAlCosmicsCTF0TTkAlDQM.ReferenceTrackProducer,
698  AlgoName = 'ALCARECO'+__selectionName
699 )
700 from Alignment.CommonAlignmentProducer.ALCARECOTkAlCosmicsHLT_cff import ALCARECOTkAlCosmicsHLT
701 #ALCARECOTkAlCosmicsCTFHLTDQM = hltMonBitSummary.clone(
702 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
703 # histLabel = __selectionName,
704 # HLTPaths = ["HLT_.*L1.*"],
705 # eventSetupPathsKey = ALCARECOTkAlCosmicsHLT.eventSetupPathsKey.value()
706 #)
707 #ALCARECOTkAlCosmicsCTFDQM = cms.Sequence( ALCARECOTkAlCosmicsCTFTrackingDQM + ALCARECOTkAlCosmicsCTFTkAlDQM +ALCARECOTkAlCosmicsCTFHLTDQM)
708 ALCARECOTkAlCosmicsCTFDQM = cms.Sequence( ALCARECOTkAlCosmicsCTFTrackingDQM + ALCARECOTkAlCosmicsCTFTkAlDQM )
709 
710 
711 ###########################
712 ### TkAlCosmicsCosmicTF ###
713 ###########################
714 __selectionName = 'TkAlCosmicsCosmicTF'
715 ALCARECOTkAlCosmicsCosmicTFTrackingDQM = ALCARECOTkAlCosmicsCTFTrackingDQM.clone(
716 #names and desigantions
717  TrackProducer = 'ALCARECO'+__selectionName,
718  AlgoName = 'ALCARECO'+__selectionName,
719  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot"
720 )
721 ALCARECOTkAlCosmicsCosmicTFTkAlDQM = ALCARECOTkAlCosmicsCosmicTF0TTkAlDQM.clone(
722 #names and desigantions
723  TrackProducer = 'ALCARECO'+__selectionName,
724  ReferenceTrackProducer = ALCARECOTkAlCosmicsCosmicTF0TTkAlDQM.ReferenceTrackProducer,
725  AlgoName = 'ALCARECO'+__selectionName
726 )
727 from Alignment.CommonAlignmentProducer.ALCARECOTkAlCosmicsHLT_cff import ALCARECOTkAlCosmicsHLT
728 #ALCARECOTkAlCosmicsCosmicTFHLTDQM = hltMonBitSummary.clone(
729 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
730 # histLabel = __selectionName,
731 # HLTPaths = ["HLT_.*L1.*"],
732 # eventSetupPathsKey = ALCARECOTkAlCosmicsHLT.eventSetupPathsKey.value()
733 #)
734 #ALCARECOTkAlCosmicsCosmicTFDQM = cms.Sequence( ALCARECOTkAlCosmicsCosmicTFTrackingDQM + ALCARECOTkAlCosmicsCosmicTFTkAlDQM+ALCARECOTkAlCosmicsCosmicTFHLTDQM)
735 ALCARECOTkAlCosmicsCosmicTFDQM = cms.Sequence( ALCARECOTkAlCosmicsCosmicTFTrackingDQM + ALCARECOTkAlCosmicsCosmicTFTkAlDQM )
736 
737 
738 ###########################
739 ### TkAlCosmicsRegional ###
740 ###########################
741 __selectionName = 'TkAlCosmicsRegional'
742 ALCARECOTkAlCosmicsRegionalTrackingDQM = ALCARECOTkAlCosmicsCTFTrackingDQM.clone(
743 #names and desigantions
744  TrackProducer = 'ALCARECO'+__selectionName,
745  AlgoName = 'ALCARECO'+__selectionName,
746  BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot"
747 )
748 ALCARECOTkAlCosmicsRegionalTkAlDQM = ALCARECOTkAlCosmicsRegional0TTkAlDQM.clone(
749 #names and desigantions
750  TrackProducer = 'ALCARECO'+__selectionName,
751  ReferenceTrackProducer = ALCARECOTkAlCosmicsRegional0TTkAlDQM.ReferenceTrackProducer,
752  AlgoName = 'ALCARECO'+__selectionName
753 )
754 from Alignment.CommonAlignmentProducer.ALCARECOTkAlCosmicsHLT_cff import ALCARECOTkAlCosmicsHLT
755 #ALCARECOTkAlCosmicsRegionalHLTDQM = hltMonBitSummary.clone(
756 # directory = "AlCaReco/"+__selectionName+"/HLTSummary",
757 # histLabel = __selectionName,
758 # HLTPaths = ["HLT_.*L1.*"],
759 # eventSetupPathsKey = ALCARECOTkAlCosmicsHLT.eventSetupPathsKey.value()
760 #)
761 #ALCARECOTkAlCosmicsRegionalDQM = cms.Sequence( ALCARECOTkAlCosmicsRegionalTrackingDQM + ALCARECOTkAlCosmicsRegionalTkAlDQM+ALCARECOTkAlCosmicsRegionalHLTDQM)
762 ALCARECOTkAlCosmicsRegionalDQM = cms.Sequence( ALCARECOTkAlCosmicsRegionalTrackingDQM + ALCARECOTkAlCosmicsRegionalTkAlDQM )
763 
Tracker Alignment.