File indexing completed on 2024-04-06 12:08:53
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from DQM.SiStripMonitorSummary.SiStripMonitorCommon_cfi import MonitorSiStrip_PSet
0004
0005 OnDemandMonitoring = cms.EDAnalyzer("SiStripMonitorCondDataOnDemandExample",
0006
0007 OutputMEsInRootFile = cms.bool(False),
0008 OutputFileName = cms.string('SiStripMonitorCondDataOnDemandExample.root'),
0009
0010 MonitorSiStrip_PSet = MonitorSiStrip_PSet,
0011
0012 FillConditions_PSet = cms.PSet(
0013 FolderName_For_QualityAndCabling_SummaryHistos= cms.string("SiStrip/Tracks"),
0014 OutputSummaryAtLayerLevelAsImage = cms.bool(False),
0015 OutputSummaryProfileAtLayerLevelAsImage = cms.bool(False),
0016 OutputCumulativeSummaryAtLayerLevelAsImage = cms.bool(False),
0017 Mod_On = cms.bool(False),
0018 HistoMaps_On = cms.bool(False),
0019 SummaryOnStringLevel_On = cms.bool(False),
0020 SummaryOnLayerLevel_On = cms.bool(False),
0021 GrandSummary_On = cms.bool(False),
0022 StripQualityLabel = cms.string(''),
0023
0024 ActiveDetIds_On = cms.bool(False),
0025 TkMap_On = cms.bool(False),
0026
0027
0028 restrictModules = cms.bool(False),
0029 ModulesToBeIncluded_DetIdSelector = cms.vstring(
0030
0031
0032
0033
0034
0035
0036
0037
0038 ),
0039 ModulesToBeExcluded_DetIdSelector = cms.vstring(
0040
0041
0042
0043
0044
0045
0046
0047
0048 ),
0049
0050 ModulesToBeIncluded = cms.vuint32(),
0051 ModulesToBeExcluded = cms.vuint32(),
0052
0053
0054 SubDetectorsToBeExcluded = cms.vstring('none'),
0055
0056 ModulesToBeFilled = cms.string('all')
0057
0058 ),
0059
0060
0061 SiStripCablingDQM_PSet = cms.PSet(
0062
0063 ActiveDetIds_On = cms.bool(True),
0064
0065 TkMap_On = cms.bool(False),
0066 TkMapName = cms.string('CablingTkMap.png'),
0067 minValue = cms.double(0.),
0068 maxValue = cms.double(6.),
0069
0070 CondObj_fillId = cms.string('onlyProfile'),
0071 CondObj_name = cms.string('fedcabling')
0072 ),
0073
0074
0075 SiStripLowThresholdDQM_PSet = cms.PSet(
0076
0077 ActiveDetIds_On = cms.bool(True),
0078
0079 TkMap_On = cms.bool(False),
0080 TkMapName = cms.string('LowThresholdTkMap.png'),
0081 minValue = cms.double(0.),
0082 maxValue = cms.double(10.),
0083
0084 WhichThreshold= cms.string('Low'),
0085
0086 CondObj_fillId = cms.string('onlyProfile'),
0087 CondObj_name = cms.string('lowthreshold'),
0088
0089 FillSummaryAtLayerLevel= cms.bool(True),
0090 FillSummaryProfileAtLayerLevel=cms.bool(False),
0091 FillCumulativeSummaryAtLayerLevel = cms.bool(False),
0092
0093 Profile_description = cms.string('Profile_LowThresholdFromCondDB'),
0094 Profile_xTitle = cms.string('Strip Number'),
0095 Profile_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
0096
0097 SummaryOfProfile_description = cms.string('ProfileSummary_LowThresholdFromCondDB'),
0098 SummaryOfProfile_xTitle = cms.string('Strip Number'),
0099 SummaryOfProfile_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
0100 SummaryOfProfile_NchY = cms.int32(100),
0101 SummaryOfProfile_LowY = cms.double(0),
0102 SummaryOfProfile_HighY = cms.double(10),
0103
0104
0105
0106 Summary_description = cms.string('Summary_LowThresholdFromCondDB'),
0107 Summary_xTitle = cms.string('detId'),
0108 Summary_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
0109 Summary_NchY = cms.int32(100),
0110 Summary_LowY = cms.double(0),
0111 Summary_HighY = cms.double(10)
0112 ),
0113
0114
0115 SiStripHighThresholdDQM_PSet = cms.PSet(
0116
0117 ActiveDetIds_On = cms.bool(True),
0118
0119 TkMap_On = cms.bool(False),
0120 TkMapName = cms.string('HighThresholdTkMap.png'),
0121 minValue = cms.double(0.),
0122 maxValue = cms.double(10.),
0123
0124 WhichThreshold= cms.string('High'),
0125
0126 CondObj_fillId = cms.string('onlyProfile'),
0127 CondObj_name = cms.string('highthreshold'),
0128
0129 FillSummaryAtLayerLevel= cms.bool(True),
0130 FillSummaryProfileAtLayerLevel=cms.bool(False),
0131 FillCumulativeSummaryAtLayerLevel = cms.bool(False),
0132
0133 Profile_description = cms.string('Profile_HighThresholdFromCondDB'),
0134 Profile_xTitle = cms.string('Strip Number'),
0135 Profile_yTitle = cms.string('High Threshold from CondDB(ADC)'),
0136
0137 SummaryOfProfile_description = cms.string('ProfileSummary_HighThresholdFromCondDB'),
0138 SummaryOfProfile_xTitle = cms.string('Strip Number'),
0139 SummaryOfProfile_yTitle = cms.string('High Threshold from CondDB(ADC)'),
0140 SummaryOfProfile_NchY = cms.int32(100),
0141 SummaryOfProfile_LowY = cms.double(0),
0142 SummaryOfProfile_HighY = cms.double(10),
0143
0144
0145 Summary_description = cms.string('Summary_HighThresholdFromCondDB'),
0146 Summary_xTitle = cms.string('detId'),
0147 Summary_yTitle = cms.string('High Threshold from CondDB(ADC)'),
0148 Summary_NchY = cms.int32(100),
0149 Summary_LowY = cms.double(0),
0150 Summary_HighY = cms.double(10)
0151 ),
0152
0153
0154 SiStripApvGainsDQM_PSet = cms.PSet(
0155
0156 ActiveDetIds_On = cms.bool(True),
0157
0158 TkMap_On = cms.bool(False),
0159 TkMapName = cms.string('GainTkMap.svg'),
0160 minValue = cms.double(0.),
0161 maxValue = cms.double(1.5),
0162
0163 CondObj_name = cms.string('apvgain'),
0164 CondObj_fillId = cms.string('ProfileAndCumul'),
0165
0166 FillSummaryAtLayerLevel = cms.bool(True),
0167 FillSummaryProfileAtLayerLevel = cms.bool(False),
0168
0169 Profile_description = cms.string('Profile_ApvGainFromCondDB'),
0170 Profile_xTitle = cms.string('Apv Number'),
0171 Profile_yTitle = cms.string('ApvGain from CondDB'),
0172
0173 Cumul_description = cms.string('ApvGainFromCondDB'),
0174 Cumul_xTitle = cms.string('ApvGain from CondDB'),
0175 Cumul_yTitle = cms.string(' '),
0176 Cumul_NchX = cms.int32(50),
0177 Cumul_LowX = cms.double(0.5),
0178 Cumul_HighX = cms.double(1.5),
0179
0180 SummaryOfProfile_description = cms.string('ProfileSummary_ApvGainFromCondDB'),
0181 SummaryOfProfile_xTitle = cms.string('Apv Number'),
0182 SummaryOfProfile_yTitle = cms.string('ApvGain from CondDB'),
0183 SummaryOfProfile_NchY = cms.int32(50),
0184 SummaryOfProfile_LowY = cms.double(0.5),
0185 SummaryOfProfile_HighY = cms.double(1.5),
0186
0187 Summary_description = cms.string('Summary_ApvGainFromCondDB'),
0188 Summary_xTitle = cms.string('detId'),
0189 Summary_yTitle = cms.string('ApvGain from CondDB'),
0190 Summary_NchY = cms.int32(50),
0191 Summary_LowY = cms.double(0.5),
0192 Summary_HighY = cms.double(1.5)
0193
0194 ),
0195
0196
0197 SiStripQualityDQM_PSet = cms.PSet(
0198
0199 ActiveDetIds_On = cms.bool(True),
0200
0201 TkMap_On = cms.bool(False),
0202 TkMapName = cms.string('QualityTkMap.svg'),
0203 minValue = cms.double(0.),
0204 maxValue = cms.double(100.),
0205
0206 CondObj_name = cms.string('quality'),
0207 CondObj_fillId = cms.string('onlyProfile'),
0208
0209 FillSummaryAtLayerLevel = cms.bool(True),
0210
0211 Profile_description = cms.string('Profile_QualityFlagFromCondDB'),
0212 Profile_xTitle = cms.string('Strip Number'),
0213 Profile_yTitle = cms.string('Quality Flag from CondDB'),
0214
0215 Summary_description = cms.string('Summary_FractionOfBadStripsFromCondDB'),
0216 Summary_xTitle = cms.string('detId'),
0217 Summary_yTitle = cms.string('Fraction of bad strips from CondDB(%)'),
0218 Summary_NchY = cms.int32(100),
0219 Summary_LowY = cms.double(0.5),
0220 Summary_HighY = cms.double(100.5),
0221
0222 Summary_BadObjects_histo_xTitle =cms.string('Sub Det And Layer'),
0223
0224 Summary_BadModules_histo_name =cms.string('Summary_BadModules_FromCondDB'),
0225 Summary_BadModules_histo_yTitle =cms.string('Number of bad Modules from CondDB'),
0226
0227 Summary_BadFibers_histo_name =cms.string('Summary_BadFibers_FromCondDB'),
0228 Summary_BadFibers_histo_yTitle =cms.string('Number of bad Fibers from CondDB'),
0229
0230 Summary_BadApvs_histo_name =cms.string('Summary_BadApvs_FromCondDB'),
0231 Summary_BadApvs_histo_yTitle =cms.string('Number of bad Apvs from CondDB'),
0232
0233 Summary_BadStrips_histo_name =cms.string('Summary_BadStrips_FromCondDB'),
0234 Summary_BadStrips_histo_yTitle =cms.string('Number of bad Strips from CondDB'),
0235
0236 SummaryOfCumul_description =cms.string('CumulativeSummary_SiStripQualityFromCondDB'),
0237 SummaryOfCumul_xTitle =cms.string('SiStripQualityfrom CondDB'),
0238 SummaryOfCumul_yTitle =cms.string(' '),
0239
0240 SummaryOfCumul_NchX = cms.int32(100),
0241 SummaryOfCumul_LowX = cms.double(0.0),
0242 SummaryOfCumul_HighX = cms.double(100.0)
0243
0244 ),
0245
0246
0247 SiStripLorentzAngleDQM_PSet = cms.PSet(
0248
0249 ActiveDetIds_On = cms.bool(False),
0250
0251 TkMap_On = cms.bool(False),
0252 TkMapName = cms.string('LorentzAngleTkMap.png'),
0253 minValue = cms.double(0.01),
0254 maxValue = cms.double(0.03),
0255
0256 CondObj_name = cms.string('lorentzangle'),
0257 CondObj_fillId = cms.string('ProfileAndCumul'),
0258
0259 FillSummaryProfileAtLayerLevel = cms.bool(True),
0260 FillCumulativeSummaryAtLayerLevel = cms.bool(True),
0261
0262 SummaryOfCumul_description = cms.string('ProfileSummary_LorentzAngleFromCondDB'),
0263 SummaryOfCumul_xTitle = cms.string('LorentzAngle from CondDB'),
0264 SummaryOfCumul_yTitle = cms.string(' '),
0265 SummaryOfCumul_NchX = cms.int32(50),
0266 SummaryOfCumul_LowX = cms.double(0.01),
0267 SummaryOfCumul_HighX = cms.double(0.06),
0268
0269 SummaryOfProfile_description = cms.string('Summary_LorentzAngleFromCondDB'),
0270 SummaryOfProfile_xTitle = cms.string('detId'),
0271 SummaryOfProfile_yTitle = cms.string('LorentzAngle from CondDB'),
0272 SummaryOfProfile_NchY = cms.int32(50),
0273 SummaryOfProfile_LowY = cms.double(0.01),
0274 SummaryOfProfile_HighY = cms.double(0.06)
0275
0276 ),
0277
0278
0279 SiStripBackPlaneCorrectionDQM_PSet = cms.PSet(
0280
0281 ActiveDetIds_On = cms.bool(False),
0282
0283 TkMap_On = cms.bool(False),
0284 TkMapName = cms.string('BackPlaneCorrectionTkMap.png'),
0285 minValue = cms.double(0.00),
0286 maxValue = cms.double(0.10),
0287
0288 CondObj_name = cms.string('bpcorrection'),
0289 CondObj_fillId = cms.string('ProfileAndCumul'),
0290
0291 FillSummaryProfileAtLayerLevel = cms.bool(True),
0292 FillCumulativeSummaryAtLayerLevel = cms.bool(True),
0293
0294 SummaryOfCumul_description = cms.string('ProfileSummary_BackPlaneCorrectionFromCondDB'),
0295 SummaryOfCumul_xTitle = cms.string('BackPlaneCorrection from CondDB'),
0296 SummaryOfCumul_yTitle = cms.string(' '),
0297 SummaryOfCumul_NchX = cms.int32(50),
0298 SummaryOfCumul_LowX = cms.double(0.00),
0299 SummaryOfCumul_HighX = cms.double(0.10),
0300
0301 SummaryOfProfile_description = cms.string('Summary_BackPlaneCorrectionFromCondDB'),
0302 SummaryOfProfile_xTitle = cms.string('detId'),
0303 SummaryOfProfile_yTitle = cms.string('BackPlaneCorrection from CondDB'),
0304 SummaryOfProfile_NchY = cms.int32(50),
0305 SummaryOfProfile_LowY = cms.double(0.00),
0306 SummaryOfProfile_HighY = cms.double(0.10)
0307
0308 ),
0309
0310
0311 SiStripNoisesDQM_PSet = cms.PSet(
0312
0313 ActiveDetIds_On = cms.bool(True),
0314
0315 TkMap_On = cms.bool(False),
0316 TkMapName = cms.string('NoiseTkMap.png'),
0317 minValue = cms.double(0.),
0318 maxValue = cms.double(6.),
0319
0320 CondObj_fillId = cms.string('onlyProfile'),
0321 CondObj_name = cms.string('noise'),
0322
0323 GainRenormalisation = cms.bool(False),
0324 SimGainRenormalisation = cms.bool(False),
0325
0326 FillSummaryAtLayerLevel = cms.bool(True),
0327 FillSummaryProfileAtLayerLevel = cms.bool(True),
0328 FillCumulativeSummaryAtLayerLevel = cms.bool(True),
0329
0330 Profile_description = cms.string('Profile_NoiseFromCondDB'),
0331 Profile_xTitle = cms.string('Strip Number'),
0332 Profile_yTitle = cms.string('Noise from CondDB(ADC)'),
0333
0334 Cumul_description = cms.string('NoiseFromCondDB'),
0335 Cumul_xTitle = cms.string('Noise from CondDB(ADC)'),
0336 Cumul_yTitle = cms.string(' '),
0337 Cumul_NchX = cms.int32(50),
0338 Cumul_LowX = cms.double(0.0),
0339 Cumul_HighX = cms.double(6.0),
0340
0341 SummaryOfProfile_description = cms.string('ProfileSummary_NoiseFromCondDB'),
0342 SummaryOfProfile_xTitle = cms.string('Strip Number'),
0343 SummaryOfProfile_yTitle = cms.string('Noise from CondDB(ADC)'),
0344 SummaryOfProfile_NchY = cms.int32(50),
0345 SummaryOfProfile_LowY = cms.double(0.0),
0346 SummaryOfProfile_HighY = cms.double(6.0),
0347
0348 Summary_description = cms.string('Summary_NoiseFromCondDB'),
0349 Summary_xTitle = cms.string('detId'),
0350 Summary_yTitle = cms.string('Noise from CondDB(ADC)'),
0351 Summary_NchY = cms.int32(50),
0352 Summary_LowY = cms.double(0.0),
0353 Summary_HighY = cms.double(6.0),
0354
0355 SummaryOfCumul_description = cms.string('CumulativeSummary_NoiseFromCondDB'),
0356 SummaryOfCumul_xTitle = cms.string('Noise from CondDB'),
0357 SummaryOfCumul_yTitle = cms.string(' '),
0358 SummaryOfCumul_NchX = cms.int32(50),
0359 SummaryOfCumul_LowX = cms.double(0.0),
0360 SummaryOfCumul_HighX = cms.double(10.0)
0361
0362 ),
0363
0364
0365 SiStripPedestalsDQM_PSet = cms.PSet(
0366
0367 ActiveDetIds_On = cms.bool(True),
0368
0369 TkMap_On = cms.bool(False),
0370 TkMapName = cms.string('PedestalTkMap.png'),
0371 minValue = cms.double(0.),
0372 maxValue = cms.double(400.),
0373
0374 CondObj_fillId = cms.string('onlyProfile'),
0375 CondObj_name = cms.string('pedestal'),
0376
0377 FillSummaryAtLayerLevel = cms.bool(True),
0378 FillSummaryProfileAtLayerLevel = cms.bool(False),
0379
0380 Profile_description = cms.string('Profile_PedestalFromCondDB'),
0381 Profile_xTitle = cms.string('Strip Number'),
0382 Profile_yTitle = cms.string('Pedestal from CondDB(ADC)'),
0383
0384 SummaryOfProfile_description = cms.string('ProfileSummary_PedestalFromCondDB'),
0385 SummaryOfProfile_xTitle = cms.string('Strip Number'),
0386 SummaryOfProfile_yTitle = cms.string('Pedestal from CondDB(ADC)'),
0387 SummaryOfProfile_NchY = cms.int32(100),
0388 SummaryOfProfile_LowY = cms.double(0.0),
0389 SummaryOfProfile_HighY = cms.double(1000.0),
0390
0391 Summary_description = cms.string('Summary_PedestalFromCondDB'),
0392 Summary_xTitle = cms.string('detId'),
0393 Summary_yTitle = cms.string('Pedestal from CondDB(ADC)'),
0394 Summary_NchY = cms.int32(100),
0395 Summary_LowY = cms.double(0.0),
0396 Summary_HighY = cms.double(1000.0)
0397
0398 )
0399
0400 )
0401
0402