#include <Phase1PixelMaps.h>
Public Member Functions | |
void | beautifyAllHistograms () |
void | book (const std::string ¤tHistoName, const char *what, const char *zaxis) |
void | bookBarrelHistograms (const std::string ¤tHistoName, const char *what, const char *zaxis) |
void | bookForwardHistograms (const std::string ¤tHistoName, const char *what, const char *zaxis) |
void | drawBarrelMaps (const std::string ¤tHistoName, TCanvas &canvas, const char *drawOption=nullptr) |
void | drawForwardMaps (const std::string ¤tHistoName, TCanvas &canvas, const char *drawOption=nullptr) |
void | drawSummaryMaps (const std::string ¤tHistoName, TCanvas &canvas, const char *drawOption=nullptr) |
void | fill (const std::string ¤tHistoName, unsigned int id, double value) |
void | fillBarrelBin (const std::string ¤tHistoName, unsigned int id, double value) |
void | fillForwardBin (const std::string ¤tHistoName, unsigned int id, double value) |
Phase1PixelMaps (const char *option) | |
void | resetOption (const char *option) |
void | setBarrelScale (const std::string ¤tHistoName, std::pair< float, float > extrema) |
void | setForwardScale (const std::string ¤tHistoName, std::pair< float, float > extrema) |
void | setNoRescale () |
~Phase1PixelMaps ()=default | |
Private Member Functions | |
void | adjustCanvasMargins (TVirtualPad *pad, float top, float bottom, float left, float right) |
void | bookBarrelBins (const std::string ¤tHistoName) |
void | bookForwardBins (const std::string ¤tHistoName) |
void | makeNicePlotStyle (TH1 *hist) |
void | rescaleAllBarrel (const std::string ¤tHistoName) |
void | rescaleAllForward (const std::string ¤tHistoName) |
const indexedCorners | retrieveCorners (const std::vector< edm::FileInPath > &cornerFiles, const unsigned int reads) |
Private Attributes | |
std::map< uint32_t, std::shared_ptr< TGraph > > | bins |
std::map< uint32_t, std::shared_ptr< TGraph > > | binsSummary |
bool | m_autorescale |
std::vector< edm::FileInPath > | m_cornersBPIX |
std::vector< edm::FileInPath > | m_cornersFPIX |
std::pair< bool, bool > | m_isBooked |
std::vector< std::string > | m_knownNames |
Option_t * | m_option |
TrackerTopology | m_trackerTopo |
std::map< std::string, std::vector< std::shared_ptr< TH2Poly > > > | pxbTh2PolyBarrel |
std::map< std::string, std::shared_ptr< TH2Poly > > | pxbTh2PolyBarrelSummary |
std::map< std::string, std::vector< std::shared_ptr< TH2Poly > > > | pxfTh2PolyForward |
std::map< std::string, std::shared_ptr< TH2Poly > > | pxfTh2PolyForwardSummary |
Definition at line 31 of file Phase1PixelMaps.h.
|
inline |
Definition at line 33 of file Phase1PixelMaps.h.
References fileinputsource_cfi::option.
|
default |
|
private |
Definition at line 514 of file Phase1PixelMaps.cc.
Referenced by drawBarrelMaps(), drawForwardMaps(), and drawSummaryMaps().
void Phase1PixelMaps::beautifyAllHistograms | ( | ) |
Definition at line 288 of file Phase1PixelMaps.cc.
References m_isBooked, makeNicePlotStyle(), plotFactory::plot, pxbTh2PolyBarrel, and pxfTh2PolyForward.
Referenced by templateHelper::SiPixelIDs< PayloadType, myType >::fill().
void Phase1PixelMaps::book | ( | const std::string & | currentHistoName, |
const char * | what, | ||
const char * | zaxis | ||
) |
Definition at line 215 of file Phase1PixelMaps.cc.
References bookBarrelHistograms(), bookForwardHistograms(), m_isBooked, and LaserClient_cfi::zaxis.
|
private |
Definition at line 123 of file Phase1PixelMaps.cc.
References bins, binsSummary, mps_splice::entry, Exception, f, dqmMemoryStats::float, triggerObjects_cff::id, dqmdumpme::k, PVValHelper::ladder, phase1PixelTopology::layer, m_cornersBPIX, m_trackerTopo, PixelSubdetector::PixelBarrel, TrackerTopology::pxbLadder(), TrackerTopology::pxbLayer(), pxbTh2PolyBarrel, pxbTh2PolyBarrelSummary, and retrieveCorners().
Referenced by bookBarrelHistograms().
void Phase1PixelMaps::bookBarrelHistograms | ( | const std::string & | currentHistoName, |
const char * | what, | ||
const char * | zaxis | ||
) |
Definition at line 30 of file Phase1PixelMaps.cc.
References bookBarrelBins(), spr::find(), mps_fire::i, m_isBooked, m_knownNames, m_option, pxbTh2PolyBarrel, pxbTh2PolyBarrelSummary, AlCaHLTBitMon_QueryRunRegistry::string, cond::impl::to_string(), and LaserClient_cfi::zaxis.
Referenced by book(), and templateHelper::SiPixelIDs< PayloadType, myType >::fill().
|
private |
Definition at line 168 of file Phase1PixelMaps.cc.
References bins, binsSummary, mps_splice::entry, Exception, f, dqmMemoryStats::float, triggerObjects_cff::id, dqmdumpme::k, m_cornersFPIX, m_trackerTopo, PixelSubdetector::PixelEndcap, TrackerTopology::pxfDisk(), TrackerTopology::pxfSide(), pxfTh2PolyForward, pxfTh2PolyForwardSummary, and retrieveCorners().
Referenced by bookForwardHistograms().
void Phase1PixelMaps::bookForwardHistograms | ( | const std::string & | currentHistoName, |
const char * | what, | ||
const char * | zaxis | ||
) |
Definition at line 75 of file Phase1PixelMaps.cc.
References bookForwardBins(), spr::find(), m_isBooked, m_knownNames, m_option, pxfTh2PolyForward, pxfTh2PolyForwardSummary, AlCaHLTBitMon_QueryRunRegistry::string, cond::impl::to_string(), and LaserClient_cfi::zaxis.
Referenced by book(), and templateHelper::SiPixelIDs< PayloadType, myType >::fill().
void Phase1PixelMaps::drawBarrelMaps | ( | const std::string & | currentHistoName, |
TCanvas & | canvas, | ||
const char * | drawOption = nullptr |
||
) |
Definition at line 336 of file Phase1PixelMaps.cc.
References adjustCanvasMargins(), svgfig::canvas(), histoStyle::drawOption, spr::find(), newFWLiteAna::found, mps_fire::i, m_autorescale, m_isBooked, m_knownNames, m_option, pxbTh2PolyBarrel, and rescaleAllBarrel().
Referenced by templateHelper::SiPixelIDs< PayloadType, myType >::fill().
void Phase1PixelMaps::drawForwardMaps | ( | const std::string & | currentHistoName, |
TCanvas & | canvas, | ||
const char * | drawOption = nullptr |
||
) |
Definition at line 366 of file Phase1PixelMaps.cc.
References adjustCanvasMargins(), svgfig::canvas(), histoStyle::drawOption, spr::find(), newFWLiteAna::found, mps_fire::i, m_autorescale, m_isBooked, m_knownNames, m_option, pxfTh2PolyForward, and rescaleAllForward().
Referenced by templateHelper::SiPixelIDs< PayloadType, myType >::fill().
void Phase1PixelMaps::drawSummaryMaps | ( | const std::string & | currentHistoName, |
TCanvas & | canvas, | ||
const char * | drawOption = nullptr |
||
) |
Definition at line 396 of file Phase1PixelMaps.cc.
References adjustCanvasMargins(), svgfig::canvas(), histoStyle::drawOption, spr::find(), newFWLiteAna::found, m_isBooked, m_knownNames, m_option, pxbTh2PolyBarrelSummary, pxfTh2PolyForwardSummary, AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
void Phase1PixelMaps::fill | ( | const std::string & | currentHistoName, |
unsigned int | id, | ||
double | value | ||
) |
Definition at line 222 of file Phase1PixelMaps.cc.
References phase1PixelTopology::layer, LogDebug, m_isBooked, m_trackerTopo, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TrackerTopology::pxbLayer(), pxbTh2PolyBarrel, pxbTh2PolyBarrelSummary, TrackerTopology::pxfDisk(), TrackerTopology::pxfSide(), pxfTh2PolyForward, and pxfTh2PolyForwardSummary.
void Phase1PixelMaps::fillBarrelBin | ( | const std::string & | currentHistoName, |
unsigned int | id, | ||
double | value | ||
) |
Definition at line 252 of file Phase1PixelMaps.cc.
References phase1PixelTopology::layer, m_isBooked, m_trackerTopo, PixelSubdetector::PixelBarrel, TrackerTopology::pxbLayer(), pxbTh2PolyBarrel, and pxbTh2PolyBarrelSummary.
Referenced by templateHelper::SiPixelIDs< PayloadType, myType >::fill().
void Phase1PixelMaps::fillForwardBin | ( | const std::string & | currentHistoName, |
unsigned int | id, | ||
double | value | ||
) |
Definition at line 269 of file Phase1PixelMaps.cc.
References m_isBooked, m_trackerTopo, PixelSubdetector::PixelEndcap, TrackerTopology::pxfDisk(), TrackerTopology::pxfSide(), pxfTh2PolyForward, and pxfTh2PolyForwardSummary.
Referenced by templateHelper::SiPixelIDs< PayloadType, myType >::fill().
|
private |
Definition at line 489 of file Phase1PixelMaps.cc.
References HLT_2022v12_cff::Class, and gpuVertexFinder::hist.
Referenced by beautifyAllHistograms().
|
private |
Definition at line 526 of file Phase1PixelMaps.cc.
References mps_fire::end, spr::find(), timingPdfMaker::histo, m_knownNames, pxbTh2PolyBarrel, and HcalDetIdTransform::transform().
Referenced by drawBarrelMaps().
|
private |
Definition at line 552 of file Phase1PixelMaps.cc.
References mps_fire::end, spr::find(), timingPdfMaker::histo, m_knownNames, pxfTh2PolyForward, and HcalDetIdTransform::transform().
Referenced by drawForwardMaps().
void Phase1PixelMaps::resetOption | ( | const char * | option | ) |
Definition at line 20 of file Phase1PixelMaps.cc.
References m_option, and fileinputsource_cfi::option.
|
private |
Definition at line 429 of file Phase1PixelMaps.cc.
References mps_fire::end, Exception, geometryDiff::file, mps_fire::i, triggerObjects_cff::id, mps_splice::line, LOGDEBUG, Skims_PA_cff::name, MatrixUtil::remove(), AlCaHLTBitMon_QueryRunRegistry::string, and submitPVValidationJobs::t.
Referenced by bookBarrelBins(), and bookForwardBins().
void Phase1PixelMaps::setBarrelScale | ( | const std::string & | currentHistoName, |
std::pair< float, float > | extrema | ||
) |
Definition at line 322 of file Phase1PixelMaps.cc.
References timingPdfMaker::histo, and pxbTh2PolyBarrel.
void Phase1PixelMaps::setForwardScale | ( | const std::string & | currentHistoName, |
std::pair< float, float > | extrema | ||
) |
Definition at line 329 of file Phase1PixelMaps.cc.
References timingPdfMaker::histo, and pxfTh2PolyForward.
|
inline |
|
private |
Definition at line 93 of file Phase1PixelMaps.h.
Referenced by bookBarrelBins(), and bookForwardBins().
|
private |
Definition at line 93 of file Phase1PixelMaps.h.
Referenced by bookBarrelBins(), and bookForwardBins().
|
private |
Definition at line 87 of file Phase1PixelMaps.h.
Referenced by drawBarrelMaps(), drawForwardMaps(), and setNoRescale().
|
private |
Definition at line 99 of file Phase1PixelMaps.h.
Referenced by bookBarrelBins().
|
private |
Definition at line 100 of file Phase1PixelMaps.h.
Referenced by bookForwardBins().
|
private |
Definition at line 88 of file Phase1PixelMaps.h.
Referenced by beautifyAllHistograms(), book(), bookBarrelHistograms(), bookForwardHistograms(), drawBarrelMaps(), drawForwardMaps(), drawSummaryMaps(), fill(), fillBarrelBin(), and fillForwardBin().
|
private |
Definition at line 89 of file Phase1PixelMaps.h.
Referenced by bookBarrelHistograms(), bookForwardHistograms(), drawBarrelMaps(), drawForwardMaps(), drawSummaryMaps(), rescaleAllBarrel(), and rescaleAllForward().
|
private |
Definition at line 86 of file Phase1PixelMaps.h.
Referenced by bookBarrelHistograms(), bookForwardHistograms(), drawBarrelMaps(), drawForwardMaps(), drawSummaryMaps(), and resetOption().
|
private |
Definition at line 91 of file Phase1PixelMaps.h.
Referenced by bookBarrelBins(), bookForwardBins(), fill(), fillBarrelBin(), and fillForwardBin().
|
private |
Definition at line 94 of file Phase1PixelMaps.h.
Referenced by beautifyAllHistograms(), bookBarrelBins(), bookBarrelHistograms(), drawBarrelMaps(), fill(), fillBarrelBin(), rescaleAllBarrel(), and setBarrelScale().
|
private |
Definition at line 95 of file Phase1PixelMaps.h.
Referenced by bookBarrelBins(), bookBarrelHistograms(), drawSummaryMaps(), fill(), and fillBarrelBin().
|
private |
Definition at line 96 of file Phase1PixelMaps.h.
Referenced by beautifyAllHistograms(), bookForwardBins(), bookForwardHistograms(), drawForwardMaps(), fill(), fillForwardBin(), rescaleAllForward(), and setForwardScale().
|
private |
Definition at line 97 of file Phase1PixelMaps.h.
Referenced by bookForwardBins(), bookForwardHistograms(), drawSummaryMaps(), fill(), and fillForwardBin().