#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 529 of file Phase1PixelMaps.cc.
Referenced by drawBarrelMaps(), drawForwardMaps(), and drawSummaryMaps().
void Phase1PixelMaps::beautifyAllHistograms | ( | ) |
Definition at line 289 of file Phase1PixelMaps.cc.
References m_isBooked, makeNicePlotStyle(), plotFactory::plot, pxbTh2PolyBarrel, and pxfTh2PolyForward.
Referenced by templateHelper::SiPixelIDs< PayloadType, myType >::fill(), and templateHelper::SiPixelTemplateHeaderInfo< PayloadType, StoreType, TransientType, myType, myParam >::fill().
void Phase1PixelMaps::book | ( | const std::string & | currentHistoName, |
const char * | what, | ||
const char * | zaxis | ||
) |
Definition at line 216 of file Phase1PixelMaps.cc.
References bookBarrelHistograms(), bookForwardHistograms(), m_isBooked, and LaserClient_cfi::zaxis.
|
private |
Definition at line 124 of file Phase1PixelMaps.cc.
References bins, binsSummary, mps_splice::entry, Exception, f, nano_mu_digi_cff::float, l1ctLayer2EG_cff::id, dqmdumpme::k, PVValHelper::ladder, nano_mu_digi_cff::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 31 of file Phase1PixelMaps.cc.
References bookBarrelBins(), spr::find(), mps_fire::i, m_isBooked, m_knownNames, m_option, pxbTh2PolyBarrel, pxbTh2PolyBarrelSummary, AlCaHLTBitMon_QueryRunRegistry::string, to_string(), and LaserClient_cfi::zaxis.
Referenced by book(), templateHelper::SiPixelIDs< PayloadType, myType >::fill(), and templateHelper::SiPixelTemplateHeaderInfo< PayloadType, StoreType, TransientType, myType, myParam >::fill().
|
private |
Definition at line 169 of file Phase1PixelMaps.cc.
References bins, binsSummary, mps_splice::entry, Exception, f, nano_mu_digi_cff::float, l1ctLayer2EG_cff::id, dqmdumpme::k, m_cornersFPIX, m_trackerTopo, PixelSubdetector::PixelEndcap, TrackerTopology::pxfDisk(), TrackerTopology::pxfSide(), pxfTh2PolyForward, pxfTh2PolyForwardSummary, retrieveCorners(), and ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::side().
Referenced by bookForwardHistograms().
void Phase1PixelMaps::bookForwardHistograms | ( | const std::string & | currentHistoName, |
const char * | what, | ||
const char * | zaxis | ||
) |
Definition at line 76 of file Phase1PixelMaps.cc.
References bookForwardBins(), spr::find(), m_isBooked, m_knownNames, m_option, pxfTh2PolyForward, pxfTh2PolyForwardSummary, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::side(), AlCaHLTBitMon_QueryRunRegistry::string, to_string(), and LaserClient_cfi::zaxis.
Referenced by book(), templateHelper::SiPixelIDs< PayloadType, myType >::fill(), and templateHelper::SiPixelTemplateHeaderInfo< PayloadType, StoreType, TransientType, myType, myParam >::fill().
void Phase1PixelMaps::drawBarrelMaps | ( | const std::string & | currentHistoName, |
TCanvas & | canvas, | ||
const char * | drawOption = nullptr |
||
) |
Definition at line 337 of file Phase1PixelMaps.cc.
References adjustCanvasMargins(), histoStyle::drawOption, spr::find(), newFWLiteAna::found, mps_fire::i, m_autorescale, m_isBooked, m_knownNames, m_option, compareTotals::pad1, compareTotals::pad2, pxbTh2PolyBarrel, and rescaleAllBarrel().
Referenced by templateHelper::SiPixelIDs< PayloadType, myType >::fill(), and templateHelper::SiPixelTemplateHeaderInfo< PayloadType, StoreType, TransientType, myType, myParam >::fill().
void Phase1PixelMaps::drawForwardMaps | ( | const std::string & | currentHistoName, |
TCanvas & | canvas, | ||
const char * | drawOption = nullptr |
||
) |
Definition at line 371 of file Phase1PixelMaps.cc.
References adjustCanvasMargins(), histoStyle::drawOption, spr::find(), newFWLiteAna::found, mps_fire::i, m_autorescale, m_isBooked, m_knownNames, m_option, compareTotals::pad1, compareTotals::pad2, pxfTh2PolyForward, and rescaleAllForward().
Referenced by templateHelper::SiPixelIDs< PayloadType, myType >::fill(), and templateHelper::SiPixelTemplateHeaderInfo< PayloadType, StoreType, TransientType, myType, myParam >::fill().
void Phase1PixelMaps::drawSummaryMaps | ( | const std::string & | currentHistoName, |
TCanvas & | canvas, | ||
const char * | drawOption = nullptr |
||
) |
Definition at line 406 of file Phase1PixelMaps.cc.
References adjustCanvasMargins(), histoStyle::drawOption, spr::find(), newFWLiteAna::found, m_isBooked, m_knownNames, m_option, compareTotals::pad1, compareTotals::pad2, pxbTh2PolyBarrelSummary, pxfTh2PolyForwardSummary, AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
Referenced by templateHelper::SiPixelTemplateHeaderInfo< PayloadType, StoreType, TransientType, myType, myParam >::fill().
void Phase1PixelMaps::fill | ( | const std::string & | currentHistoName, |
unsigned int | id, | ||
double | value | ||
) |
Definition at line 223 of file Phase1PixelMaps.cc.
References nano_mu_digi_cff::layer, LogDebug, m_isBooked, m_trackerTopo, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TrackerTopology::pxbLayer(), pxbTh2PolyBarrel, pxbTh2PolyBarrelSummary, TrackerTopology::pxfDisk(), TrackerTopology::pxfSide(), pxfTh2PolyForward, pxfTh2PolyForwardSummary, and ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::side().
void Phase1PixelMaps::fillBarrelBin | ( | const std::string & | currentHistoName, |
unsigned int | id, | ||
double | value | ||
) |
Definition at line 253 of file Phase1PixelMaps.cc.
References nano_mu_digi_cff::layer, m_isBooked, m_trackerTopo, PixelSubdetector::PixelBarrel, TrackerTopology::pxbLayer(), pxbTh2PolyBarrel, and pxbTh2PolyBarrelSummary.
Referenced by templateHelper::SiPixelIDs< PayloadType, myType >::fill(), and templateHelper::SiPixelTemplateHeaderInfo< PayloadType, StoreType, TransientType, myType, myParam >::fill().
void Phase1PixelMaps::fillForwardBin | ( | const std::string & | currentHistoName, |
unsigned int | id, | ||
double | value | ||
) |
Definition at line 270 of file Phase1PixelMaps.cc.
References m_isBooked, m_trackerTopo, PixelSubdetector::PixelEndcap, TrackerTopology::pxfDisk(), TrackerTopology::pxfSide(), pxfTh2PolyForward, pxfTh2PolyForwardSummary, and ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::side().
Referenced by templateHelper::SiPixelIDs< PayloadType, myType >::fill(), and templateHelper::SiPixelTemplateHeaderInfo< PayloadType, StoreType, TransientType, myType, myParam >::fill().
|
private |
Definition at line 504 of file Phase1PixelMaps.cc.
References HLT_2024v10_cff::Class, and compareTotals::hist.
Referenced by beautifyAllHistograms().
|
private |
Definition at line 541 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 571 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 21 of file Phase1PixelMaps.cc.
References m_option, and fileinputsource_cfi::option.
Referenced by templateHelper::SiPixelTemplateHeaderInfo< PayloadType, StoreType, TransientType, myType, myParam >::fill().
|
private |
Definition at line 444 of file Phase1PixelMaps.cc.
References mps_fire::end, Exception, geometryDiff::file, mps_fire::i, l1ctLayer2EG_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 323 of file Phase1PixelMaps.cc.
References timingPdfMaker::histo, and pxbTh2PolyBarrel.
void Phase1PixelMaps::setForwardScale | ( | const std::string & | currentHistoName, |
std::pair< float, float > | extrema | ||
) |
Definition at line 330 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().