00001 import FWCore.ParameterSet.Config as cms
00002
00003 OnDemandMonitoring = cms.EDAnalyzer("SiStripMonitorCondDataOnDemandExample",
00004
00005 OutputMEsInRootFile = cms.bool(False),
00006 OutputFileName = cms.string('SiStripMonitorCondDataOnDemandExample.root'),
00007
00008 MonitorSiStripPedestal = cms.bool(False),
00009 MonitorSiStripNoise = cms.bool(True),
00010 MonitorSiStripQuality = cms.bool(True),
00011 MonitorSiStripApvGain = cms.bool(False),
00012 MonitorSiStripLorentzAngle = cms.bool(False),
00013 MonitorSiStripCabling = cms.bool(False),
00014 MonitorSiStripLowThreshold = cms.bool(False),
00015 MonitorSiStripHighThreshold= cms.bool(False) ,
00016
00017
00018 FillConditions_PSet = cms.PSet(
00019 FolderName_For_QualityAndCabling_SummaryHistos= cms.string("SiStrip/Tracks"),
00020 OutputSummaryAtLayerLevelAsImage = cms.bool(False),
00021 OutputSummaryProfileAtLayerLevelAsImage = cms.bool(False),
00022 OutputCumulativeSummaryAtLayerLevelAsImage = cms.bool(False),
00023 Mod_On = cms.bool(False),
00024 HistoMaps_On = cms.bool(False),
00025 SummaryOnStringLevel_On = cms.bool(False),
00026 SummaryOnLayerLevel_On = cms.bool(False),
00027 GrandSummary_On = cms.bool(False),
00028 StripQualityLabel = cms.string(''),
00029
00030 ActiveDetIds_On = cms.bool(False),
00031 TkMap_On = cms.bool(False),
00032
00033
00034 restrictModules = cms.bool(False),
00035
00036 ModulesToBeIncluded = cms.vuint32(),
00037 ModulesToBeExcluded = cms.vuint32(),
00038
00039
00040 SubDetectorsToBeExcluded = cms.vstring('none'),
00041
00042 ModulesToBeFilled = cms.string('all')
00043
00044 ),
00045
00046
00047 SiStripCablingDQM_PSet = cms.PSet(
00048
00049 ActiveDetIds_On = cms.bool(True),
00050
00051 TkMap_On = cms.bool(False),
00052 TkMapName = cms.string('CablingTkMap.png'),
00053 minValue = cms.double(0.),
00054 maxValue = cms.double(6.),
00055
00056 CondObj_fillId = cms.string('onlyProfile'),
00057 CondObj_name = cms.string('fedcabling')
00058 ),
00059
00060
00061 SiStripLowThresholdDQM_PSet = cms.PSet(
00062
00063 ActiveDetIds_On = cms.bool(True),
00064
00065 TkMap_On = cms.bool(False),
00066 TkMapName = cms.string('LowThresholdTkMap.png'),
00067 minValue = cms.double(0.),
00068 maxValue = cms.double(10.),
00069
00070 WhichThreshold= cms.string('Low'),
00071
00072 CondObj_fillId = cms.string('onlyProfile'),
00073 CondObj_name = cms.string('lowthreshold'),
00074
00075 FillSummaryAtLayerLevel= cms.bool(True),
00076 FillSummaryProfileAtLayerLevel=cms.bool(False),
00077 FillCumulativeSummaryAtLayerLevel = cms.bool(False),
00078
00079 Profile_description = cms.string('Profile_LowThresholdFromCondDB'),
00080 Profile_xTitle = cms.string('Strip Number'),
00081 Profile_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
00082
00083 SummaryOfProfile_description = cms.string('ProfileSummary_LowThresholdFromCondDB'),
00084 SummaryOfProfile_xTitle = cms.string('Strip Number'),
00085 SummaryOfProfile_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
00086 SummaryOfProfile_NchY = cms.int32(100),
00087 SummaryOfProfile_LowY = cms.double(0),
00088 SummaryOfProfile_HighY = cms.double(10),
00089
00090
00091
00092 Summary_description = cms.string('Summary_LowThresholdFromCondDB'),
00093 Summary_xTitle = cms.string('detId'),
00094 Summary_yTitle = cms.string('Low Threshold from CondDB(ADC)'),
00095 Summary_NchY = cms.int32(100),
00096 Summary_LowY = cms.double(0),
00097 Summary_HighY = cms.double(10)
00098 ),
00099
00100
00101 SiStripHighThresholdDQM_PSet = cms.PSet(
00102
00103 ActiveDetIds_On = cms.bool(True),
00104
00105 TkMap_On = cms.bool(False),
00106 TkMapName = cms.string('HighThresholdTkMap.png'),
00107 minValue = cms.double(0.),
00108 maxValue = cms.double(10.),
00109
00110 WhichThreshold= cms.string('High'),
00111
00112 CondObj_fillId = cms.string('onlyProfile'),
00113 CondObj_name = cms.string('highthreshold'),
00114
00115 FillSummaryAtLayerLevel= cms.bool(True),
00116 FillSummaryProfileAtLayerLevel=cms.bool(False),
00117 FillCumulativeSummaryAtLayerLevel = cms.bool(False),
00118
00119 Profile_description = cms.string('Profile_HighThresholdFromCondDB'),
00120 Profile_xTitle = cms.string('Strip Number'),
00121 Profile_yTitle = cms.string('High Threshold from CondDB(ADC)'),
00122
00123 SummaryOfProfile_description = cms.string('ProfileSummary_HighThresholdFromCondDB'),
00124 SummaryOfProfile_xTitle = cms.string('Strip Number'),
00125 SummaryOfProfile_yTitle = cms.string('High Threshold from CondDB(ADC)'),
00126 SummaryOfProfile_NchY = cms.int32(100),
00127 SummaryOfProfile_LowY = cms.double(0),
00128 SummaryOfProfile_HighY = cms.double(10),
00129
00130
00131 Summary_description = cms.string('Summary_HighThresholdFromCondDB'),
00132 Summary_xTitle = cms.string('detId'),
00133 Summary_yTitle = cms.string('High Threshold from CondDB(ADC)'),
00134 Summary_NchY = cms.int32(100),
00135 Summary_LowY = cms.double(0),
00136 Summary_HighY = cms.double(10)
00137 ),
00138
00139
00140 SiStripApvGainsDQM_PSet = cms.PSet(
00141
00142 ActiveDetIds_On = cms.bool(True),
00143
00144 TkMap_On = cms.bool(False),
00145 TkMapName = cms.string('GainTkMap.svg'),
00146 minValue = cms.double(0.),
00147 maxValue = cms.double(1.5),
00148
00149 CondObj_name = cms.string('apvgain'),
00150 CondObj_fillId = cms.string('ProfileAndCumul'),
00151
00152 FillSummaryAtLayerLevel = cms.bool(True),
00153 FillSummaryProfileAtLayerLevel = cms.bool(False),
00154
00155 Profile_description = cms.string('Profile_ApvGainFromCondDB'),
00156 Profile_xTitle = cms.string('Apv Number'),
00157 Profile_yTitle = cms.string('ApvGain from CondDB'),
00158
00159 Cumul_description = cms.string('ApvGainFromCondDB'),
00160 Cumul_xTitle = cms.string('ApvGain from CondDB'),
00161 Cumul_yTitle = cms.string(' '),
00162 Cumul_NchX = cms.int32(50),
00163 Cumul_LowX = cms.double(0.5),
00164 Cumul_HighX = cms.double(1.5),
00165
00166 SummaryOfProfile_description = cms.string('ProfileSummary_ApvGainFromCondDB'),
00167 SummaryOfProfile_xTitle = cms.string('Apv Number'),
00168 SummaryOfProfile_yTitle = cms.string('ApvGain from CondDB'),
00169 SummaryOfProfile_NchY = cms.int32(50),
00170 SummaryOfProfile_LowY = cms.double(0.5),
00171 SummaryOfProfile_HighY = cms.double(1.5),
00172
00173 Summary_description = cms.string('Summary_ApvGainFromCondDB'),
00174 Summary_xTitle = cms.string('detId'),
00175 Summary_yTitle = cms.string('ApvGain from CondDB'),
00176 Summary_NchY = cms.int32(50),
00177 Summary_LowY = cms.double(0.5),
00178 Summary_HighY = cms.double(1.5)
00179
00180 ),
00181
00182
00183 SiStripQualityDQM_PSet = cms.PSet(
00184
00185 ActiveDetIds_On = cms.bool(True),
00186
00187 TkMap_On = cms.bool(False),
00188 TkMapName = cms.string('QualityTkMap.svg'),
00189 minValue = cms.double(0.),
00190 maxValue = cms.double(100.),
00191
00192 CondObj_name = cms.string('quality'),
00193 CondObj_fillId = cms.string('onlyProfile'),
00194
00195 FillSummaryAtLayerLevel = cms.bool(True),
00196
00197 Profile_description = cms.string('Profile_QualityFlagFromCondDB'),
00198 Profile_xTitle = cms.string('Strip Number'),
00199 Profile_yTitle = cms.string('Quality Flag from CondDB'),
00200
00201 Summary_description = cms.string('Summary_FractionOfBadStripsFromCondDB'),
00202 Summary_xTitle = cms.string('detId'),
00203 Summary_yTitle = cms.string('Fraction of bad strips from CondDB(%)'),
00204 Summary_NchY = cms.int32(100),
00205 Summary_LowY = cms.double(0.5),
00206 Summary_HighY = cms.double(100.5),
00207
00208 Summary_BadObjects_histo_xTitle =cms.string('Sub Det And Layer'),
00209
00210 Summary_BadModules_histo_name =cms.string('Summary_BadModules_FromCondDB'),
00211 Summary_BadModules_histo_yTitle =cms.string('Number of bad Modules from CondDB'),
00212
00213 Summary_BadFibers_histo_name =cms.string('Summary_BadFibers_FromCondDB'),
00214 Summary_BadFibers_histo_yTitle =cms.string('Number of bad Fibers from CondDB'),
00215
00216 Summary_BadApvs_histo_name =cms.string('Summary_BadApvs_FromCondDB'),
00217 Summary_BadApvs_histo_yTitle =cms.string('Number of bad Apvs from CondDB'),
00218
00219 Summary_BadStrips_histo_name =cms.string('Summary_BadStrips_FromCondDB'),
00220 Summary_BadStrips_histo_yTitle =cms.string('Number of bad Strips from CondDB'),
00221
00222 SummaryOfCumul_description =cms.string('CumulativeSummary_SiStripQualityFromCondDB'),
00223 SummaryOfCumul_xTitle =cms.string('SiStripQualityfrom CondDB'),
00224 SummaryOfCumul_yTitle =cms.string(' '),
00225
00226 SummaryOfCumul_NchX = cms.int32(100),
00227 SummaryOfCumul_LowX = cms.double(0.0),
00228 SummaryOfCumul_HighX = cms.double(100.0)
00229
00230 ),
00231
00232
00233 SiStripLorentzAngleDQM_PSet = cms.PSet(
00234
00235 ActiveDetIds_On = cms.bool(False),
00236
00237 TkMap_On = cms.bool(False),
00238 TkMapName = cms.string('LorentzAngleTkMap.png'),
00239 minValue = cms.double(0.01),
00240 maxValue = cms.double(0.03),
00241
00242 CondObj_name = cms.string('lorentzangle'),
00243 CondObj_fillId = cms.string('ProfileAndCumul'),
00244
00245 FillSummaryProfileAtLayerLevel = cms.bool(True),
00246 FillCumulativeSummaryAtLayerLevel = cms.bool(True),
00247
00248 SummaryOfCumul_description = cms.string('ProfileSummary_LorentzAngleFromCondDB'),
00249 SummaryOfCumul_xTitle = cms.string('LorentzAngle from CondDB'),
00250 SummaryOfCumul_yTitle = cms.string(' '),
00251 SummaryOfCumul_NchX = cms.int32(50),
00252 SummaryOfCumul_LowX = cms.double(0.01),
00253 SummaryOfCumul_HighX = cms.double(0.06),
00254
00255 SummaryOfProfile_description = cms.string('Summary_LorentzAngleFromCondDB'),
00256 SummaryOfProfile_xTitle = cms.string('detId'),
00257 SummaryOfProfile_yTitle = cms.string('LorentzAngle from CondDB'),
00258 SummaryOfProfile_NchY = cms.int32(50),
00259 SummaryOfProfile_LowY = cms.double(0.01),
00260 SummaryOfProfile_HighY = cms.double(0.06)
00261
00262 ),
00263
00264
00265 SiStripNoisesDQM_PSet = cms.PSet(
00266
00267 ActiveDetIds_On = cms.bool(True),
00268
00269 TkMap_On = cms.bool(False),
00270 TkMapName = cms.string('NoiseTkMap.png'),
00271 minValue = cms.double(0.),
00272 maxValue = cms.double(6.),
00273
00274 CondObj_fillId = cms.string('onlyProfile'),
00275 CondObj_name = cms.string('noise'),
00276
00277 GainRenormalisation = cms.bool(False),
00278
00279 FillSummaryAtLayerLevel = cms.bool(True),
00280 FillSummaryProfileAtLayerLevel = cms.bool(True),
00281 FillCumulativeSummaryAtLayerLevel = cms.bool(True),
00282
00283 Profile_description = cms.string('Profile_NoiseFromCondDB'),
00284 Profile_xTitle = cms.string('Strip Number'),
00285 Profile_yTitle = cms.string('noise from CondDB(ADC)'),
00286
00287 Cumul_description = cms.string('NoiseFromCondDB'),
00288 Cumul_xTitle = cms.string('noise from CondDB(ADC)'),
00289 Cumul_yTitle = cms.string(' '),
00290 Cumul_NchX = cms.int32(50),
00291 Cumul_LowX = cms.double(0.0),
00292 Cumul_HighX = cms.double(6.0),
00293
00294 SummaryOfProfile_description = cms.string('ProfileSummary_NoiseFromCondDB'),
00295 SummaryOfProfile_xTitle = cms.string('Strip Number'),
00296 SummaryOfProfile_yTitle = cms.string('noise from CondDB(ADC)'),
00297 SummaryOfProfile_NchY = cms.int32(50),
00298 SummaryOfProfile_LowY = cms.double(0.0),
00299 SummaryOfProfile_HighY = cms.double(6.0),
00300
00301 Summary_description = cms.string('Summary_NoiseFromCondDB'),
00302 Summary_xTitle = cms.string('detId'),
00303 Summary_yTitle = cms.string('noise from CondDB(ADC)'),
00304 Summary_NchY = cms.int32(50),
00305 Summary_LowY = cms.double(0.0),
00306 Summary_HighY = cms.double(6.0),
00307
00308 SummaryOfCumul_description = cms.string('CumulativeSummary_NoiseFromCondDB'),
00309 SummaryOfCumul_xTitle = cms.string('noise from CondDB'),
00310 SummaryOfCumul_yTitle = cms.string(' '),
00311 SummaryOfCumul_NchX = cms.int32(50),
00312 SummaryOfCumul_LowX = cms.double(0.0),
00313 SummaryOfCumul_HighX = cms.double(10.0)
00314
00315 ),
00316
00317
00318 SiStripPedestalsDQM_PSet = cms.PSet(
00319
00320 ActiveDetIds_On = cms.bool(True),
00321
00322 TkMap_On = cms.bool(False),
00323 TkMapName = cms.string('PedestalTkMap.png'),
00324 minValue = cms.double(0.),
00325 maxValue = cms.double(400.),
00326
00327 CondObj_fillId = cms.string('onlyProfile'),
00328 CondObj_name = cms.string('pedestal'),
00329
00330 FillSummaryAtLayerLevel = cms.bool(True),
00331 FillSummaryProfileAtLayerLevel = cms.bool(False),
00332
00333 Profile_description = cms.string('Profile_PedestalFromCondDB'),
00334 Profile_xTitle = cms.string('Strip Number'),
00335 Profile_yTitle = cms.string('Pedestal from CondDB(ADC)'),
00336
00337 SummaryOfProfile_description = cms.string('ProfileSummary_PedestalFromCondDB'),
00338 SummaryOfProfile_xTitle = cms.string('Strip Number'),
00339 SummaryOfProfile_yTitle = cms.string('Pedestal from CondDB(ADC)'),
00340 SummaryOfProfile_NchY = cms.int32(100),
00341 SummaryOfProfile_LowY = cms.double(0.0),
00342 SummaryOfProfile_HighY = cms.double(1000.0),
00343
00344 Summary_description = cms.string('Summary_PedestalFromCondDB'),
00345 Summary_xTitle = cms.string('detId'),
00346 Summary_yTitle = cms.string('Pedestal from CondDB(ADC)'),
00347 Summary_NchY = cms.int32(100),
00348 Summary_LowY = cms.double(0.0),
00349 Summary_HighY = cms.double(1000.0)
00350
00351 )
00352
00353 )
00354
00355