6 import FWCore.ParameterSet.Config
as cms
8 from DQM.SiStripMonitorSummary.SiStripMonitorCommon_cfi
import MonitorSiStrip_PSet
10 myOnDemandExample = cms.EDAnalyzer(
"SiStripMonitorCondDataOnDemandExample",
12 OutputMEsInRootFile = cms.bool(
True),
13 OutputFileName = cms.string(
'SiStripMonitorCondDataOnDemandExample.root'),
15 MonitorSiStrip_PSet = MonitorSiStrip_PSet.clone(
16 MonitorSiStripPedestal =
True 19 FillConditions_PSet = cms.PSet(
20 FolderName_For_QualityAndCabling_SummaryHistos= cms.string(
"SiStrip/Tracks"),
21 Mod_On = cms.bool(
False),
22 HistoMaps_On = cms.bool(
False),
23 SummaryOnStringLevel_On = cms.bool(
False),
24 SummaryOnLayerLevel_On = cms.bool(
True),
25 GrandSummary_On = cms.bool(
False),
26 StripQualityLabel = cms.string(
''),
29 restrictModules = cms.bool(
False),
30 ModulesToBeIncluded_DetIdSelector = cms.vstring(
40 ModulesToBeExcluded_DetIdSelector = cms.vstring(
51 ModulesToBeIncluded = cms.vuint32(),
52 ModulesToBeExcluded = cms.vuint32(),
55 SubDetectorsToBeExcluded = cms.vstring(
'none'),
57 ModulesToBeFilled = cms.string(
'all')
62 SiStripCablingDQM_PSet = cms.PSet(
64 CondObj_fillId = cms.string(
'onlyProfile'),
65 CondObj_name = cms.string(
'fedcabling')
69 SiStripLowThresholdDQM_PSet = cms.PSet(
71 WhichThreshold= cms.string(
'Low'),
73 CondObj_fillId = cms.string(
'onlyProfile'),
74 CondObj_name = cms.string(
'lowthreshold'),
76 FillSummaryAtLayerLevel= cms.bool(
True),
77 FillSummaryProfileAtLayerLevel=cms.bool(
False),
80 Profile_description = cms.string(
'Profile_LowThresholdFromCondDB'),
81 Profile_xTitle = cms.string(
'Strip Number'),
82 Profile_yTitle = cms.string(
'Low Threshold from CondDB(ADC)'),
84 SummaryOfProfile_description = cms.string(
'ProfileSummary_LowThresholdFromCondDB'),
85 SummaryOfProfile_xTitle = cms.string(
'Strip Number'),
86 SummaryOfProfile_yTitle = cms.string(
'Low Threshold from CondDB(ADC)'),
87 SummaryOfProfile_NchY = cms.int32(100),
88 SummaryOfProfile_LowY = cms.double(0),
89 SummaryOfProfile_HighY = cms.double(10),
93 Summary_description = cms.string(
'Summary_LowThresholdFromCondDB'),
94 Summary_xTitle = cms.string(
'detId'),
95 Summary_yTitle = cms.string(
'Low Threshold from CondDB(ADC)'),
96 Summary_NchY = cms.int32(100),
97 Summary_LowY = cms.double(0),
98 Summary_HighY = cms.double(10)
102 SiStripHighThresholdDQM_PSet = cms.PSet(
104 WhichThreshold= cms.string(
'High'),
106 CondObj_fillId = cms.string(
'onlyProfile'),
107 CondObj_name = cms.string(
'highthreshold'),
109 FillSummaryAtLayerLevel= cms.bool(
True),
110 FillSummaryProfileAtLayerLevel=cms.bool(
False),
113 Profile_description = cms.string(
'Profile_HighThresholdFromCondDB'),
114 Profile_xTitle = cms.string(
'Strip Number'),
115 Profile_yTitle = cms.string(
'High Threshold from CondDB(ADC)'),
117 SummaryOfProfile_description = cms.string(
'ProfileSummary_HighThresholdFromCondDB'),
118 SummaryOfProfile_xTitle = cms.string(
'Strip Number'),
119 SummaryOfProfile_yTitle = cms.string(
'High Threshold from CondDB(ADC)'),
120 SummaryOfProfile_NchY = cms.int32(100),
121 SummaryOfProfile_LowY = cms.double(0),
122 SummaryOfProfile_HighY = cms.double(10),
126 Summary_description = cms.string(
'Summary_HighThresholdFromCondDB'),
127 Summary_xTitle = cms.string(
'detId'),
128 Summary_yTitle = cms.string(
'High Threshold from CondDB(ADC)'),
129 Summary_NchY = cms.int32(100),
130 Summary_LowY = cms.double(0),
131 Summary_HighY = cms.double(10)
135 SiStripApvGainsDQM_PSet = cms.PSet(
137 CondObj_name = cms.string(
'apvgain'),
138 CondObj_fillId = cms.string(
'onlyProfile'),
140 FillSummaryAtLayerLevel = cms.bool(
True),
141 FillSummaryProfileAtLayerLevel = cms.bool(
False),
143 Profile_description = cms.string(
'Profile_ApvGainFromCondDB'),
144 Profile_xTitle = cms.string(
'Apv Number'),
145 Profile_yTitle = cms.string(
'ApvGain from CondDB'),
147 Cumul_description = cms.string(
'ApvGainFromCondDB'),
148 Cumul_xTitle = cms.string(
'ApvGain from CondDB'),
149 Cumul_yTitle = cms.string(
' '),
150 Cumul_NchX = cms.int32(50),
151 Cumul_LowX = cms.double(0.5),
152 Cumul_HighX = cms.double(1.5),
154 SummaryOfProfile_description = cms.string(
'ProfileSummary_ApvGainFromCondDB'),
155 SummaryOfProfile_xTitle = cms.string(
'Apv Number'),
156 SummaryOfProfile_yTitle = cms.string(
'ApvGain from CondDB'),
157 SummaryOfProfile_NchY = cms.int32(50),
158 SummaryOfProfile_LowY = cms.double(0.5),
159 SummaryOfProfile_HighY = cms.double(1.5),
161 Summary_description = cms.string(
'Summary_ApvGainFromCondDB'),
162 Summary_xTitle = cms.string(
'detId'),
163 Summary_yTitle = cms.string(
'ApvGain from CondDB'),
164 Summary_NchY = cms.int32(50),
165 Summary_LowY = cms.double(0.5),
166 Summary_HighY = cms.double(1.5)
171 SiStripQualityDQM_PSet = cms.PSet(
173 CondObj_name = cms.string(
'quality'),
174 CondObj_fillId = cms.string(
'ProfileAndCumul'),
176 FillSummaryAtLayerLevel = cms.bool(
True),
178 Profile_description = cms.string(
'Profile_QualityFlagFromCondDB'),
179 Profile_xTitle = cms.string(
'Strip Number'),
180 Profile_yTitle = cms.string(
'Quality Flag from CondDB'),
182 Summary_description = cms.string(
'Summary_FractionOfBadStripsFromCondDB'),
183 Summary_xTitle = cms.string(
'detId'),
184 Summary_yTitle = cms.string(
'Fraction of bad strips from CondDB(%)'),
185 Summary_NchY = cms.int32(100),
186 Summary_LowY = cms.double(0.5),
187 Summary_HighY = cms.double(100.5),
189 Summary_BadObjects_histo_xTitle =cms.string(
'Sub Det And Layer'),
191 Summary_BadModules_histo_name =cms.string(
'Summary_BadModules_FromCondDB'),
192 Summary_BadModules_histo_yTitle =cms.string(
'Number of bad Modules from CondDB'),
194 Summary_BadFibers_histo_name =cms.string(
'Summary_BadFibers_FromCondDB'),
195 Summary_BadFibers_histo_yTitle =cms.string(
'Number of bad Fibers from CondDB'),
197 Summary_BadApvs_histo_name =cms.string(
'Summary_BadApvs_FromCondDB'),
198 Summary_BadApvs_histo_yTitle =cms.string(
'Number of bad Apvs from CondDB'),
200 Summary_BadStrips_histo_name =cms.string(
'Summary_BadStrips_FromCondDB'),
201 Summary_BadStrips_histo_yTitle =cms.string(
'Number of bad Strips from CondDB'),
203 SummaryOfCumul_description =cms.string(
'CumulativeSummary_SiStripQualityFromCondDB'),
204 SummaryOfCumul_xTitle =cms.string(
'SiStripQualityfrom CondDB'),
205 SummaryOfCumul_yTitle =cms.string(
' '),
207 SummaryOfCumul_NchX = cms.int32(100),
208 SummaryOfCumul_LowX = cms.double(0.0),
209 SummaryOfCumul_HighX = cms.double(100.0)
214 SiStripLorentzAngleDQM_PSet = cms.PSet(
216 CondObj_name = cms.string(
'lorentzangle'),
217 CondObj_fillId = cms.string(
'none'),
219 FillSummaryProfileAtLayerLevel = cms.bool(
False),
220 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
222 SummaryOfCumul_description = cms.string(
'ProfileSummary_LorentzAngleFromCondDB'),
223 SummaryOfCumul_xTitle = cms.string(
'LorentzAngle from CondDB'),
224 SummaryOfCumul_yTitle = cms.string(
' '),
225 SummaryOfCumul_NchX = cms.int32(50),
226 SummaryOfCumul_LowX = cms.double(0.01),
227 SummaryOfCumul_HighX = cms.double(0.06),
229 SummaryOfProfile_description = cms.string(
'Summary_LorentzAngleFromCondDB'),
230 SummaryOfProfile_xTitle = cms.string(
'detId'),
231 SummaryOfProfile_yTitle = cms.string(
'LorentzAngle from CondDB'),
232 SummaryOfProfile_NchY = cms.int32(50),
233 SummaryOfProfile_LowY = cms.double(0.01),
234 SummaryOfProfile_HighY = cms.double(0.06)
239 SiStripBackPlaneCorrectionDQM_PSet = cms.PSet(
241 CondObj_name = cms.string(
'bpcorrection'),
242 CondObj_fillId = cms.string(
'none'),
244 FillSummaryProfileAtLayerLevel = cms.bool(
False),
245 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
247 SummaryOfCumul_description = cms.string(
'ProfileSummary_BackPlaneCorrectionFromCondDB'),
248 SummaryOfCumul_xTitle = cms.string(
'BackPlaneCorrection from CondDB'),
249 SummaryOfCumul_yTitle = cms.string(
' '),
250 SummaryOfCumul_NchX = cms.int32(50),
251 SummaryOfCumul_LowX = cms.double(0.00),
252 SummaryOfCumul_HighX = cms.double(0.10),
254 SummaryOfProfile_description = cms.string(
'Summary_BackPlaneCorrectionFromCondDB'),
255 SummaryOfProfile_xTitle = cms.string(
'detId'),
256 SummaryOfProfile_yTitle = cms.string(
'BackPlaneCorrection from CondDB'),
257 SummaryOfProfile_NchY = cms.int32(50),
258 SummaryOfProfile_LowY = cms.double(0.00),
259 SummaryOfProfile_HighY = cms.double(0.10)
264 SiStripNoisesDQM_PSet = cms.PSet(
266 CondObj_fillId = cms.string(
'onlyProfile'),
267 CondObj_name = cms.string(
'noise'),
269 GainRenormalisation = cms.bool(
False),
270 SimGainRenormalisation = cms.bool(
False),
272 FillSummaryAtLayerLevel = cms.bool(
True),
273 FillSummaryProfileAtLayerLevel = cms.bool(
False),
274 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
276 Profile_description = cms.string(
'Profile_NoiseFromCondDB'),
277 Profile_xTitle = cms.string(
'Strip Number'),
278 Profile_yTitle = cms.string(
'Noise from CondDB(ADC)'),
280 Cumul_description = cms.string(
'NoiseFromCondDB'),
281 Cumul_xTitle = cms.string(
'Noise from CondDB(ADC)'),
282 Cumul_yTitle = cms.string(
' '),
283 Cumul_NchX = cms.int32(50),
284 Cumul_LowX = cms.double(0.0),
285 Cumul_HighX = cms.double(6.0),
287 SummaryOfProfile_description = cms.string(
'ProfileSummary_NoiseFromCondDB'),
288 SummaryOfProfile_xTitle = cms.string(
'Strip Number'),
289 SummaryOfProfile_yTitle = cms.string(
'Noise from CondDB(ADC)'),
290 SummaryOfProfile_NchY = cms.int32(50),
291 SummaryOfProfile_LowY = cms.double(0.0),
292 SummaryOfProfile_HighY = cms.double(6.0),
294 Summary_description = cms.string(
'Summary_NoiseFromCondDB'),
295 Summary_xTitle = cms.string(
'detId'),
296 Summary_yTitle = cms.string(
'Noise from CondDB(ADC)'),
297 Summary_NchY = cms.int32(50),
298 Summary_LowY = cms.double(0.0),
299 Summary_HighY = cms.double(6.0),
301 SummaryOfCumul_description = cms.string(
'CumulativeSummary_NoiseFromCondDB'),
302 SummaryOfCumul_xTitle = cms.string(
'Noise from CondDB'),
303 SummaryOfCumul_yTitle = cms.string(
' '),
304 SummaryOfCumul_NchX = cms.int32(50),
305 SummaryOfCumul_LowX = cms.double(0.0),
306 SummaryOfCumul_HighX = cms.double(10.0)
311 SiStripPedestalsDQM_PSet = cms.PSet(
313 CondObj_fillId = cms.string(
'onlyProfile'),
314 CondObj_name = cms.string(
'pedestal'),
316 FillSummaryAtLayerLevel = cms.bool(
True),
317 FillSummaryProfileAtLayerLevel = cms.bool(
False),
319 Profile_description = cms.string(
'Profile_PedestalFromCondDB'),
320 Profile_xTitle = cms.string(
'Strip Number'),
321 Profile_yTitle = cms.string(
'Pedestal from CondDB(ADC)'),
323 SummaryOfProfile_description = cms.string(
'ProfileSummary_PedestalFromCondDB'),
324 SummaryOfProfile_xTitle = cms.string(
'Strip Number'),
325 SummaryOfProfile_yTitle = cms.string(
'Pedestal from CondDB(ADC)'),
326 SummaryOfProfile_NchY = cms.int32(100),
327 SummaryOfProfile_LowY = cms.double(0.0),
328 SummaryOfProfile_HighY = cms.double(1000.0),
330 Summary_description = cms.string(
'Summary_PedestalFromCondDB'),
331 Summary_xTitle = cms.string(
'detId'),
332 Summary_yTitle = cms.string(
'Pedestal from CondDB(ADC)'),
333 Summary_NchY = cms.int32(100),
334 Summary_LowY = cms.double(0.0),
335 Summary_HighY = cms.double(1000.0)