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.
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 
136  FillSummaryAtLayerLevel = cms.bool(True),
137  FillSummaryProfileAtLayerLevel = cms.bool(True),
138  FillCumulativeSummaryAtLayerLevel = cms.bool(True),
139 
140  Profile_description = cms.string('Profile_NoiseFromCondDB'),
141  Profile_xTitle = cms.string('Strip Number'),
142  Profile_yTitle = cms.string('Noise from CondDB(ADC)'),
143 
144  Cumul_description = cms.string('NoiseFromCondDB'),
145  Cumul_xTitle = cms.string('Noise from CondDB(ADC)'),
146  Cumul_yTitle = cms.string(' '),
147  Cumul_NchX = cms.int32(50),
148  Cumul_LowX = cms.double(0.0),
149  Cumul_HighX = cms.double(5.0),
150 
151  SummaryOfProfile_description = cms.string('ProfileSummary_NoiseFromCondDB'),
152  SummaryOfProfile_xTitle = cms.string('Strip Number'),
153  SummaryOfProfile_yTitle = cms.string('Noise from CondDB(ADC)'),
154  SummaryOfProfile_NchY = cms.int32(50),
155  SummaryOfProfile_LowY = cms.double(0.0),
156  SummaryOfProfile_HighY = cms.double(10.0),
157 
158  Summary_description = cms.string('Summary_NoiseFromCondDB'),
159  Summary_xTitle = cms.string('detId'),
160  Summary_yTitle = cms.string('Noise from CondDB(ADC)'),
161  Summary_NchY = cms.int32(50),
162  Summary_LowY = cms.double(0.0),
163  Summary_HighY = cms.double(10.0),
164 
165  SummaryOfCumul_description = cms.string('CumulativeSummary_NoiseFromCondDB'),
166  SummaryOfCumul_xTitle = cms.string('Noise from CondDB'),
167  SummaryOfCumul_yTitle = cms.string(' '),
168  SummaryOfCumul_NchX = cms.int32(50),
169  SummaryOfCumul_LowX = cms.double(0.0),
170  SummaryOfCumul_HighX = cms.double(10.0)
171  ),
172 
173  # -----
174  SiStripQualityDQM_PSet = cms.PSet(
175 
176  ActiveDetIds_On = cms.bool(True),
177 
178  TkMap_On = cms.bool(True),
179  TkMapName = cms.string('QualityTkMap.svg'),
180  minValue = cms.double(0.),
181  maxValue = cms.double(0.),
182  saturatedFraction = cms.double(.01),
183 
184 
185  CondObj_name = cms.string('quality'),
186  CondObj_fillId = cms.string('onlyProfile'),
187 
188  FillSummaryAtLayerLevel = cms.bool(True),
189 
190  Profile_description = cms.string('Profile_QualityFlagFromCondDB'),
191  Profile_xTitle = cms.string('Strip Number'),
192  Profile_yTitle = cms.string('Quality Flag from CondDB'),
193 
194  Summary_description = cms.string('Summary_FractionOfBadStripsFromCondDB'),
195  Summary_xTitle = cms.string('detId'),
196  Summary_yTitle = cms.string('Fraction of bad strips from CondDB(%)'),
197  Summary_NchY = cms.int32(100),
198  Summary_LowY = cms.double(0.5),
199  Summary_HighY = cms.double(100.5),
200 
201  Summary_BadObjects_histo_xTitle =cms.string('Sub Det And Layer'),
202 
203  Summary_BadModules_histo_name =cms.string('Summary_BadModules_FromCondDB'),
204  Summary_BadModules_histo_yTitle =cms.string('Number of bad Modules from CondDB'),
205 
206  Summary_BadFibers_histo_name =cms.string('Summary_BadFibers_FromCondDB'),
207  Summary_BadFibers_histo_yTitle =cms.string('Number of bad Fibers from CondDB'),
208 
209  Summary_BadApvs_histo_name =cms.string('Summary_BadApvs_FromCondDB'),
210  Summary_BadApvs_histo_yTitle =cms.string('Number of bad Apvs from CondDB'),
211 
212  Summary_BadStrips_histo_name =cms.string('Summary_BadStrips_FromCondDB'),
213  Summary_BadStrips_histo_yTitle =cms.string('Number of bad Strips from CondDB'),
214 
215  SummaryOfCumul_description =cms.string('CumulativeSummary_SiStripQualityFromCondDB'),
216  SummaryOfCumul_xTitle =cms.string('SiStripQualityfrom CondDB'),
217  SummaryOfCumul_yTitle =cms.string(' '),
218 
219  SummaryOfCumul_NchX = cms.int32(100),
220  SummaryOfCumul_LowX = cms.double(0.0),
221  SummaryOfCumul_HighX = cms.double(100.0)
222 
223  ),
224 
225  # -----
226  SiStripApvGainsDQM_PSet = cms.PSet(
227 
228  ActiveDetIds_On = cms.bool(True),
229 
230  TkMap_On = cms.bool(True),
231  TkMapName = cms.string('GainTkMap.svg'),
232  minValue = cms.double(0.),
233  maxValue = cms.double(1.5),
234  saturatedFraction = cms.double(.01),
235 
236  CondObj_name = cms.string('apvgain'),
237  CondObj_fillId = cms.string('ProfileAndCumul'),
238 
239  FillSummaryAtLayerLevel = cms.bool(True),
240  FillSummaryProfileAtLayerLevel = cms.bool(True),
241 
242  Profile_description = cms.string('Profile_ApvGainFromCondDB'),
243  Profile_xTitle = cms.string('Apv Number'),
244  Profile_yTitle = cms.string('ApvGain from CondDB'),
245 
246  Cumul_description = cms.string('ApvGainFromCondDB'),
247  Cumul_xTitle = cms.string('ApvGain from CondDB'),
248  Cumul_yTitle = cms.string(' '),
249  Cumul_NchX = cms.int32(50),
250  Cumul_LowX = cms.double(0.5),
251  Cumul_HighX = cms.double(1.5),
252 
253  SummaryOfProfile_description = cms.string('ProfileSummary_ApvGainFromCondDB'),
254  SummaryOfProfile_xTitle = cms.string('Apv Number'),
255  SummaryOfProfile_yTitle = cms.string('ApvGain from CondDB'),
256  SummaryOfProfile_NchY = cms.int32(50),
257  SummaryOfProfile_LowY = cms.double(0.5),
258  SummaryOfProfile_HighY = cms.double(1.5),
259 
260  Summary_description = cms.string('Summary_ApvGainFromCondDB'),
261  Summary_xTitle = cms.string('detId'),
262  Summary_yTitle = cms.string('ApvGain from CondDB'),
263  Summary_NchY = cms.int32(50),
264  Summary_LowY = cms.double(0.5),
265  Summary_HighY = cms.double(1.5)
266  ),
267 
268  # -----
269 
270  SiStripLorentzAngleDQM_PSet = cms.PSet(
271 
272  ActiveDetIds_On = cms.bool(False),
273 
274  TkMap_On = cms.bool(True),
275  TkMapName = cms.string('LorentzAngleTkMap.png'),
276  minValue = cms.double(0.01),
277  maxValue = cms.double(0.03),
278  saturatedFraction = cms.double(.01),
279 
280  CondObj_name = cms.string('lorentzangle'),
281  CondObj_fillId = cms.string('ProfileAndCumul'),
282 
283  FillSummaryProfileAtLayerLevel = cms.bool(True),
284  FillCumulativeSummaryAtLayerLevel = cms.bool(True),
285 
286  SummaryOfCumul_description = cms.string('ProfileSummary_LorentzAngleFromCondDB'),
287  SummaryOfCumul_xTitle = cms.string('LorentzAngle from CondDB'),
288  SummaryOfCumul_yTitle = cms.string(' '),
289  SummaryOfCumul_NchX = cms.int32(50),
290  SummaryOfCumul_LowX = cms.double(0.01),
291  SummaryOfCumul_HighX = cms.double(0.06),
292 
293  SummaryOfProfile_description = cms.string('Summary_LorentzAngleFromCondDB'),
294  SummaryOfProfile_xTitle = cms.string('detId'),
295  SummaryOfProfile_yTitle = cms.string('LorentzAngle from CondDB'),
296  SummaryOfProfile_NchY = cms.int32(50),
297  SummaryOfProfile_LowY = cms.double(0.01),
298  SummaryOfProfile_HighY = cms.double(0.06)
299  ),
300 
301  # -----
302  SiStripBackPlaneCorrectionDQM_PSet = cms.PSet(
303 
304  ActiveDetIds_On = cms.bool(False),
305 
306  TkMap_On = cms.bool(True),
307  TkMapName = cms.string('BackPlaneCorrectionTkMap.png'),
308  minValue = cms.double(0.00),
309  maxValue = cms.double(0.10),
310  saturatedFraction = cms.double(.01),
311 
312  CondObj_name = cms.string('bpcorrection'),
313  CondObj_fillId = cms.string('ProfileAndCumul'),
314 
315  FillSummaryProfileAtLayerLevel = cms.bool(True),
316  FillCumulativeSummaryAtLayerLevel = cms.bool(True),
317 
318  SummaryOfCumul_description = cms.string('ProfileSummary_BackPlaneCorrectionFromCondDB'),
319  SummaryOfCumul_xTitle = cms.string('BackPlaneCorrection from CondDB'),
320  SummaryOfCumul_yTitle = cms.string(' '),
321  SummaryOfCumul_NchX = cms.int32(50),
322  SummaryOfCumul_LowX = cms.double(0.00),
323  SummaryOfCumul_HighX = cms.double(0.10),
324 
325  SummaryOfProfile_description = cms.string('Summary_BackPlaneCorrectionFromCondDB'),
326  SummaryOfProfile_xTitle = cms.string('detId'),
327  SummaryOfProfile_yTitle = cms.string('BackPlaneCorrection from CondDB'),
328  SummaryOfProfile_NchY = cms.int32(50),
329  SummaryOfProfile_LowY = cms.double(0.00),
330  SummaryOfProfile_HighY = cms.double(0.10)
331  ),
332 
333  # -----
334 
335  SiStripLowThresholdDQM_PSet = cms.PSet(
336 
337  ActiveDetIds_On = cms.bool(True),
338 
339  TkMap_On = cms.bool(True),
340  TkMapName = cms.string('LowThresholdTkMap.png'),
341  minValue = cms.double(0.),
342  maxValue = cms.double(10.),
343  saturatedFraction = cms.double(.01),
344 
345  WhichThreshold= cms.string('Low'),
346 
347  CondObj_fillId = cms.string('onlyProfile'),
348  CondObj_name = cms.string('lowthreshold'),
349 
350  FillSummaryAtLayerLevel= cms.bool(True),
351  FillSummaryProfileAtLayerLevel=cms.bool(True),
352  FillCumulativeSummaryAtLayerLevel = cms.bool(True),
353 
354  Profile_description = cms.string('Profile_LowThresholdFromCondDB'),
355  Profile_xTitle = cms.string('Strip Number'),
356  Profile_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
357 
358  SummaryOfProfile_description = cms.string('ProfileSummary_LowThresholdFromCondDB'),
359  SummaryOfProfile_xTitle = cms.string('Strip Number'),
360  SummaryOfProfile_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
361  SummaryOfProfile_NchY = cms.int32(100),
362  SummaryOfProfile_LowY = cms.double(0),
363  SummaryOfProfile_HighY = cms.double(10),
364 
365  Summary_description = cms.string('Summary_LowThresholdFromCondDB'),
366  Summary_xTitle = cms.string('detId'),
367  Summary_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
368  Summary_NchY = cms.int32(100),
369  Summary_LowY = cms.double(0),
370  Summary_HighY = cms.double(10)
371  ),
372 
373 
374  # -----
375 
376  SiStripHighThresholdDQM_PSet = cms.PSet(
377 
378  ActiveDetIds_On = cms.bool(True),
379 
380  TkMap_On = cms.bool(True),
381  TkMapName = cms.string('HighThresholdTkMap.png'),
382  minValue = cms.double(0.),
383  maxValue = cms.double(10.),
384  saturatedFraction = cms.double(.01),
385 
386  WhichThreshold= cms.string('High'),
387 
388  CondObj_fillId = cms.string('onlyProfile'),
389  CondObj_name = cms.string('highthreshold'),
390 
391  FillSummaryAtLayerLevel= cms.bool(True),
392  FillSummaryProfileAtLayerLevel=cms.bool(True),
393  FillCumulativeSummaryAtLayerLevel = cms.bool(True),
394 
395  Profile_description = cms.string('Profile_HighThresholdFromCondDB'),
396  Profile_xTitle = cms.string('Strip Number'),
397  Profile_yTitle = cms.string('High Threshold from CondDB(ADC)'),
398 
399  SummaryOfProfile_description = cms.string('ProfileSummary_HighThresholdFromCondDB'),
400  SummaryOfProfile_xTitle = cms.string('Strip Number'),
401  SummaryOfProfile_yTitle = cms.string('High Threshold from CondDB(ADC)'),
402  SummaryOfProfile_NchY = cms.int32(100),
403  SummaryOfProfile_LowY = cms.double(0),
404  SummaryOfProfile_HighY = cms.double(10),
405 
406  Summary_description = cms.string('Summary_HighThresholdFromCondDB'),
407  Summary_xTitle = cms.string('detId'),
408  Summary_yTitle = cms.string('High Threshold from CondDB(ADC)'),
409  Summary_NchY = cms.int32(100),
410  Summary_LowY = cms.double(0),
411  Summary_HighY = cms.double(10)
412  )
413 
414 )