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.root'),
9 OutputMEsInRootFile = cms.bool(
True),
11 MonitorSiStrip_PSet = MonitorSiStrip_PSet.clone(
12 MonitorSiStripPedestal =
True,
13 MonitorSiStripNoise =
True,
14 MonitorSiStripQuality =
True,
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 Mod_On = cms.bool(
False),
26 HistoMaps_On = cms.bool(
True),
27 SummaryOnStringLevel_On = cms.bool(
False),
28 SummaryOnLayerLevel_On = cms.bool(
True),
29 GrandSummary_On = cms.bool(
True),
30 StripQualityLabel = cms.string(
''),
33 restrictModules = cms.bool(
False),
34 ModulesToBeIncluded_DetIdSelector = cms.vstring(
44 ModulesToBeExcluded_DetIdSelector = cms.vstring(
55 ModulesToBeIncluded = cms.vuint32(),
56 ModulesToBeExcluded = cms.vuint32(),
59 SubDetectorsToBeExcluded = cms.vstring(
'none'),
61 ModulesToBeFilled = cms.string(
'all')
65 SiStripCablingDQM_PSet = cms.PSet(
67 CondObj_fillId = cms.string(
'ProfileAndCumul'),
68 CondObj_name = cms.string(
'fedcabling')
73 SiStripPedestalsDQM_PSet = cms.PSet(
75 CondObj_fillId = cms.string(
'ProfileAndCumul'),
76 CondObj_name = cms.string(
'pedestal'),
78 FillSummaryAtLayerLevel = cms.bool(
True),
79 FillSummaryProfileAtLayerLevel = cms.bool(
True),
81 Profile_description = cms.string(
'Profile_PedestalFromCondDB'),
82 Profile_xTitle = cms.string(
'Strip Number'),
83 Profile_yTitle = cms.string(
'Pedestal from CondDB(ADC)'),
85 SummaryOfProfile_description = cms.string(
'ProfileSummary_PedestalFromCondDB'),
86 SummaryOfProfile_xTitle = cms.string(
'Strip Number'),
87 SummaryOfProfile_yTitle = cms.string(
'Pedestal from CondDB(ADC)'),
88 SummaryOfProfile_NchY = cms.int32(100),
89 SummaryOfProfile_LowY = cms.double(0.0),
90 SummaryOfProfile_HighY = cms.double(1000.0),
92 Summary_description = cms.string(
'Summary_PedestalFromCondDB'),
93 Summary_xTitle = cms.string(
'detId'),
94 Summary_yTitle = cms.string(
'Pedestal from CondDB(ADC)'),
95 Summary_NchY = cms.int32(100),
96 Summary_LowY = cms.double(0.0),
97 Summary_HighY = cms.double(1000.0)
101 SiStripNoisesDQM_PSet = cms.PSet(
103 CondObj_fillId = cms.string(
'ProfileAndCumul'),
104 CondObj_name = cms.string(
'noise'),
106 GainRenormalisation = cms.bool(
False),
107 SimGainRenormalisation = cms.bool(
False),
109 FillSummaryAtLayerLevel = cms.bool(
True),
110 FillSummaryProfileAtLayerLevel = cms.bool(
True),
111 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
113 Profile_description = cms.string(
'Profile_NoiseFromCondDB'),
114 Profile_xTitle = cms.string(
'Strip Number'),
115 Profile_yTitle = cms.string(
'Noise from CondDB(ADC)'),
117 Cumul_description = cms.string(
'NoiseFromCondDB'),
118 Cumul_xTitle = cms.string(
'Noise from CondDB(ADC)'),
119 Cumul_yTitle = cms.string(
' '),
120 Cumul_NchX = cms.int32(50),
121 Cumul_LowX = cms.double(0.0),
122 Cumul_HighX = cms.double(6.0),
124 SummaryOfProfile_description = cms.string(
'ProfileSummary_NoiseFromCondDB'),
125 SummaryOfProfile_xTitle = cms.string(
'Strip Number'),
126 SummaryOfProfile_yTitle = cms.string(
'Noise from CondDB(ADC)'),
127 SummaryOfProfile_NchY = cms.int32(50),
128 SummaryOfProfile_LowY = cms.double(0.0),
129 SummaryOfProfile_HighY = cms.double(6.0),
131 Summary_description = cms.string(
'Summary_NoiseFromCondDB'),
132 Summary_xTitle = cms.string(
'detId'),
133 Summary_yTitle = cms.string(
'Noise from CondDB(ADC)'),
134 Summary_NchY = cms.int32(50),
135 Summary_LowY = cms.double(0.0),
136 Summary_HighY = cms.double(6.0),
138 SummaryOfCumul_description = cms.string(
'CumulativeSummary_NoiseFromCondDB'),
139 SummaryOfCumul_xTitle = cms.string(
'Noise from CondDB'),
140 SummaryOfCumul_yTitle = cms.string(
' '),
141 SummaryOfCumul_NchX = cms.int32(50),
142 SummaryOfCumul_LowX = cms.double(0.0),
143 SummaryOfCumul_HighX = cms.double(10.0)
147 SiStripQualityDQM_PSet = cms.PSet(
149 CondObj_name = cms.string(
'quality'),
150 CondObj_fillId = cms.string(
'onlyProfile'),
152 FillSummaryAtLayerLevel = cms.bool(
False),
154 Profile_description = cms.string(
'Profile_QualityFlagFromCondDB'),
155 Profile_xTitle = cms.string(
'Strip Number'),
156 Profile_yTitle = cms.string(
'Quality Flag from CondDB'),
158 Summary_description = cms.string(
'Summary_FractionOfBadStripsFromCondDB'),
159 Summary_xTitle = cms.string(
'detId'),
160 Summary_yTitle = cms.string(
'Fraction of bad strips from CondDB(%)'),
161 Summary_NchY = cms.int32(100),
162 Summary_LowY = cms.double(0.5),
163 Summary_HighY = cms.double(100.5),
165 Summary_BadObjects_histo_xTitle =cms.string(
'Sub Det And Layer'),
167 Summary_BadModules_histo_name =cms.string(
'Summary_BadModules_FromCondDB'),
168 Summary_BadModules_histo_yTitle =cms.string(
'Number of bad Modules from CondDB'),
170 Summary_BadFibers_histo_name =cms.string(
'Summary_BadFibers_FromCondDB'),
171 Summary_BadFibers_histo_yTitle =cms.string(
'Number of bad Fibers from CondDB'),
173 Summary_BadApvs_histo_name =cms.string(
'Summary_BadApvs_FromCondDB'),
174 Summary_BadApvs_histo_yTitle =cms.string(
'Number of bad Apvs from CondDB'),
176 Summary_BadStrips_histo_name =cms.string(
'Summary_BadStrips_FromCondDB'),
177 Summary_BadStrips_histo_yTitle =cms.string(
'Number of bad Strips from CondDB'),
179 SummaryOfCumul_description =cms.string(
'CumulativeSummary_SiStripQualityFromCondDB'),
180 SummaryOfCumul_xTitle =cms.string(
'SiStripQualityfrom CondDB'),
181 SummaryOfCumul_yTitle =cms.string(
' '),
183 SummaryOfCumul_NchX = cms.int32(100),
184 SummaryOfCumul_LowX = cms.double(0.0),
185 SummaryOfCumul_HighX = cms.double(100.0)
190 SiStripApvGainsDQM_PSet = cms.PSet(
192 CondObj_name = cms.string(
'apvgain'),
193 CondObj_fillId = cms.string(
'ProfileAndCumul'),
195 FillSummaryAtLayerLevel = cms.bool(
True),
196 FillSummaryProfileAtLayerLevel = cms.bool(
True),
198 Profile_description = cms.string(
'Profile_ApvGainFromCondDB'),
199 Profile_xTitle = cms.string(
'Apv Number'),
200 Profile_yTitle = cms.string(
'ApvGain from CondDB'),
202 Cumul_description = cms.string(
'ApvGainFromCondDB'),
203 Cumul_xTitle = cms.string(
'ApvGain from CondDB'),
204 Cumul_yTitle = cms.string(
' '),
205 Cumul_NchX = cms.int32(50),
206 Cumul_LowX = cms.double(0.5),
207 Cumul_HighX = cms.double(1.5),
209 SummaryOfProfile_description = cms.string(
'ProfileSummary_ApvGainFromCondDB'),
210 SummaryOfProfile_xTitle = cms.string(
'Apv Number'),
211 SummaryOfProfile_yTitle = cms.string(
'ApvGain from CondDB'),
212 SummaryOfProfile_NchY = cms.int32(50),
213 SummaryOfProfile_LowY = cms.double(0.5),
214 SummaryOfProfile_HighY = cms.double(1.5),
216 Summary_description = cms.string(
'Summary_ApvGainFromCondDB'),
217 Summary_xTitle = cms.string(
'detId'),
218 Summary_yTitle = cms.string(
'ApvGain from CondDB'),
219 Summary_NchY = cms.int32(50),
220 Summary_LowY = cms.double(0.5),
221 Summary_HighY = cms.double(1.5)
225 SiStripLorentzAngleDQM_PSet = cms.PSet(
227 CondObj_name = cms.string(
'lorentzangle'),
228 CondObj_fillId = cms.string(
'ProfileAndCumul'),
230 FillSummaryProfileAtLayerLevel = cms.bool(
True),
231 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
233 SummaryOfCumul_description = cms.string(
'ProfileSummary_LorentzAngleFromCondDB'),
234 SummaryOfCumul_xTitle = cms.string(
'LorentzAngle from CondDB'),
235 SummaryOfCumul_yTitle = cms.string(
' '),
236 SummaryOfCumul_NchX = cms.int32(50),
237 SummaryOfCumul_LowX = cms.double(0.01),
238 SummaryOfCumul_HighX = cms.double(0.06),
240 SummaryOfProfile_description = cms.string(
'Summary_LorentzAngleFromCondDB'),
241 SummaryOfProfile_xTitle = cms.string(
'detId'),
242 SummaryOfProfile_yTitle = cms.string(
'LorentzAngle from CondDB'),
243 SummaryOfProfile_NchY = cms.int32(50),
244 SummaryOfProfile_LowY = cms.double(0.01),
245 SummaryOfProfile_HighY = cms.double(0.06)
248 SiStripBackPlaneCorrectionDQM_PSet = cms.PSet(
250 CondObj_name = cms.string(
'bpcorrection'),
251 CondObj_fillId = cms.string(
'ProfileAndCumul'),
253 FillSummaryProfileAtLayerLevel = cms.bool(
True),
254 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
256 SummaryOfCumul_description = cms.string(
'ProfileSummary_BackPlaneCorrectionFromCondDB'),
257 SummaryOfCumul_xTitle = cms.string(
'BackPlaneCorrection from CondDB'),
258 SummaryOfCumul_yTitle = cms.string(
' '),
259 SummaryOfCumul_NchX = cms.int32(50),
260 SummaryOfCumul_LowX = cms.double(0.00),
261 SummaryOfCumul_HighX = cms.double(0.10),
263 SummaryOfProfile_description = cms.string(
'Summary_BackPlaneCorrectionFromCondDB'),
264 SummaryOfProfile_xTitle = cms.string(
'detId'),
265 SummaryOfProfile_yTitle = cms.string(
'BackPlaneCorrection from CondDB'),
266 SummaryOfProfile_NchY = cms.int32(50),
267 SummaryOfProfile_LowY = cms.double(0.00),
268 SummaryOfProfile_HighY = cms.double(0.10)
271 SiStripLowThresholdDQM_PSet = cms.PSet(
273 WhichThreshold= cms.string(
'Low'),
275 CondObj_fillId = cms.string(
'onlyProfile'),
276 CondObj_name = cms.string(
'lowthreshold'),
278 FillSummaryAtLayerLevel= cms.bool(
True),
279 FillSummaryProfileAtLayerLevel=cms.bool(
True),
282 Profile_description = cms.string(
'Profile_LowThresholdFromCondDB'),
283 Profile_xTitle = cms.string(
'Strip Number'),
284 Profile_yTitle = cms.string(
'Low Threshold from CondDB(ADC)'),
286 SummaryOfProfile_description = cms.string(
'ProfileSummary_LowThresholdFromCondDB'),
287 SummaryOfProfile_xTitle = cms.string(
'Strip Number'),
288 SummaryOfProfile_yTitle = cms.string(
'Low Threshold from CondDB(ADC)'),
289 SummaryOfProfile_NchY = cms.int32(100),
290 SummaryOfProfile_LowY = cms.double(0),
291 SummaryOfProfile_HighY = cms.double(10),
295 Summary_description = cms.string(
'Summary_LowThresholdFromCondDB'),
296 Summary_xTitle = cms.string(
'detId'),
297 Summary_yTitle = cms.string(
'Low Threshold from CondDB(ADC)'),
298 Summary_NchY = cms.int32(100),
299 Summary_LowY = cms.double(0),
300 Summary_HighY = cms.double(10)
302 SiStripHighThresholdDQM_PSet = cms.PSet(
304 WhichThreshold= cms.string(
'High'),
306 CondObj_fillId = cms.string(
'onlyProfile'),
307 CondObj_name = cms.string(
'highthreshold'),
309 FillSummaryAtLayerLevel= cms.bool(
True),
310 FillSummaryProfileAtLayerLevel=cms.bool(
True),
313 Profile_description = cms.string(
'Profile_HighThresholdFromCondDB'),
314 Profile_xTitle = cms.string(
'Strip Number'),
315 Profile_yTitle = cms.string(
'High Threshold from CondDB(ADC)'),
317 SummaryOfProfile_description = cms.string(
'ProfileSummary_HighThresholdFromCondDB'),
318 SummaryOfProfile_xTitle = cms.string(
'Strip Number'),
319 SummaryOfProfile_yTitle = cms.string(
'High Threshold from CondDB(ADC)'),
320 SummaryOfProfile_NchY = cms.int32(100),
321 SummaryOfProfile_LowY = cms.double(0),
322 SummaryOfProfile_HighY = cms.double(10),
326 Summary_description = cms.string(
'Summary_HighThresholdFromCondDB'),
327 Summary_xTitle = cms.string(
'detId'),
328 Summary_yTitle = cms.string(
'High Threshold from CondDB(ADC)'),
329 Summary_NchY = cms.int32(100),
330 Summary_LowY = cms.double(0),
331 Summary_HighY = cms.double(10)