419 gStyle->SetOptStat(
"mr");
421 auto tag = cond::payloadInspector::PlotBase::getTag<0>();
422 auto iov =
tag.iovs.front();
427 auto ip = paramValues.find(
"SetLog");
428 if (ip != paramValues.end()) {
429 auto answer = ip->second;
432 <<
"\nERROR: " << answer
433 <<
" is not a valid setting for this parameter, please use True,False,1,0,Yes,No \n\n";
439 std::vector<uint32_t> detids;
442 float minimum(9999.);
443 float maximum(-9999.);
447 maximum =
payload->getGainHigh();
448 minimum =
payload->getGainLow();
451 maximum =
payload->getPedHigh();
452 minimum =
payload->getPedLow();
478 Form(
"# %ss", (
isForHLT_ ?
"column" :
"pixel")),
492 myPlots.setLogScale();
494 myPlots.beautify(kBlue, -1);
497 TLegend
legend = TLegend(0.45, 0.88, 0.91, 0.92);
498 legend.SetHeader((
"hash: #bf{" + (std::get<1>(iov)) +
"}").c_str(),
502 legend.SetTextSize(0.025);
505 unsigned int maxPads =
isBarrel ? 4 : 12;
506 for (
unsigned int c = 1;
c <= maxPads;
c++) {
517 ltx.SetTextSize(0.05);
518 ltx.SetTextAlign(11);
520 for (
unsigned int c = 1;
c <= maxPads;
c++) {
523 auto leftX = setLog ? 0. : 0.1;
524 ltx.DrawLatexNDC(gPad->GetLeftMargin() + leftX,
525 1 - gPad->GetTopMargin() + 0.01,
std::string m_imageFileName
const std::vector< std::string > IDlabels
const char * pathToTopoXML()
Log< level::Error, false > LogError
bool checkAnswerOK(std::string &answer, bool &result)
static std::string to_string(const XMLCh *ch)
static const unsigned int phase1size
constexpr char const * TypeName[2]
const std::vector< PixelId > PixelIDs
static void fillTheHisto(const std::shared_ptr< PayloadType > &payload, std::shared_ptr< TH1F > h1, gainCalibPI::type theType, const std::vector< uint32_t > &wantedIds={})
void adjustCanvasMargins(TVirtualPad *pad, float top, float bottom, float left, float right)
const std::map< std::string, std::string > & inputParamValues() const
void bookAll(std::string title_label, std::string x_label, std::string y_label, const int nbins, const float xmin, const float xmax)
void displayNotSupported(TCanvas &canv, const unsigned int size)
TrackerTopology fromTrackerParametersXMLFile(const std::string &xmlFileName)
static const std::vector< uint32_t > attachedDets(const PixelRegions::PixelId theId, const TrackerTopology *trackTopo, const SiPixelPI::phase &ph)
std::shared_ptr< PayloadType > fetchPayload(const cond::Hash &payloadHash)