CMS 3D CMS Logo

SiStripMonitorCondData_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQM.SiStripMonitorSummary.SiStripMonitorCommon_cfi import MonitorSiStrip_PSet
4 
5 CondDataMonitoring = cms.EDAnalyzer("SiStripMonitorCondData",
6 
7  OutputFileName = cms.string('SiStripMonitorCondData_MYTEST.root'),
8 
9  OutputMEsInRootFile = cms.bool(True),
10 
11  MonitorSiStrip_PSet = MonitorSiStrip_PSet.clone(
12  MonitorSiStripPedestal = True,
13  MonitorSiStripNoise = True,
14  MonitorSiStripQuality = False,
15  MonitorSiStripCabling = True,
16  MonitorSiStripLowThreshold = True,
17  MonitorSiStripHighThreshold= True,
18  MonitorSiStripApvGain = True,
19  MonitorSiStripLorentzAngle = True,
20  MonitorSiStripBackPlaneCorrection = True
21  ),
22 
23  FillConditions_PSet = cms.PSet(
24  FolderName_For_QualityAndCabling_SummaryHistos= cms.string("SiStrip/Tracks"),
25  OutputSummaryAtLayerLevelAsImage = cms.bool(True),
26  OutputSummaryProfileAtLayerLevelAsImage = cms.bool(True),
27  OutputCumulativeSummaryAtLayerLevelAsImage = cms.bool(True),
28  Mod_On = cms.bool(False),
29  HistoMaps_On = cms.bool(True),
30  SummaryOnStringLevel_On = cms.bool(False),
31  SummaryOnLayerLevel_On = cms.bool(True),
32  GrandSummary_On = cms.bool(True),
33  StripQualityLabel = cms.string(''),
34 
35  ActiveDetIds_On = cms.bool(False),
36  TkMap_On = cms.bool(False),
37 
38  # exclude OR include a set of modules
39  restrictModules = cms.bool(False),
40  ModulesToBeIncluded_DetIdSelector = cms.vstring(
41 # "0x1e000000-0x16000000", #TIB
42 # "0x1e000000-0x18000000", #TID
43 # "0x1e006000-0x18002000", #TIDm
44 # "0x1e006000-0x18004000", #TIDp
45 # "0x1e000000-0x1a000000", #TOB
46 # "0x1e000000-0x1c000000", #TEC
47 # "0x1e0c0000-0x1c040000", #TECm
48 # "0x1e0c0000-0x1c080000" #TECp
49  ),
50  ModulesToBeExcluded_DetIdSelector = cms.vstring(
51 # "0x1e000000-0x16000000", #TIB
52 # "0x1e000000-0x18000000", #TID
53 # "0x1e006000-0x18002000", #TIDm
54 # "0x1e006000-0x18004000", #TIDp
55 # "0x1e000000-0x1a000000", #TOB
56 # "0x1e000000-0x1c000000", #TEC
57 # "0x1e0c0000-0x1c040000", #TECm
58 # "0x1e0c0000-0x1c080000" #TECp
59  ),
60  ModulesToBeIncluded = cms.vuint32(), #e.g. {369120277, 369120278, 369120282}
61  ModulesToBeExcluded = cms.vuint32(),
62 
63  # exclude a subdetector
64  SubDetectorsToBeExcluded = cms.vstring('none'), #possibilities : "none" or
65  #combinations of {"TIB","TOB","TID","TEC" }
66  ModulesToBeFilled = cms.string('all')
67  ),
68 
69 
70  # -----
71 
72  SiStripCablingDQM_PSet = cms.PSet(
73 
74  ActiveDetIds_On = cms.bool(True),
75 
76  TkMap_On = cms.bool(True),
77  TkMapName = cms.string('CablingTkMap.png'),
78  minValue = cms.double(0.),
79  maxValue = cms.double(6.),
80  saturatedFraction = cms.double(.01),
81 
82  CondObj_fillId = cms.string('ProfileAndCumul'),
83  CondObj_name = cms.string('fedcabling')
84  ),
85 
86  # -----
87 
88  SiStripPedestalsDQM_PSet = cms.PSet(
89 
90  ActiveDetIds_On = cms.bool(True),
91 
92  TkMap_On = cms.bool(True),
93  TkMapName = cms.string('PedestalTkMap.png'),
94  minValue = cms.double(0.),
95  maxValue = cms.double(400.),
96  saturatedFraction = cms.double(.01),
97 
98  CondObj_fillId = cms.string('onlyProfile'),
99  CondObj_name = cms.string('pedestal'),
100 
101  FillSummaryAtLayerLevel = cms.bool(True),
102  FillSummaryProfileAtLayerLevel = cms.bool(True),
103 
104  Profile_description = cms.string('Profile_PedestalFromCondDB'),
105  Profile_xTitle = cms.string('Strip Number'),
106  Profile_yTitle = cms.string('Pedestal from CondDB(ADC)'),
107 
108  SummaryOfProfile_description = cms.string('ProfileSummary_PedestalFromCondDB'),
109  SummaryOfProfile_xTitle = cms.string('Strip Number'),
110  SummaryOfProfile_yTitle = cms.string('Pedestal from CondDB(ADC)'),
111  SummaryOfProfile_NchY = cms.int32(100),
112  SummaryOfProfile_LowY = cms.double(0.0),
113  SummaryOfProfile_HighY = cms.double(1000.0),
114 
115  Summary_description = cms.string('Summary_PedestalFromCondDB'),
116  Summary_xTitle = cms.string('detId'),
117  Summary_yTitle = cms.string('Pedestal from CondDB(ADC)'),
118  Summary_NchY = cms.int32(100),
119  Summary_LowY = cms.double(0.0),
120  Summary_HighY = cms.double(1000.0)
121  ),
122 
123  # -----
124 
125  SiStripNoisesDQM_PSet = cms.PSet(
126 
127  ActiveDetIds_On = cms.bool(True),
128 
129  TkMap_On = cms.bool(True),
130  TkMapName = cms.string('NoiseTkMap.png'),
131  minValue = cms.double(3.),
132  maxValue = cms.double(9.),
133  saturatedFraction = cms.double(.01),
134 
135  CondObj_fillId = cms.string('onlyCumul'),
136  CondObj_name = cms.string('noise'),
137 
138  GainRenormalisation = cms.bool(False),
139  SimGainRenormalisation = cms.bool(False),
140 
141  FillSummaryAtLayerLevel = cms.bool(True),
142  FillSummaryProfileAtLayerLevel = cms.bool(True),
143  FillCumulativeSummaryAtLayerLevel = cms.bool(True),
144 
145  Profile_description = cms.string('Profile_NoiseFromCondDB'),
146  Profile_xTitle = cms.string('Strip Number'),
147  Profile_yTitle = cms.string('Noise from CondDB(ADC)'),
148 
149  Cumul_description = cms.string('NoiseFromCondDB'),
150  Cumul_xTitle = cms.string('Noise from CondDB(ADC)'),
151  Cumul_yTitle = cms.string(' '),
152  Cumul_NchX = cms.int32(50),
153  Cumul_LowX = cms.double(0.0),
154  Cumul_HighX = cms.double(5.0),
155 
156  SummaryOfProfile_description = cms.string('ProfileSummary_NoiseFromCondDB'),
157  SummaryOfProfile_xTitle = cms.string('Strip Number'),
158  SummaryOfProfile_yTitle = cms.string('Noise from CondDB(ADC)'),
159  SummaryOfProfile_NchY = cms.int32(50),
160  SummaryOfProfile_LowY = cms.double(0.0),
161  SummaryOfProfile_HighY = cms.double(10.0),
162 
163  Summary_description = cms.string('Summary_NoiseFromCondDB'),
164  Summary_xTitle = cms.string('detId'),
165  Summary_yTitle = cms.string('Noise from CondDB(ADC)'),
166  Summary_NchY = cms.int32(50),
167  Summary_LowY = cms.double(0.0),
168  Summary_HighY = cms.double(10.0),
169 
170  SummaryOfCumul_description = cms.string('CumulativeSummary_NoiseFromCondDB'),
171  SummaryOfCumul_xTitle = cms.string('Noise from CondDB'),
172  SummaryOfCumul_yTitle = cms.string(' '),
173  SummaryOfCumul_NchX = cms.int32(50),
174  SummaryOfCumul_LowX = cms.double(0.0),
175  SummaryOfCumul_HighX = cms.double(10.0)
176  ),
177 
178  # -----
179  SiStripQualityDQM_PSet = cms.PSet(
180 
181  ActiveDetIds_On = cms.bool(True),
182 
183  TkMap_On = cms.bool(True),
184  TkMapName = cms.string('QualityTkMap.svg'),
185  minValue = cms.double(0.),
186  maxValue = cms.double(0.),
187  saturatedFraction = cms.double(.01),
188 
189 
190  CondObj_name = cms.string('quality'),
191  CondObj_fillId = cms.string('onlyProfile'),
192 
193  FillSummaryAtLayerLevel = cms.bool(True),
194 
195  Profile_description = cms.string('Profile_QualityFlagFromCondDB'),
196  Profile_xTitle = cms.string('Strip Number'),
197  Profile_yTitle = cms.string('Quality Flag from CondDB'),
198 
199  Summary_description = cms.string('Summary_FractionOfBadStripsFromCondDB'),
200  Summary_xTitle = cms.string('detId'),
201  Summary_yTitle = cms.string('Fraction of bad strips from CondDB(%)'),
202  Summary_NchY = cms.int32(100),
203  Summary_LowY = cms.double(0.5),
204  Summary_HighY = cms.double(100.5),
205 
206  Summary_BadObjects_histo_xTitle =cms.string('Sub Det And Layer'),
207 
208  Summary_BadModules_histo_name =cms.string('Summary_BadModules_FromCondDB'),
209  Summary_BadModules_histo_yTitle =cms.string('Number of bad Modules from CondDB'),
210 
211  Summary_BadFibers_histo_name =cms.string('Summary_BadFibers_FromCondDB'),
212  Summary_BadFibers_histo_yTitle =cms.string('Number of bad Fibers from CondDB'),
213 
214  Summary_BadApvs_histo_name =cms.string('Summary_BadApvs_FromCondDB'),
215  Summary_BadApvs_histo_yTitle =cms.string('Number of bad Apvs from CondDB'),
216 
217  Summary_BadStrips_histo_name =cms.string('Summary_BadStrips_FromCondDB'),
218  Summary_BadStrips_histo_yTitle =cms.string('Number of bad Strips from CondDB'),
219 
220  SummaryOfCumul_description =cms.string('CumulativeSummary_SiStripQualityFromCondDB'),
221  SummaryOfCumul_xTitle =cms.string('SiStripQualityfrom CondDB'),
222  SummaryOfCumul_yTitle =cms.string(' '),
223 
224  SummaryOfCumul_NchX = cms.int32(100),
225  SummaryOfCumul_LowX = cms.double(0.0),
226  SummaryOfCumul_HighX = cms.double(100.0)
227 
228  ),
229 
230  # -----
231  SiStripApvGainsDQM_PSet = cms.PSet(
232 
233  ActiveDetIds_On = cms.bool(True),
234 
235  TkMap_On = cms.bool(True),
236  TkMapName = cms.string('GainTkMap.svg'),
237  minValue = cms.double(0.),
238  maxValue = cms.double(1.5),
239  saturatedFraction = cms.double(.01),
240 
241  CondObj_name = cms.string('apvgain'),
242  CondObj_fillId = cms.string('ProfileAndCumul'),
243 
244  FillSummaryAtLayerLevel = cms.bool(True),
245  FillSummaryProfileAtLayerLevel = cms.bool(True),
246 
247  Profile_description = cms.string('Profile_ApvGainFromCondDB'),
248  Profile_xTitle = cms.string('Apv Number'),
249  Profile_yTitle = cms.string('ApvGain from CondDB'),
250 
251  Cumul_description = cms.string('ApvGainFromCondDB'),
252  Cumul_xTitle = cms.string('ApvGain from CondDB'),
253  Cumul_yTitle = cms.string(' '),
254  Cumul_NchX = cms.int32(50),
255  Cumul_LowX = cms.double(0.5),
256  Cumul_HighX = cms.double(1.5),
257 
258  SummaryOfProfile_description = cms.string('ProfileSummary_ApvGainFromCondDB'),
259  SummaryOfProfile_xTitle = cms.string('Apv Number'),
260  SummaryOfProfile_yTitle = cms.string('ApvGain from CondDB'),
261  SummaryOfProfile_NchY = cms.int32(50),
262  SummaryOfProfile_LowY = cms.double(0.5),
263  SummaryOfProfile_HighY = cms.double(1.5),
264 
265  Summary_description = cms.string('Summary_ApvGainFromCondDB'),
266  Summary_xTitle = cms.string('detId'),
267  Summary_yTitle = cms.string('ApvGain from CondDB'),
268  Summary_NchY = cms.int32(50),
269  Summary_LowY = cms.double(0.5),
270  Summary_HighY = cms.double(1.5)
271  ),
272 
273  # -----
274 
275  SiStripLorentzAngleDQM_PSet = cms.PSet(
276 
277  ActiveDetIds_On = cms.bool(False),
278 
279  TkMap_On = cms.bool(True),
280  TkMapName = cms.string('LorentzAngleTkMap.png'),
281  minValue = cms.double(0.01),
282  maxValue = cms.double(0.03),
283  saturatedFraction = cms.double(.01),
284 
285  CondObj_name = cms.string('lorentzangle'),
286  CondObj_fillId = cms.string('ProfileAndCumul'),
287 
288  FillSummaryProfileAtLayerLevel = cms.bool(True),
289  FillCumulativeSummaryAtLayerLevel = cms.bool(True),
290 
291  SummaryOfCumul_description = cms.string('ProfileSummary_LorentzAngleFromCondDB'),
292  SummaryOfCumul_xTitle = cms.string('LorentzAngle from CondDB'),
293  SummaryOfCumul_yTitle = cms.string(' '),
294  SummaryOfCumul_NchX = cms.int32(50),
295  SummaryOfCumul_LowX = cms.double(0.01),
296  SummaryOfCumul_HighX = cms.double(0.06),
297 
298  SummaryOfProfile_description = cms.string('Summary_LorentzAngleFromCondDB'),
299  SummaryOfProfile_xTitle = cms.string('detId'),
300  SummaryOfProfile_yTitle = cms.string('LorentzAngle from CondDB'),
301  SummaryOfProfile_NchY = cms.int32(50),
302  SummaryOfProfile_LowY = cms.double(0.01),
303  SummaryOfProfile_HighY = cms.double(0.06)
304  ),
305 
306  # -----
307  SiStripBackPlaneCorrectionDQM_PSet = cms.PSet(
308 
309  ActiveDetIds_On = cms.bool(False),
310 
311  TkMap_On = cms.bool(True),
312  TkMapName = cms.string('BackPlaneCorrectionTkMap.png'),
313  minValue = cms.double(0.00),
314  maxValue = cms.double(0.10),
315  saturatedFraction = cms.double(.01),
316 
317  CondObj_name = cms.string('bpcorrection'),
318  CondObj_fillId = cms.string('ProfileAndCumul'),
319 
320  FillSummaryProfileAtLayerLevel = cms.bool(True),
321  FillCumulativeSummaryAtLayerLevel = cms.bool(True),
322 
323  SummaryOfCumul_description = cms.string('ProfileSummary_BackPlaneCorrectionFromCondDB'),
324  SummaryOfCumul_xTitle = cms.string('BackPlaneCorrection from CondDB'),
325  SummaryOfCumul_yTitle = cms.string(' '),
326  SummaryOfCumul_NchX = cms.int32(50),
327  SummaryOfCumul_LowX = cms.double(0.00),
328  SummaryOfCumul_HighX = cms.double(0.10),
329 
330  SummaryOfProfile_description = cms.string('Summary_BackPlaneCorrectionFromCondDB'),
331  SummaryOfProfile_xTitle = cms.string('detId'),
332  SummaryOfProfile_yTitle = cms.string('BackPlaneCorrection from CondDB'),
333  SummaryOfProfile_NchY = cms.int32(50),
334  SummaryOfProfile_LowY = cms.double(0.00),
335  SummaryOfProfile_HighY = cms.double(0.10)
336  ),
337 
338  # -----
339 
340  SiStripLowThresholdDQM_PSet = cms.PSet(
341 
342  ActiveDetIds_On = cms.bool(True),
343 
344  TkMap_On = cms.bool(True),
345  TkMapName = cms.string('LowThresholdTkMap.png'),
346  minValue = cms.double(0.),
347  maxValue = cms.double(10.),
348  saturatedFraction = cms.double(.01),
349 
350  WhichThreshold= cms.string('Low'),
351 
352  CondObj_fillId = cms.string('onlyProfile'),
353  CondObj_name = cms.string('lowthreshold'),
354 
355  FillSummaryAtLayerLevel= cms.bool(True),
356  FillSummaryProfileAtLayerLevel=cms.bool(True),
357  FillCumulativeSummaryAtLayerLevel = cms.bool(True),
358 
359  Profile_description = cms.string('Profile_LowThresholdFromCondDB'),
360  Profile_xTitle = cms.string('Strip Number'),
361  Profile_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
362 
363  SummaryOfProfile_description = cms.string('ProfileSummary_LowThresholdFromCondDB'),
364  SummaryOfProfile_xTitle = cms.string('Strip Number'),
365  SummaryOfProfile_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
366  SummaryOfProfile_NchY = cms.int32(100),
367  SummaryOfProfile_LowY = cms.double(0),
368  SummaryOfProfile_HighY = cms.double(10),
369 
370  Summary_description = cms.string('Summary_LowThresholdFromCondDB'),
371  Summary_xTitle = cms.string('detId'),
372  Summary_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
373  Summary_NchY = cms.int32(100),
374  Summary_LowY = cms.double(0),
375  Summary_HighY = cms.double(10)
376  ),
377 
378 
379  # -----
380 
381  SiStripHighThresholdDQM_PSet = cms.PSet(
382 
383  ActiveDetIds_On = cms.bool(True),
384 
385  TkMap_On = cms.bool(True),
386  TkMapName = cms.string('HighThresholdTkMap.png'),
387  minValue = cms.double(0.),
388  maxValue = cms.double(10.),
389  saturatedFraction = cms.double(.01),
390 
391  WhichThreshold= cms.string('High'),
392 
393  CondObj_fillId = cms.string('onlyProfile'),
394  CondObj_name = cms.string('highthreshold'),
395 
396  FillSummaryAtLayerLevel= cms.bool(True),
397  FillSummaryProfileAtLayerLevel=cms.bool(True),
398  FillCumulativeSummaryAtLayerLevel = cms.bool(True),
399 
400  Profile_description = cms.string('Profile_HighThresholdFromCondDB'),
401  Profile_xTitle = cms.string('Strip Number'),
402  Profile_yTitle = cms.string('High Threshold from CondDB(ADC)'),
403 
404  SummaryOfProfile_description = cms.string('ProfileSummary_HighThresholdFromCondDB'),
405  SummaryOfProfile_xTitle = cms.string('Strip Number'),
406  SummaryOfProfile_yTitle = cms.string('High Threshold from CondDB(ADC)'),
407  SummaryOfProfile_NchY = cms.int32(100),
408  SummaryOfProfile_LowY = cms.double(0),
409  SummaryOfProfile_HighY = cms.double(10),
410 
411  Summary_description = cms.string('Summary_HighThresholdFromCondDB'),
412  Summary_xTitle = cms.string('detId'),
413  Summary_yTitle = cms.string('High Threshold from CondDB(ADC)'),
414  Summary_NchY = cms.int32(100),
415  Summary_LowY = cms.double(0),
416  Summary_HighY = cms.double(10)
417  )
418 
419 )