template<class PayloadType, class StoreType, class TransientType>
class templateHelper::SiPixelFullPixelIDMap< PayloadType, StoreType, TransientType >
Definition at line 416 of file SiPixelTemplateHelper.h.
template<class PayloadType , class StoreType , class TransientType >
Implements cond::payloadInspector::PlotImpl< IOV_M, 0 >.
Definition at line 432 of file SiPixelTemplateHelper.h.
434 gStyle->SetPalette(1);
435 auto tag = cond::payloadInspector::PlotBase::getTag<0>();
436 auto iov =
tag.iovs.front();
437 std::vector<StoreType> thePixelTemp_;
443 if (!TransientType::pushfile(*
payload, thePixelTemp_)) {
445 <<
" not filled correctly. Check the conditions. Using "
446 << (
isTemplate_ ?
"SiPixelTemplateDBObject" :
"SiPixelGenErrorDBObject")
447 <<
payload->version() <<
"\n\n";
450 Phase1PixelSummaryMap fullMap(
"", fmt::sprintf(
"%s IDs", payloadString), fmt::sprintf(
"%s ID", payloadString));
451 fullMap.createTrackerBaseMap();
453 std::map<unsigned int, short> templMap;
454 if constexpr (std::is_same_v<PayloadType, SiPixelGenErrorDBObject>) {
455 templMap =
payload->getGenErrorIDs();
457 templMap =
payload->getTemplateIDs();
460 for (
const auto&
entry : templMap) {
461 fullMap.fillTrackerMap(
entry.first,
entry.second);
466 <<
"There are " << templMap.size()
467 <<
" DetIds in this payload. SiPixelIDs maps are not supported for non-Phase1 Pixel geometries !";
468 TCanvas
canvas(
"Canv",
"Canv", 1200, 1000);
476 <<
" DetIds in this payload !"
477 <<
"\n **************************** \n";
481 TCanvas
canvas(
"Canv",
"Canv", 3000, 2000);
482 fullMap.printTrackerMap(
canvas);
488 ltx.SetTextSize(0.025);
489 ltx.SetTextAlign(11);
491 gPad->GetLeftMargin() + 0.01,
492 gPad->GetBottomMargin() + 0.01,
493 (
"#color[4]{" +
tag.name +
"}, IOV: #color[4]{" + std::to_string(std::get<0>(iov)) +
"}").c_str());
References svgfig::canvas(), Phase1PixelSummaryMap::createTrackerBaseMap(), SiPixelPI::displayNotSupported(), mps_splice::entry, Exception, cond::payloadInspector::PlotImage< PayloadType, cond::payloadInspector::SINGLE_IOV >::fetchPayload(), MillePedeFileConverter_cfg::fileName, Phase1PixelSummaryMap::fillTrackerMap(), templateHelper::SiPixelFullPixelIDMap< PayloadType, StoreType, TransientType >::isTemplate_, templateHelper::SiPixelFullPixelIDMap< PayloadType, StoreType, TransientType >::label_, cond::payloadInspector::PlotImage< PayloadType, cond::payloadInspector::SINGLE_IOV >::m_imageFileName, jets_cff::payload, SiPixelPI::phase0size, SiPixelPI::phase1size, Phase1PixelSummaryMap::printTrackerMap(), AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.