1 import FWCore.ParameterSet.Config
as cms
3 from DQM.SiStripMonitorSummary.SiStripMonitorCommon_cfi
import MonitorSiStrip_PSet
5 CondDataMonitoring = cms.EDAnalyzer(
"SiStripMonitorCondData",
7 OutputFileName = cms.string(
'SiStripMonitorCondData_MYTEST.root'),
9 OutputMEsInRootFile = cms.bool(
True),
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 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(
''),
35 ActiveDetIds_On = cms.bool(
False),
36 TkMap_On = cms.bool(
False),
39 restrictModules = cms.bool(
False),
40 ModulesToBeIncluded_DetIdSelector = cms.vstring(
50 ModulesToBeExcluded_DetIdSelector = cms.vstring(
60 ModulesToBeIncluded = cms.vuint32(),
61 ModulesToBeExcluded = cms.vuint32(),
64 SubDetectorsToBeExcluded = cms.vstring(
'none'),
66 ModulesToBeFilled = cms.string(
'all')
72 SiStripCablingDQM_PSet = cms.PSet(
74 ActiveDetIds_On = cms.bool(
True),
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),
82 CondObj_fillId = cms.string(
'ProfileAndCumul'),
83 CondObj_name = cms.string(
'fedcabling')
88 SiStripPedestalsDQM_PSet = cms.PSet(
90 ActiveDetIds_On = cms.bool(
True),
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),
98 CondObj_fillId = cms.string(
'onlyProfile'),
99 CondObj_name = cms.string(
'pedestal'),
101 FillSummaryAtLayerLevel = cms.bool(
True),
102 FillSummaryProfileAtLayerLevel = cms.bool(
True),
104 Profile_description = cms.string(
'Profile_PedestalFromCondDB'),
105 Profile_xTitle = cms.string(
'Strip Number'),
106 Profile_yTitle = cms.string(
'Pedestal from CondDB(ADC)'),
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),
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)
125 SiStripNoisesDQM_PSet = cms.PSet(
127 ActiveDetIds_On = cms.bool(
True),
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),
135 CondObj_fillId = cms.string(
'onlyCumul'),
136 CondObj_name = cms.string(
'noise'),
138 GainRenormalisation = cms.bool(
False),
139 SimGainRenormalisation = cms.bool(
False),
141 FillSummaryAtLayerLevel = cms.bool(
True),
142 FillSummaryProfileAtLayerLevel = cms.bool(
True),
143 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
145 Profile_description = cms.string(
'Profile_NoiseFromCondDB'),
146 Profile_xTitle = cms.string(
'Strip Number'),
147 Profile_yTitle = cms.string(
'Noise from CondDB(ADC)'),
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),
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),
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),
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)
179 SiStripQualityDQM_PSet = cms.PSet(
181 ActiveDetIds_On = cms.bool(
True),
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),
190 CondObj_name = cms.string(
'quality'),
191 CondObj_fillId = cms.string(
'onlyProfile'),
193 FillSummaryAtLayerLevel = cms.bool(
True),
195 Profile_description = cms.string(
'Profile_QualityFlagFromCondDB'),
196 Profile_xTitle = cms.string(
'Strip Number'),
197 Profile_yTitle = cms.string(
'Quality Flag from CondDB'),
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),
206 Summary_BadObjects_histo_xTitle =cms.string(
'Sub Det And Layer'),
208 Summary_BadModules_histo_name =cms.string(
'Summary_BadModules_FromCondDB'),
209 Summary_BadModules_histo_yTitle =cms.string(
'Number of bad Modules from CondDB'),
211 Summary_BadFibers_histo_name =cms.string(
'Summary_BadFibers_FromCondDB'),
212 Summary_BadFibers_histo_yTitle =cms.string(
'Number of bad Fibers from CondDB'),
214 Summary_BadApvs_histo_name =cms.string(
'Summary_BadApvs_FromCondDB'),
215 Summary_BadApvs_histo_yTitle =cms.string(
'Number of bad Apvs from CondDB'),
217 Summary_BadStrips_histo_name =cms.string(
'Summary_BadStrips_FromCondDB'),
218 Summary_BadStrips_histo_yTitle =cms.string(
'Number of bad Strips from CondDB'),
220 SummaryOfCumul_description =cms.string(
'CumulativeSummary_SiStripQualityFromCondDB'),
221 SummaryOfCumul_xTitle =cms.string(
'SiStripQualityfrom CondDB'),
222 SummaryOfCumul_yTitle =cms.string(
' '),
224 SummaryOfCumul_NchX = cms.int32(100),
225 SummaryOfCumul_LowX = cms.double(0.0),
226 SummaryOfCumul_HighX = cms.double(100.0)
231 SiStripApvGainsDQM_PSet = cms.PSet(
233 ActiveDetIds_On = cms.bool(
True),
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),
241 CondObj_name = cms.string(
'apvgain'),
242 CondObj_fillId = cms.string(
'ProfileAndCumul'),
244 FillSummaryAtLayerLevel = cms.bool(
True),
245 FillSummaryProfileAtLayerLevel = cms.bool(
True),
247 Profile_description = cms.string(
'Profile_ApvGainFromCondDB'),
248 Profile_xTitle = cms.string(
'Apv Number'),
249 Profile_yTitle = cms.string(
'ApvGain from CondDB'),
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),
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),
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)
275 SiStripLorentzAngleDQM_PSet = cms.PSet(
277 ActiveDetIds_On = cms.bool(
False),
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),
285 CondObj_name = cms.string(
'lorentzangle'),
286 CondObj_fillId = cms.string(
'ProfileAndCumul'),
288 FillSummaryProfileAtLayerLevel = cms.bool(
True),
289 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
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),
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)
307 SiStripBackPlaneCorrectionDQM_PSet = cms.PSet(
309 ActiveDetIds_On = cms.bool(
False),
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),
317 CondObj_name = cms.string(
'bpcorrection'),
318 CondObj_fillId = cms.string(
'ProfileAndCumul'),
320 FillSummaryProfileAtLayerLevel = cms.bool(
True),
321 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
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),
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)
340 SiStripLowThresholdDQM_PSet = cms.PSet(
342 ActiveDetIds_On = cms.bool(
True),
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),
350 WhichThreshold= cms.string(
'Low'),
352 CondObj_fillId = cms.string(
'onlyProfile'),
353 CondObj_name = cms.string(
'lowthreshold'),
355 FillSummaryAtLayerLevel= cms.bool(
True),
356 FillSummaryProfileAtLayerLevel=cms.bool(
True),
357 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
359 Profile_description = cms.string(
'Profile_LowThresholdFromCondDB'),
360 Profile_xTitle = cms.string(
'Strip Number'),
361 Profile_yTitle = cms.string(
'Low Threshold from CondDB(ADC)'),
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),
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)
381 SiStripHighThresholdDQM_PSet = cms.PSet(
383 ActiveDetIds_On = cms.bool(
True),
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),
391 WhichThreshold= cms.string(
'High'),
393 CondObj_fillId = cms.string(
'onlyProfile'),
394 CondObj_name = cms.string(
'highthreshold'),
396 FillSummaryAtLayerLevel= cms.bool(
True),
397 FillSummaryProfileAtLayerLevel=cms.bool(
True),
398 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
400 Profile_description = cms.string(
'Profile_HighThresholdFromCondDB'),
401 Profile_xTitle = cms.string(
'Strip Number'),
402 Profile_yTitle = cms.string(
'High Threshold from CondDB(ADC)'),
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),
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)