|
9 | 9 | #include "CondCore/SiPixelPlugins/plugins/SiPixelVCal_PayloadInspector.cc" |
10 | 10 | #include "CondCore/SiPixelPlugins/plugins/SiPixelQualityProbabilities_PayloadInspector.cc" |
11 | 11 | #include "CondCore/SiPixelPlugins/plugins/SiPixelDynamicInefficiency_PayloadInspector.cc" |
| 12 | +#include "CondCore/SiPixelPlugins/plugins/SiPixelFEDChannelContainer_PayloadInspector.cc" |
12 | 13 | #include "FWCore/MessageLogger/interface/MessageLogger.h" |
13 | 14 | #include "FWCore/PluginManager/interface/PluginManager.h" |
14 | 15 | #include "FWCore/PluginManager/interface/standard.h" |
@@ -241,6 +242,26 @@ int main(int argc, char** argv) { |
241 | 242 | histo30.process(connectionString, PI::mk_input(tag, start, end, tag2, start2, start2)); |
242 | 243 | edm::LogPrint("testSiPixelPayloadInspector") << histo30.data() << std::endl; |
243 | 244 |
|
| 245 | + // SiPixelFEDChannelContainer |
| 246 | + tag = "SiPixelStatusScenarios_StuckTBMandOther_2023_v2_mc"; |
| 247 | + tag2 = "SiPixelQualityProbabilities_2023_v2_mc"; |
| 248 | + start = static_cast<unsigned long long>(1); |
| 249 | + end = static_cast<unsigned long long>(1); |
| 250 | + |
| 251 | + edm::LogPrint("testSiPixelPayloadInspector") << "## Exercising SiPixelFEDChannelContainer plots " << std::endl; |
| 252 | + |
| 253 | + inputs["SiPixelQualityProbabilitiesTag"] = tag2; // Quality Probabilities tag to use |
| 254 | + SiPixelBPixFEDChannelContainerWeightedMap histo31; |
| 255 | + histo31.setInputParamValues(inputs); |
| 256 | + histo31.process(connectionString, PI::mk_input(tag, start, end)); |
| 257 | + edm::LogPrint("testSiPixelPayloadInspector") << histo31.data() << std::endl; |
| 258 | + |
| 259 | + inputs["Scenarios"] = "370097_302"; |
| 260 | + SiPixelBPixFEDChannelContainerMap histo32; |
| 261 | + histo32.setInputParamValues(inputs); |
| 262 | + histo32.process(connectionString, PI::mk_input(tag, start, end)); |
| 263 | + edm::LogPrint("testSiPixelPayloadInspector") << histo32.data() << std::endl; |
| 264 | + |
244 | 265 | inputs.clear(); |
245 | 266 | #if PY_MAJOR_VERSION >= 3 |
246 | 267 | // TODO I don't know why this Py_INCREF is necessary... |
|
0 commit comments