template<class PayloadType, class StoreType, class TransientType>
class templateHelper::SiPixelFullPixelIDMap< PayloadType, StoreType, TransientType >
Definition at line 414 of file SiPixelTemplateHelper.h.
template<class PayloadType , class StoreType , class TransientType >
Implements cond::payloadInspector::PlotImpl< IOV_M, 0 >.
Definition at line 430 of file SiPixelTemplateHelper.h.
432 gStyle->SetPalette(1);
433 auto tag = cond::payloadInspector::PlotBase::getTag<0>();
434 auto iov =
tag.iovs.front();
435 std::vector<StoreType> thePixelTemp_;
441 if (!TransientType::pushfile(*
payload, thePixelTemp_)) {
443 <<
" not filled correctly. Check the conditions. Using "
444 << (
isTemplate_ ?
"SiPixelTemplateDBObject" :
"SiPixelGenErrorDBObject")
445 <<
payload->version() <<
"\n\n";
448 Phase1PixelSummaryMap fullMap(
"", fmt::sprintf(
"%s IDs", payloadString), fmt::sprintf(
"%s ID", payloadString));
449 fullMap.createTrackerBaseMap();
451 std::map<unsigned int, short> templMap;
452 if constexpr (std::is_same_v<PayloadType, SiPixelGenErrorDBObject>) {
453 templMap =
payload->getGenErrorIDs();
455 templMap =
payload->getTemplateIDs();
458 for (
const auto&
entry : templMap) {
459 fullMap.fillTrackerMap(
entry.first,
entry.second);
464 <<
"There are " << templMap.size()
465 <<
" DetIds in this payload. SiPixelIDs maps are not supported for non-Phase1 Pixel geometries !";
466 TCanvas
canvas(
"Canv",
"Canv", 1200, 1000);
474 <<
" DetIds in this payload !"
475 <<
"\n **************************** \n";
479 TCanvas
canvas(
"Canv",
"Canv", 3000, 2000);
480 fullMap.printTrackerMap(
canvas);
486 ltx.SetTextSize(0.025);
487 ltx.SetTextAlign(11);
489 gPad->GetLeftMargin() + 0.01,
490 gPad->GetBottomMargin() + 0.01,
491 (
"#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 makeGlobalPositionRcd_cfg::tag.