1 import FWCore.ParameterSet.Config
as cms
3 from DQM.SiStripMonitorSummary.SiStripMonitorCommon_cfi
import MonitorSiStrip_PSet
5 OnDemandMonitoring = cms.EDAnalyzer(
"SiStripMonitorCondDataOnDemandExample",
7 OutputMEsInRootFile = cms.bool(
False),
8 OutputFileName = cms.string(
'SiStripMonitorCondDataOnDemandExample.root'),
10 MonitorSiStrip_PSet = MonitorSiStrip_PSet,
12 FillConditions_PSet = cms.PSet(
13 FolderName_For_QualityAndCabling_SummaryHistos= cms.string(
"SiStrip/Tracks"),
14 OutputSummaryAtLayerLevelAsImage = cms.bool(
False),
15 OutputSummaryProfileAtLayerLevelAsImage = cms.bool(
False),
16 OutputCumulativeSummaryAtLayerLevelAsImage = cms.bool(
False),
17 Mod_On = cms.bool(
False),
18 HistoMaps_On = cms.bool(
False),
19 SummaryOnStringLevel_On = cms.bool(
False),
20 SummaryOnLayerLevel_On = cms.bool(
False),
21 GrandSummary_On = cms.bool(
False),
22 StripQualityLabel = cms.string(
''),
24 ActiveDetIds_On = cms.bool(
False),
25 TkMap_On = cms.bool(
False),
28 restrictModules = cms.bool(
False),
29 ModulesToBeIncluded_DetIdSelector = cms.vstring(
39 ModulesToBeExcluded_DetIdSelector = cms.vstring(
50 ModulesToBeIncluded = cms.vuint32(),
51 ModulesToBeExcluded = cms.vuint32(),
54 SubDetectorsToBeExcluded = cms.vstring(
'none'),
56 ModulesToBeFilled = cms.string(
'all')
61 SiStripCablingDQM_PSet = cms.PSet(
63 ActiveDetIds_On = cms.bool(
True),
65 TkMap_On = cms.bool(
False),
66 TkMapName = cms.string(
'CablingTkMap.png'),
67 minValue = cms.double(0.),
68 maxValue = cms.double(6.),
70 CondObj_fillId = cms.string(
'onlyProfile'),
71 CondObj_name = cms.string(
'fedcabling')
75 SiStripLowThresholdDQM_PSet = cms.PSet(
77 ActiveDetIds_On = cms.bool(
True),
79 TkMap_On = cms.bool(
False),
80 TkMapName = cms.string(
'LowThresholdTkMap.png'),
81 minValue = cms.double(0.),
82 maxValue = cms.double(10.),
84 WhichThreshold= cms.string(
'Low'),
86 CondObj_fillId = cms.string(
'onlyProfile'),
87 CondObj_name = cms.string(
'lowthreshold'),
89 FillSummaryAtLayerLevel= cms.bool(
True),
90 FillSummaryProfileAtLayerLevel=cms.bool(
False),
91 FillCumulativeSummaryAtLayerLevel = cms.bool(
False),
93 Profile_description = cms.string(
'Profile_LowThresholdFromCondDB'),
94 Profile_xTitle = cms.string(
'Strip Number'),
95 Profile_yTitle = cms.string(
'Low Threshold from CondDB(ADC)'),
97 SummaryOfProfile_description = cms.string(
'ProfileSummary_LowThresholdFromCondDB'),
98 SummaryOfProfile_xTitle = cms.string(
'Strip Number'),
99 SummaryOfProfile_yTitle = cms.string(
'Low Threshold from CondDB(ADC)'),
100 SummaryOfProfile_NchY = cms.int32(100),
101 SummaryOfProfile_LowY = cms.double(0),
102 SummaryOfProfile_HighY = cms.double(10),
106 Summary_description = cms.string(
'Summary_LowThresholdFromCondDB'),
107 Summary_xTitle = cms.string(
'detId'),
108 Summary_yTitle = cms.string(
'Low Threshold from CondDB(ADC)'),
109 Summary_NchY = cms.int32(100),
110 Summary_LowY = cms.double(0),
111 Summary_HighY = cms.double(10)
115 SiStripHighThresholdDQM_PSet = cms.PSet(
117 ActiveDetIds_On = cms.bool(
True),
119 TkMap_On = cms.bool(
False),
120 TkMapName = cms.string(
'HighThresholdTkMap.png'),
121 minValue = cms.double(0.),
122 maxValue = cms.double(10.),
124 WhichThreshold= cms.string(
'High'),
126 CondObj_fillId = cms.string(
'onlyProfile'),
127 CondObj_name = cms.string(
'highthreshold'),
129 FillSummaryAtLayerLevel= cms.bool(
True),
130 FillSummaryProfileAtLayerLevel=cms.bool(
False),
131 FillCumulativeSummaryAtLayerLevel = cms.bool(
False),
133 Profile_description = cms.string(
'Profile_HighThresholdFromCondDB'),
134 Profile_xTitle = cms.string(
'Strip Number'),
135 Profile_yTitle = cms.string(
'High Threshold from CondDB(ADC)'),
137 SummaryOfProfile_description = cms.string(
'ProfileSummary_HighThresholdFromCondDB'),
138 SummaryOfProfile_xTitle = cms.string(
'Strip Number'),
139 SummaryOfProfile_yTitle = cms.string(
'High Threshold from CondDB(ADC)'),
140 SummaryOfProfile_NchY = cms.int32(100),
141 SummaryOfProfile_LowY = cms.double(0),
142 SummaryOfProfile_HighY = cms.double(10),
145 Summary_description = cms.string(
'Summary_HighThresholdFromCondDB'),
146 Summary_xTitle = cms.string(
'detId'),
147 Summary_yTitle = cms.string(
'High Threshold from CondDB(ADC)'),
148 Summary_NchY = cms.int32(100),
149 Summary_LowY = cms.double(0),
150 Summary_HighY = cms.double(10)
154 SiStripApvGainsDQM_PSet = cms.PSet(
156 ActiveDetIds_On = cms.bool(
True),
158 TkMap_On = cms.bool(
False),
159 TkMapName = cms.string(
'GainTkMap.svg'),
160 minValue = cms.double(0.),
161 maxValue = cms.double(1.5),
163 CondObj_name = cms.string(
'apvgain'),
164 CondObj_fillId = cms.string(
'ProfileAndCumul'),
166 FillSummaryAtLayerLevel = cms.bool(
True),
167 FillSummaryProfileAtLayerLevel = cms.bool(
False),
169 Profile_description = cms.string(
'Profile_ApvGainFromCondDB'),
170 Profile_xTitle = cms.string(
'Apv Number'),
171 Profile_yTitle = cms.string(
'ApvGain from CondDB'),
173 Cumul_description = cms.string(
'ApvGainFromCondDB'),
174 Cumul_xTitle = cms.string(
'ApvGain from CondDB'),
175 Cumul_yTitle = cms.string(
' '),
176 Cumul_NchX = cms.int32(50),
177 Cumul_LowX = cms.double(0.5),
178 Cumul_HighX = cms.double(1.5),
180 SummaryOfProfile_description = cms.string(
'ProfileSummary_ApvGainFromCondDB'),
181 SummaryOfProfile_xTitle = cms.string(
'Apv Number'),
182 SummaryOfProfile_yTitle = cms.string(
'ApvGain from CondDB'),
183 SummaryOfProfile_NchY = cms.int32(50),
184 SummaryOfProfile_LowY = cms.double(0.5),
185 SummaryOfProfile_HighY = cms.double(1.5),
187 Summary_description = cms.string(
'Summary_ApvGainFromCondDB'),
188 Summary_xTitle = cms.string(
'detId'),
189 Summary_yTitle = cms.string(
'ApvGain from CondDB'),
190 Summary_NchY = cms.int32(50),
191 Summary_LowY = cms.double(0.5),
192 Summary_HighY = cms.double(1.5)
197 SiStripQualityDQM_PSet = cms.PSet(
199 ActiveDetIds_On = cms.bool(
True),
201 TkMap_On = cms.bool(
False),
202 TkMapName = cms.string(
'QualityTkMap.svg'),
203 minValue = cms.double(0.),
204 maxValue = cms.double(100.),
206 CondObj_name = cms.string(
'quality'),
207 CondObj_fillId = cms.string(
'onlyProfile'),
209 FillSummaryAtLayerLevel = cms.bool(
True),
211 Profile_description = cms.string(
'Profile_QualityFlagFromCondDB'),
212 Profile_xTitle = cms.string(
'Strip Number'),
213 Profile_yTitle = cms.string(
'Quality Flag from CondDB'),
215 Summary_description = cms.string(
'Summary_FractionOfBadStripsFromCondDB'),
216 Summary_xTitle = cms.string(
'detId'),
217 Summary_yTitle = cms.string(
'Fraction of bad strips from CondDB(%)'),
218 Summary_NchY = cms.int32(100),
219 Summary_LowY = cms.double(0.5),
220 Summary_HighY = cms.double(100.5),
222 Summary_BadObjects_histo_xTitle =cms.string(
'Sub Det And Layer'),
224 Summary_BadModules_histo_name =cms.string(
'Summary_BadModules_FromCondDB'),
225 Summary_BadModules_histo_yTitle =cms.string(
'Number of bad Modules from CondDB'),
227 Summary_BadFibers_histo_name =cms.string(
'Summary_BadFibers_FromCondDB'),
228 Summary_BadFibers_histo_yTitle =cms.string(
'Number of bad Fibers from CondDB'),
230 Summary_BadApvs_histo_name =cms.string(
'Summary_BadApvs_FromCondDB'),
231 Summary_BadApvs_histo_yTitle =cms.string(
'Number of bad Apvs from CondDB'),
233 Summary_BadStrips_histo_name =cms.string(
'Summary_BadStrips_FromCondDB'),
234 Summary_BadStrips_histo_yTitle =cms.string(
'Number of bad Strips from CondDB'),
236 SummaryOfCumul_description =cms.string(
'CumulativeSummary_SiStripQualityFromCondDB'),
237 SummaryOfCumul_xTitle =cms.string(
'SiStripQualityfrom CondDB'),
238 SummaryOfCumul_yTitle =cms.string(
' '),
240 SummaryOfCumul_NchX = cms.int32(100),
241 SummaryOfCumul_LowX = cms.double(0.0),
242 SummaryOfCumul_HighX = cms.double(100.0)
247 SiStripLorentzAngleDQM_PSet = cms.PSet(
249 ActiveDetIds_On = cms.bool(
False),
251 TkMap_On = cms.bool(
False),
252 TkMapName = cms.string(
'LorentzAngleTkMap.png'),
253 minValue = cms.double(0.01),
254 maxValue = cms.double(0.03),
256 CondObj_name = cms.string(
'lorentzangle'),
257 CondObj_fillId = cms.string(
'ProfileAndCumul'),
259 FillSummaryProfileAtLayerLevel = cms.bool(
True),
260 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
262 SummaryOfCumul_description = cms.string(
'ProfileSummary_LorentzAngleFromCondDB'),
263 SummaryOfCumul_xTitle = cms.string(
'LorentzAngle from CondDB'),
264 SummaryOfCumul_yTitle = cms.string(
' '),
265 SummaryOfCumul_NchX = cms.int32(50),
266 SummaryOfCumul_LowX = cms.double(0.01),
267 SummaryOfCumul_HighX = cms.double(0.06),
269 SummaryOfProfile_description = cms.string(
'Summary_LorentzAngleFromCondDB'),
270 SummaryOfProfile_xTitle = cms.string(
'detId'),
271 SummaryOfProfile_yTitle = cms.string(
'LorentzAngle from CondDB'),
272 SummaryOfProfile_NchY = cms.int32(50),
273 SummaryOfProfile_LowY = cms.double(0.01),
274 SummaryOfProfile_HighY = cms.double(0.06)
279 SiStripBackPlaneCorrectionDQM_PSet = cms.PSet(
281 ActiveDetIds_On = cms.bool(
False),
283 TkMap_On = cms.bool(
False),
284 TkMapName = cms.string(
'BackPlaneCorrectionTkMap.png'),
285 minValue = cms.double(0.00),
286 maxValue = cms.double(0.10),
288 CondObj_name = cms.string(
'bpcorrection'),
289 CondObj_fillId = cms.string(
'ProfileAndCumul'),
291 FillSummaryProfileAtLayerLevel = cms.bool(
True),
292 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
294 SummaryOfCumul_description = cms.string(
'ProfileSummary_BackPlaneCorrectionFromCondDB'),
295 SummaryOfCumul_xTitle = cms.string(
'BackPlaneCorrection from CondDB'),
296 SummaryOfCumul_yTitle = cms.string(
' '),
297 SummaryOfCumul_NchX = cms.int32(50),
298 SummaryOfCumul_LowX = cms.double(0.00),
299 SummaryOfCumul_HighX = cms.double(0.10),
301 SummaryOfProfile_description = cms.string(
'Summary_BackPlaneCorrectionFromCondDB'),
302 SummaryOfProfile_xTitle = cms.string(
'detId'),
303 SummaryOfProfile_yTitle = cms.string(
'BackPlaneCorrection from CondDB'),
304 SummaryOfProfile_NchY = cms.int32(50),
305 SummaryOfProfile_LowY = cms.double(0.00),
306 SummaryOfProfile_HighY = cms.double(0.10)
311 SiStripNoisesDQM_PSet = cms.PSet(
313 ActiveDetIds_On = cms.bool(
True),
315 TkMap_On = cms.bool(
False),
316 TkMapName = cms.string(
'NoiseTkMap.png'),
317 minValue = cms.double(0.),
318 maxValue = cms.double(6.),
320 CondObj_fillId = cms.string(
'onlyProfile'),
321 CondObj_name = cms.string(
'noise'),
323 GainRenormalisation = cms.bool(
False),
324 SimGainRenormalisation = cms.bool(
False),
326 FillSummaryAtLayerLevel = cms.bool(
True),
327 FillSummaryProfileAtLayerLevel = cms.bool(
True),
328 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
330 Profile_description = cms.string(
'Profile_NoiseFromCondDB'),
331 Profile_xTitle = cms.string(
'Strip Number'),
332 Profile_yTitle = cms.string(
'Noise from CondDB(ADC)'),
334 Cumul_description = cms.string(
'NoiseFromCondDB'),
335 Cumul_xTitle = cms.string(
'Noise from CondDB(ADC)'),
336 Cumul_yTitle = cms.string(
' '),
337 Cumul_NchX = cms.int32(50),
338 Cumul_LowX = cms.double(0.0),
339 Cumul_HighX = cms.double(6.0),
341 SummaryOfProfile_description = cms.string(
'ProfileSummary_NoiseFromCondDB'),
342 SummaryOfProfile_xTitle = cms.string(
'Strip Number'),
343 SummaryOfProfile_yTitle = cms.string(
'Noise from CondDB(ADC)'),
344 SummaryOfProfile_NchY = cms.int32(50),
345 SummaryOfProfile_LowY = cms.double(0.0),
346 SummaryOfProfile_HighY = cms.double(6.0),
348 Summary_description = cms.string(
'Summary_NoiseFromCondDB'),
349 Summary_xTitle = cms.string(
'detId'),
350 Summary_yTitle = cms.string(
'Noise from CondDB(ADC)'),
351 Summary_NchY = cms.int32(50),
352 Summary_LowY = cms.double(0.0),
353 Summary_HighY = cms.double(6.0),
355 SummaryOfCumul_description = cms.string(
'CumulativeSummary_NoiseFromCondDB'),
356 SummaryOfCumul_xTitle = cms.string(
'Noise from CondDB'),
357 SummaryOfCumul_yTitle = cms.string(
' '),
358 SummaryOfCumul_NchX = cms.int32(50),
359 SummaryOfCumul_LowX = cms.double(0.0),
360 SummaryOfCumul_HighX = cms.double(10.0)
365 SiStripPedestalsDQM_PSet = cms.PSet(
367 ActiveDetIds_On = cms.bool(
True),
369 TkMap_On = cms.bool(
False),
370 TkMapName = cms.string(
'PedestalTkMap.png'),
371 minValue = cms.double(0.),
372 maxValue = cms.double(400.),
374 CondObj_fillId = cms.string(
'onlyProfile'),
375 CondObj_name = cms.string(
'pedestal'),
377 FillSummaryAtLayerLevel = cms.bool(
True),
378 FillSummaryProfileAtLayerLevel = cms.bool(
False),
380 Profile_description = cms.string(
'Profile_PedestalFromCondDB'),
381 Profile_xTitle = cms.string(
'Strip Number'),
382 Profile_yTitle = cms.string(
'Pedestal from CondDB(ADC)'),
384 SummaryOfProfile_description = cms.string(
'ProfileSummary_PedestalFromCondDB'),
385 SummaryOfProfile_xTitle = cms.string(
'Strip Number'),
386 SummaryOfProfile_yTitle = cms.string(
'Pedestal from CondDB(ADC)'),
387 SummaryOfProfile_NchY = cms.int32(100),
388 SummaryOfProfile_LowY = cms.double(0.0),
389 SummaryOfProfile_HighY = cms.double(1000.0),
391 Summary_description = cms.string(
'Summary_PedestalFromCondDB'),
392 Summary_xTitle = cms.string(
'detId'),
393 Summary_yTitle = cms.string(
'Pedestal from CondDB(ADC)'),
394 Summary_NchY = cms.int32(100),
395 Summary_LowY = cms.double(0.0),
396 Summary_HighY = cms.double(1000.0)