6 import FWCore.ParameterSet.Config
as cms
8 myOnDemandExample = cms.EDAnalyzer(
"SiStripMonitorCondDataOnDemandExample",
10 OutputMEsInRootFile = cms.bool(
True),
11 OutputFileName = cms.string(
'SiStripMonitorCondDataOnDemandExample.root'),
13 MonitorSiStripPedestal = cms.bool(
True),
14 MonitorSiStripNoise = cms.bool(
True),
15 MonitorSiStripQuality = cms.bool(
True),
16 MonitorSiStripApvGain = cms.bool(
False),
17 MonitorSiStripLorentzAngle = cms.bool(
False),
18 MonitorSiStripBackPlaneCorrection = cms.bool(
False),
20 MonitorSiStripCabling = cms.bool(
False),
21 MonitorSiStripLowThreshold = cms.bool(
False),
22 MonitorSiStripHighThreshold= cms.bool(
False) ,
25 FillConditions_PSet = cms.PSet(
26 FolderName_For_QualityAndCabling_SummaryHistos= cms.string(
"SiStrip/Tracks"),
27 Mod_On = cms.bool(
False),
28 HistoMaps_On = cms.bool(
False),
29 SummaryOnStringLevel_On = cms.bool(
False),
30 SummaryOnLayerLevel_On = cms.bool(
True),
31 GrandSummary_On = cms.bool(
False),
32 StripQualityLabel = cms.string(
''),
35 restrictModules = cms.bool(
False),
36 ModulesToBeIncluded_DetIdSelector = cms.vstring(
46 ModulesToBeExcluded_DetIdSelector = cms.vstring(
57 ModulesToBeIncluded = cms.vuint32(),
58 ModulesToBeExcluded = cms.vuint32(),
61 SubDetectorsToBeExcluded = cms.vstring(
'none'),
63 ModulesToBeFilled = cms.string(
'all')
68 SiStripCablingDQM_PSet = cms.PSet(
70 CondObj_fillId = cms.string(
'onlyProfile'),
71 CondObj_name = cms.string(
'fedcabling')
75 SiStripLowThresholdDQM_PSet = cms.PSet(
77 WhichThreshold= cms.string(
'Low'),
79 CondObj_fillId = cms.string(
'onlyProfile'),
80 CondObj_name = cms.string(
'lowthreshold'),
82 FillSummaryAtLayerLevel= cms.bool(
True),
83 FillSummaryProfileAtLayerLevel=cms.bool(
False),
86 Profile_description = cms.string(
'Profile_LowThresholdFromCondDB'),
87 Profile_xTitle = cms.string(
'Strip Number'),
88 Profile_yTitle = cms.string(
'Low Threshold from CondDB(ADC)'),
90 SummaryOfProfile_description = cms.string(
'ProfileSummary_LowThresholdFromCondDB'),
91 SummaryOfProfile_xTitle = cms.string(
'Strip Number'),
92 SummaryOfProfile_yTitle = cms.string(
'Low Threshold from CondDB(ADC)'),
93 SummaryOfProfile_NchY = cms.int32(100),
94 SummaryOfProfile_LowY = cms.double(0),
95 SummaryOfProfile_HighY = cms.double(10),
99 Summary_description = cms.string(
'Summary_LowThresholdFromCondDB'),
100 Summary_xTitle = cms.string(
'detId'),
101 Summary_yTitle = cms.string(
'Low Threshold from CondDB(ADC)'),
102 Summary_NchY = cms.int32(100),
103 Summary_LowY = cms.double(0),
104 Summary_HighY = cms.double(10)
108 SiStripHighThresholdDQM_PSet = cms.PSet(
110 WhichThreshold= cms.string(
'High'),
112 CondObj_fillId = cms.string(
'onlyProfile'),
113 CondObj_name = cms.string(
'highthreshold'),
115 FillSummaryAtLayerLevel= cms.bool(
True),
116 FillSummaryProfileAtLayerLevel=cms.bool(
False),
119 Profile_description = cms.string(
'Profile_HighThresholdFromCondDB'),
120 Profile_xTitle = cms.string(
'Strip Number'),
121 Profile_yTitle = cms.string(
'High Threshold from CondDB(ADC)'),
123 SummaryOfProfile_description = cms.string(
'ProfileSummary_HighThresholdFromCondDB'),
124 SummaryOfProfile_xTitle = cms.string(
'Strip Number'),
125 SummaryOfProfile_yTitle = cms.string(
'High Threshold from CondDB(ADC)'),
126 SummaryOfProfile_NchY = cms.int32(100),
127 SummaryOfProfile_LowY = cms.double(0),
128 SummaryOfProfile_HighY = cms.double(10),
132 Summary_description = cms.string(
'Summary_HighThresholdFromCondDB'),
133 Summary_xTitle = cms.string(
'detId'),
134 Summary_yTitle = cms.string(
'High Threshold from CondDB(ADC)'),
135 Summary_NchY = cms.int32(100),
136 Summary_LowY = cms.double(0),
137 Summary_HighY = cms.double(10)
141 SiStripApvGainsDQM_PSet = cms.PSet(
143 CondObj_name = cms.string(
'apvgain'),
144 CondObj_fillId = cms.string(
'onlyProfile'),
146 FillSummaryAtLayerLevel = cms.bool(
True),
147 FillSummaryProfileAtLayerLevel = cms.bool(
False),
149 Profile_description = cms.string(
'Profile_ApvGainFromCondDB'),
150 Profile_xTitle = cms.string(
'Apv Number'),
151 Profile_yTitle = cms.string(
'ApvGain from CondDB'),
153 Cumul_description = cms.string(
'ApvGainFromCondDB'),
154 Cumul_xTitle = cms.string(
'ApvGain from CondDB'),
155 Cumul_yTitle = cms.string(
' '),
156 Cumul_NchX = cms.int32(50),
157 Cumul_LowX = cms.double(0.5),
158 Cumul_HighX = cms.double(1.5),
160 SummaryOfProfile_description = cms.string(
'ProfileSummary_ApvGainFromCondDB'),
161 SummaryOfProfile_xTitle = cms.string(
'Apv Number'),
162 SummaryOfProfile_yTitle = cms.string(
'ApvGain from CondDB'),
163 SummaryOfProfile_NchY = cms.int32(50),
164 SummaryOfProfile_LowY = cms.double(0.5),
165 SummaryOfProfile_HighY = cms.double(1.5),
167 Summary_description = cms.string(
'Summary_ApvGainFromCondDB'),
168 Summary_xTitle = cms.string(
'detId'),
169 Summary_yTitle = cms.string(
'ApvGain from CondDB'),
170 Summary_NchY = cms.int32(50),
171 Summary_LowY = cms.double(0.5),
172 Summary_HighY = cms.double(1.5)
177 SiStripQualityDQM_PSet = cms.PSet(
179 CondObj_name = cms.string(
'quality'),
180 CondObj_fillId = cms.string(
'ProfileAndCumul'),
182 FillSummaryAtLayerLevel = cms.bool(
True),
184 Profile_description = cms.string(
'Profile_QualityFlagFromCondDB'),
185 Profile_xTitle = cms.string(
'Strip Number'),
186 Profile_yTitle = cms.string(
'Quality Flag from CondDB'),
188 Summary_description = cms.string(
'Summary_FractionOfBadStripsFromCondDB'),
189 Summary_xTitle = cms.string(
'detId'),
190 Summary_yTitle = cms.string(
'Fraction of bad strips from CondDB(%)'),
191 Summary_NchY = cms.int32(100),
192 Summary_LowY = cms.double(0.5),
193 Summary_HighY = cms.double(100.5),
195 Summary_BadObjects_histo_xTitle =cms.string(
'Sub Det And Layer'),
197 Summary_BadModules_histo_name =cms.string(
'Summary_BadModules_FromCondDB'),
198 Summary_BadModules_histo_yTitle =cms.string(
'Number of bad Modules from CondDB'),
200 Summary_BadFibers_histo_name =cms.string(
'Summary_BadFibers_FromCondDB'),
201 Summary_BadFibers_histo_yTitle =cms.string(
'Number of bad Fibers from CondDB'),
203 Summary_BadApvs_histo_name =cms.string(
'Summary_BadApvs_FromCondDB'),
204 Summary_BadApvs_histo_yTitle =cms.string(
'Number of bad Apvs from CondDB'),
206 Summary_BadStrips_histo_name =cms.string(
'Summary_BadStrips_FromCondDB'),
207 Summary_BadStrips_histo_yTitle =cms.string(
'Number of bad Strips from CondDB'),
209 SummaryOfCumul_description =cms.string(
'CumulativeSummary_SiStripQualityFromCondDB'),
210 SummaryOfCumul_xTitle =cms.string(
'SiStripQualityfrom CondDB'),
211 SummaryOfCumul_yTitle =cms.string(
' '),
213 SummaryOfCumul_NchX = cms.int32(100),
214 SummaryOfCumul_LowX = cms.double(0.0),
215 SummaryOfCumul_HighX = cms.double(100.0)
220 SiStripLorentzAngleDQM_PSet = cms.PSet(
222 CondObj_name = cms.string(
'lorentzangle'),
223 CondObj_fillId = cms.string(
'none'),
225 FillSummaryProfileAtLayerLevel = cms.bool(
False),
226 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
228 SummaryOfCumul_description = cms.string(
'ProfileSummary_LorentzAngleFromCondDB'),
229 SummaryOfCumul_xTitle = cms.string(
'LorentzAngle from CondDB'),
230 SummaryOfCumul_yTitle = cms.string(
' '),
231 SummaryOfCumul_NchX = cms.int32(50),
232 SummaryOfCumul_LowX = cms.double(0.01),
233 SummaryOfCumul_HighX = cms.double(0.06),
235 SummaryOfProfile_description = cms.string(
'Summary_LorentzAngleFromCondDB'),
236 SummaryOfProfile_xTitle = cms.string(
'detId'),
237 SummaryOfProfile_yTitle = cms.string(
'LorentzAngle from CondDB'),
238 SummaryOfProfile_NchY = cms.int32(50),
239 SummaryOfProfile_LowY = cms.double(0.01),
240 SummaryOfProfile_HighY = cms.double(0.06)
245 SiStripBackPlaneCorrectionDQM_PSet = cms.PSet(
247 CondObj_name = cms.string(
'bpcorrection'),
248 CondObj_fillId = cms.string(
'none'),
250 FillSummaryProfileAtLayerLevel = cms.bool(
False),
251 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
253 SummaryOfCumul_description = cms.string(
'ProfileSummary_BackPlaneCorrectionFromCondDB'),
254 SummaryOfCumul_xTitle = cms.string(
'BackPlaneCorrection from CondDB'),
255 SummaryOfCumul_yTitle = cms.string(
' '),
256 SummaryOfCumul_NchX = cms.int32(50),
257 SummaryOfCumul_LowX = cms.double(0.00),
258 SummaryOfCumul_HighX = cms.double(0.10),
260 SummaryOfProfile_description = cms.string(
'Summary_BackPlaneCorrectionFromCondDB'),
261 SummaryOfProfile_xTitle = cms.string(
'detId'),
262 SummaryOfProfile_yTitle = cms.string(
'BackPlaneCorrection from CondDB'),
263 SummaryOfProfile_NchY = cms.int32(50),
264 SummaryOfProfile_LowY = cms.double(0.00),
265 SummaryOfProfile_HighY = cms.double(0.10)
270 SiStripNoisesDQM_PSet = cms.PSet(
272 CondObj_fillId = cms.string(
'onlyProfile'),
273 CondObj_name = cms.string(
'noise'),
275 GainRenormalisation = cms.bool(
False),
276 SimGainRenormalisation = cms.bool(
False),
278 FillSummaryAtLayerLevel = cms.bool(
True),
279 FillSummaryProfileAtLayerLevel = cms.bool(
False),
280 FillCumulativeSummaryAtLayerLevel = cms.bool(
True),
282 Profile_description = cms.string(
'Profile_NoiseFromCondDB'),
283 Profile_xTitle = cms.string(
'Strip Number'),
284 Profile_yTitle = cms.string(
'Noise from CondDB(ADC)'),
286 Cumul_description = cms.string(
'NoiseFromCondDB'),
287 Cumul_xTitle = cms.string(
'Noise from CondDB(ADC)'),
288 Cumul_yTitle = cms.string(
' '),
289 Cumul_NchX = cms.int32(50),
290 Cumul_LowX = cms.double(0.0),
291 Cumul_HighX = cms.double(6.0),
293 SummaryOfProfile_description = cms.string(
'ProfileSummary_NoiseFromCondDB'),
294 SummaryOfProfile_xTitle = cms.string(
'Strip Number'),
295 SummaryOfProfile_yTitle = cms.string(
'Noise from CondDB(ADC)'),
296 SummaryOfProfile_NchY = cms.int32(50),
297 SummaryOfProfile_LowY = cms.double(0.0),
298 SummaryOfProfile_HighY = cms.double(6.0),
300 Summary_description = cms.string(
'Summary_NoiseFromCondDB'),
301 Summary_xTitle = cms.string(
'detId'),
302 Summary_yTitle = cms.string(
'Noise from CondDB(ADC)'),
303 Summary_NchY = cms.int32(50),
304 Summary_LowY = cms.double(0.0),
305 Summary_HighY = cms.double(6.0),
307 SummaryOfCumul_description = cms.string(
'CumulativeSummary_NoiseFromCondDB'),
308 SummaryOfCumul_xTitle = cms.string(
'Noise from CondDB'),
309 SummaryOfCumul_yTitle = cms.string(
' '),
310 SummaryOfCumul_NchX = cms.int32(50),
311 SummaryOfCumul_LowX = cms.double(0.0),
312 SummaryOfCumul_HighX = cms.double(10.0)
317 SiStripPedestalsDQM_PSet = cms.PSet(
319 CondObj_fillId = cms.string(
'onlyProfile'),
320 CondObj_name = cms.string(
'pedestal'),
322 FillSummaryAtLayerLevel = cms.bool(
True),
323 FillSummaryProfileAtLayerLevel = cms.bool(
False),
325 Profile_description = cms.string(
'Profile_PedestalFromCondDB'),
326 Profile_xTitle = cms.string(
'Strip Number'),
327 Profile_yTitle = cms.string(
'Pedestal from CondDB(ADC)'),
329 SummaryOfProfile_description = cms.string(
'ProfileSummary_PedestalFromCondDB'),
330 SummaryOfProfile_xTitle = cms.string(
'Strip Number'),
331 SummaryOfProfile_yTitle = cms.string(
'Pedestal from CondDB(ADC)'),
332 SummaryOfProfile_NchY = cms.int32(100),
333 SummaryOfProfile_LowY = cms.double(0.0),
334 SummaryOfProfile_HighY = cms.double(1000.0),
336 Summary_description = cms.string(
'Summary_PedestalFromCondDB'),
337 Summary_xTitle = cms.string(
'detId'),
338 Summary_yTitle = cms.string(
'Pedestal from CondDB(ADC)'),
339 Summary_NchY = cms.int32(100),
340 Summary_LowY = cms.double(0.0),
341 Summary_HighY = cms.double(1000.0)