1 import FWCore.ParameterSet.Config
as cms
3 CondDataMonitoring = cms.EDAnalyzer(
"SiStripMonitorCondData",
5 OutputFileName = cms.string(
'SiStripMonitorCondData_MYTEST.root'),
7 OutputMEsInRootFile = cms.bool(
True),
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),
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(
''),
31 ActiveDetIds_On = cms.bool(
False),
32 TkMap_On = cms.bool(
False),
35 restrictModules = cms.bool(
False),
36 ModulesToBeIncluded_DetIdSelector = cms.vstring(
46 ModulesToBeExcluded_DetIdSelector = cms.vstring(
56 ModulesToBeIncluded = cms.vuint32(),
57 ModulesToBeExcluded = cms.vuint32(),
60 SubDetectorsToBeExcluded = cms.vstring(
'none'),
62 ModulesToBeFilled = cms.string(
'all')
68 SiStripCablingDQM_PSet = cms.PSet(
70 ActiveDetIds_On = cms.bool(
True),
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),
78 CondObj_fillId = cms.string(
'ProfileAndCumul'),
79 CondObj_name = cms.string(
'fedcabling')
84 SiStripPedestalsDQM_PSet = cms.PSet(
86 ActiveDetIds_On = cms.bool(
True),
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),
94 CondObj_fillId = cms.string(
'onlyProfile'),
95 CondObj_name = cms.string(
'pedestal'),
97 FillSummaryAtLayerLevel = cms.bool(
True),
98 FillSummaryProfileAtLayerLevel = cms.bool(
True),
100 Profile_description = cms.string(
'Profile_PedestalFromCondDB'),
101 Profile_xTitle = cms.string(
'Strip Number'),
102 Profile_yTitle = cms.string(
'Pedestal from CondDB(ADC)'),
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),
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)
121 SiStripNoisesDQM_PSet = cms.PSet(
123 ActiveDetIds_On = cms.bool(
True),
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),
131 CondObj_fillId = cms.string(
'onlyCumul'),
132 CondObj_name = cms.string(
'noise'),
134 GainRenormalisation = cms.bool(
False),
135 SimGainRenormalisation = cms.bool(
False),
137 FillSummaryAtLayerLevel = cms.bool(
True),
138 FillSummaryProfileAtLayerLevel = cms.bool(
True),
139 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
141 Profile_description = cms.string(
'Profile_NoiseFromCondDB'),
142 Profile_xTitle = cms.string(
'Strip Number'),
143 Profile_yTitle = cms.string(
'Noise from CondDB(ADC)'),
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),
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),
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),
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)
175 SiStripQualityDQM_PSet = cms.PSet(
177 ActiveDetIds_On = cms.bool(
True),
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),
186 CondObj_name = cms.string(
'quality'),
187 CondObj_fillId = cms.string(
'onlyProfile'),
189 FillSummaryAtLayerLevel = cms.bool(
True),
191 Profile_description = cms.string(
'Profile_QualityFlagFromCondDB'),
192 Profile_xTitle = cms.string(
'Strip Number'),
193 Profile_yTitle = cms.string(
'Quality Flag from CondDB'),
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),
202 Summary_BadObjects_histo_xTitle =cms.string(
'Sub Det And Layer'),
204 Summary_BadModules_histo_name =cms.string(
'Summary_BadModules_FromCondDB'),
205 Summary_BadModules_histo_yTitle =cms.string(
'Number of bad Modules from CondDB'),
207 Summary_BadFibers_histo_name =cms.string(
'Summary_BadFibers_FromCondDB'),
208 Summary_BadFibers_histo_yTitle =cms.string(
'Number of bad Fibers from CondDB'),
210 Summary_BadApvs_histo_name =cms.string(
'Summary_BadApvs_FromCondDB'),
211 Summary_BadApvs_histo_yTitle =cms.string(
'Number of bad Apvs from CondDB'),
213 Summary_BadStrips_histo_name =cms.string(
'Summary_BadStrips_FromCondDB'),
214 Summary_BadStrips_histo_yTitle =cms.string(
'Number of bad Strips from CondDB'),
216 SummaryOfCumul_description =cms.string(
'CumulativeSummary_SiStripQualityFromCondDB'),
217 SummaryOfCumul_xTitle =cms.string(
'SiStripQualityfrom CondDB'),
218 SummaryOfCumul_yTitle =cms.string(
' '),
220 SummaryOfCumul_NchX = cms.int32(100),
221 SummaryOfCumul_LowX = cms.double(0.0),
222 SummaryOfCumul_HighX = cms.double(100.0)
227 SiStripApvGainsDQM_PSet = cms.PSet(
229 ActiveDetIds_On = cms.bool(
True),
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),
237 CondObj_name = cms.string(
'apvgain'),
238 CondObj_fillId = cms.string(
'ProfileAndCumul'),
240 FillSummaryAtLayerLevel = cms.bool(
True),
241 FillSummaryProfileAtLayerLevel = cms.bool(
True),
243 Profile_description = cms.string(
'Profile_ApvGainFromCondDB'),
244 Profile_xTitle = cms.string(
'Apv Number'),
245 Profile_yTitle = cms.string(
'ApvGain from CondDB'),
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),
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),
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)
271 SiStripLorentzAngleDQM_PSet = cms.PSet(
273 ActiveDetIds_On = cms.bool(
False),
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),
281 CondObj_name = cms.string(
'lorentzangle'),
282 CondObj_fillId = cms.string(
'ProfileAndCumul'),
284 FillSummaryProfileAtLayerLevel = cms.bool(
True),
285 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
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),
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)
303 SiStripBackPlaneCorrectionDQM_PSet = cms.PSet(
305 ActiveDetIds_On = cms.bool(
False),
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),
313 CondObj_name = cms.string(
'bpcorrection'),
314 CondObj_fillId = cms.string(
'ProfileAndCumul'),
316 FillSummaryProfileAtLayerLevel = cms.bool(
True),
317 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
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),
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)
336 SiStripLowThresholdDQM_PSet = cms.PSet(
338 ActiveDetIds_On = cms.bool(
True),
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),
346 WhichThreshold= cms.string(
'Low'),
348 CondObj_fillId = cms.string(
'onlyProfile'),
349 CondObj_name = cms.string(
'lowthreshold'),
351 FillSummaryAtLayerLevel= cms.bool(
True),
352 FillSummaryProfileAtLayerLevel=cms.bool(
True),
353 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
355 Profile_description = cms.string(
'Profile_LowThresholdFromCondDB'),
356 Profile_xTitle = cms.string(
'Strip Number'),
357 Profile_yTitle = cms.string(
'Low Threshold from CondDB(ADC)'),
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),
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)
377 SiStripHighThresholdDQM_PSet = cms.PSet(
379 ActiveDetIds_On = cms.bool(
True),
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),
387 WhichThreshold= cms.string(
'High'),
389 CondObj_fillId = cms.string(
'onlyProfile'),
390 CondObj_name = cms.string(
'highthreshold'),
392 FillSummaryAtLayerLevel= cms.bool(
True),
393 FillSummaryProfileAtLayerLevel=cms.bool(
True),
394 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
396 Profile_description = cms.string(
'Profile_HighThresholdFromCondDB'),
397 Profile_xTitle = cms.string(
'Strip Number'),
398 Profile_yTitle = cms.string(
'High Threshold from CondDB(ADC)'),
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),
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)