#include <Phase1PixelMaps.h>
Public Member Functions | |
void | beautifyAllHistograms () |
void | bookBarrelBins (const std::string ¤tHistoName) |
void | bookBarrelHistograms (const std::string ¤tHistoName, const char *what, const char *zaxis) |
void | bookForwardBins (const std::string ¤tHistoName) |
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) |
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 | 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 |
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 413 of file Phase1PixelMaps.cc.
Referenced by drawBarrelMaps(), drawForwardMaps(), and drawSummaryMaps().
void Phase1PixelMaps::beautifyAllHistograms | ( | ) |
Definition at line 222 of file Phase1PixelMaps.cc.
References makeNicePlotStyle(), plotFactory::plot, pxbTh2PolyBarrel, and pxfTh2PolyForward.
Referenced by templateHelper::SiPixelIDs< PayloadType, myType >::fill().
void Phase1PixelMaps::bookBarrelBins | ( | const std::string & | currentHistoName | ) |
Definition at line 102 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 templateHelper::SiPixelIDs< PayloadType, myType >::fill().
void Phase1PixelMaps::bookBarrelHistograms | ( | const std::string & | currentHistoName, |
const char * | what, | ||
const char * | zaxis | ||
) |
Definition at line 30 of file Phase1PixelMaps.cc.
References mps_fire::i, m_option, pxbTh2PolyBarrel, pxbTh2PolyBarrelSummary, AlCaHLTBitMon_QueryRunRegistry::string, and LaserClient_cfi::zaxis.
Referenced by templateHelper::SiPixelIDs< PayloadType, myType >::fill().
void Phase1PixelMaps::bookForwardBins | ( | const std::string & | currentHistoName | ) |
Definition at line 147 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 templateHelper::SiPixelIDs< PayloadType, myType >::fill().
void Phase1PixelMaps::bookForwardHistograms | ( | const std::string & | currentHistoName, |
const char * | what, | ||
const char * | zaxis | ||
) |
Definition at line 64 of file Phase1PixelMaps.cc.
References m_option, pxfTh2PolyForward, pxfTh2PolyForwardSummary, AlCaHLTBitMon_QueryRunRegistry::string, and LaserClient_cfi::zaxis.
Referenced by templateHelper::SiPixelIDs< PayloadType, myType >::fill().
void Phase1PixelMaps::drawBarrelMaps | ( | const std::string & | currentHistoName, |
TCanvas & | canvas, | ||
const char * | drawOption = nullptr |
||
) |
Definition at line 259 of file Phase1PixelMaps.cc.
References adjustCanvasMargins(), svgfig::canvas(), histoStyle::drawOption, mps_fire::i, m_autorescale, 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 282 of file Phase1PixelMaps.cc.
References adjustCanvasMargins(), svgfig::canvas(), histoStyle::drawOption, mps_fire::i, m_autorescale, m_option, pxfTh2PolyForward, and rescaleAllForward().
Referenced by templateHelper::SiPixelIDs< PayloadType, myType >::fill().
void Phase1PixelMaps::drawSummaryMaps | ( | const std::string & | currentHistoName, |
TCanvas & | canvas | ||
) |
Definition at line 305 of file Phase1PixelMaps.cc.
References adjustCanvasMargins(), svgfig::canvas(), m_option, pxbTh2PolyBarrelSummary, pxfTh2PolyForwardSummary, AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
void Phase1PixelMaps::fillBarrelBin | ( | const std::string & | currentHistoName, |
unsigned int | id, | ||
double | value | ||
) |
Definition at line 194 of file Phase1PixelMaps.cc.
References phase1PixelTopology::layer, 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 207 of file Phase1PixelMaps.cc.
References m_trackerTopo, PixelSubdetector::PixelEndcap, TrackerTopology::pxfDisk(), TrackerTopology::pxfSide(), pxfTh2PolyForward, and pxfTh2PolyForwardSummary.
Referenced by templateHelper::SiPixelIDs< PayloadType, myType >::fill().
|
private |
Definition at line 388 of file Phase1PixelMaps.cc.
References HLT_FULL_cff::Class, and gpuVertexFinder::hist.
Referenced by beautifyAllHistograms().
|
private |
Definition at line 425 of file Phase1PixelMaps.cc.
References mps_fire::end, timingPdfMaker::histo, pxbTh2PolyBarrel, and HcalDetIdTransform::transform().
Referenced by drawBarrelMaps().
|
private |
Definition at line 446 of file Phase1PixelMaps.cc.
References mps_fire::end, timingPdfMaker::histo, 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 328 of file Phase1PixelMaps.cc.
References mps_fire::end, Exception, FrontierConditions_GlobalTag_cff::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 245 of file Phase1PixelMaps.cc.
References timingPdfMaker::histo, and pxbTh2PolyBarrel.
void Phase1PixelMaps::setForwardScale | ( | const std::string & | currentHistoName, |
std::pair< float, float > | extrema | ||
) |
Definition at line 252 of file Phase1PixelMaps.cc.
References timingPdfMaker::histo, and pxfTh2PolyForward.
|
inline |
|
private |
Definition at line 84 of file Phase1PixelMaps.h.
Referenced by bookBarrelBins(), and bookForwardBins().
|
private |
Definition at line 84 of file Phase1PixelMaps.h.
Referenced by bookBarrelBins(), and bookForwardBins().
|
private |
Definition at line 81 of file Phase1PixelMaps.h.
Referenced by drawBarrelMaps(), drawForwardMaps(), and setNoRescale().
|
private |
Definition at line 90 of file Phase1PixelMaps.h.
Referenced by bookBarrelBins().
|
private |
Definition at line 91 of file Phase1PixelMaps.h.
Referenced by bookForwardBins().
|
private |
Definition at line 80 of file Phase1PixelMaps.h.
Referenced by bookBarrelHistograms(), bookForwardHistograms(), drawBarrelMaps(), drawForwardMaps(), drawSummaryMaps(), and resetOption().
|
private |
Definition at line 82 of file Phase1PixelMaps.h.
Referenced by bookBarrelBins(), bookForwardBins(), fillBarrelBin(), and fillForwardBin().
|
private |
Definition at line 85 of file Phase1PixelMaps.h.
Referenced by beautifyAllHistograms(), bookBarrelBins(), bookBarrelHistograms(), drawBarrelMaps(), fillBarrelBin(), rescaleAllBarrel(), and setBarrelScale().
|
private |
Definition at line 86 of file Phase1PixelMaps.h.
Referenced by bookBarrelBins(), bookBarrelHistograms(), drawSummaryMaps(), and fillBarrelBin().
|
private |
Definition at line 87 of file Phase1PixelMaps.h.
Referenced by beautifyAllHistograms(), bookForwardBins(), bookForwardHistograms(), drawForwardMaps(), fillForwardBin(), rescaleAllForward(), and setForwardScale().
|
private |
Definition at line 88 of file Phase1PixelMaps.h.
Referenced by bookForwardBins(), bookForwardHistograms(), drawSummaryMaps(), and fillForwardBin().