CMS 3D CMS Logo

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