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