#include <SiStripQualityChecker.h>
Classes | |
struct | SubDetMEs |
Public Types | |
typedef dqm::harvesting::DQMStore | DQMStore |
typedef dqm::harvesting::MonitorElement | MonitorElement |
Public Member Functions | |
void | bookStatus (DQMStore &dqm_store) |
void | fillDummyStatus () |
void | fillFaultyModuleStatus (DQMStore &dqm_store, const TrackerTopology *tTopo) |
void | fillStatus (DQMStore &dqm_store, const SiStripDetCabling *cabling, const TkDetMap *tkDetMap, const TrackerTopology *tTopo) |
void | fillStatusAtLumi (DQMStore &dqm_store) |
void | printStatusReport () |
void | resetStatus () |
SiStripQualityChecker (edm::ParameterSet const &ps) | |
~SiStripQualityChecker () | |
Private Member Functions | |
void | fillDetectorStatus (DQMStore &dqm_store, const SiStripDetCabling *cabling) |
void | fillDetectorStatusAtLumi (DQMStore &dqm_store) |
void | fillStatusHistogram (MonitorElement const *, int xbin, int ybin, float val) |
void | fillSubDetStatus (DQMStore &dqm_store, const SiStripDetCabling *cabling, SubDetMEs &mes, unsigned int xbin, float &gflag) |
void | getModuleStatus (DQMStore &dqm_store, std::vector< MonitorElement *> &layer_mes, int &errdet, int &errdet_hasBadChan, int &errdet_hasTooManyDigis, int &errdet_hasTooManyClu, int &errdet_hasExclFed, int &errdet_hasDcsErr) |
void | initialiseBadModuleList () |
Private Attributes | |
std::map< uint32_t, uint16_t > | badModuleList |
bool | bookedStripStatus_ {false} |
MonitorElement * | DetFractionReportMap {nullptr} |
MonitorElement * | DetFractionReportMap_hasBadChan {nullptr} |
MonitorElement * | DetFractionReportMap_hasDcsErr {nullptr} |
MonitorElement * | DetFractionReportMap_hasExclFed {nullptr} |
MonitorElement * | DetFractionReportMap_hasTooManyClu {nullptr} |
MonitorElement * | DetFractionReportMap_hasTooManyDigis {nullptr} |
edm::ParameterSet const | pSet_ |
MonitorElement * | SToNReportMap {nullptr} |
std::map< std::string, std::string > | SubDetFolderMap |
std::map< std::string, SubDetMEs > | SubDetMEsMap |
MonitorElement * | SummaryReportGlobal {nullptr} |
MonitorElement * | SummaryReportMap {nullptr} |
const TkDetMap * | tkDetMap_ |
MonitorElement * | TrackSummaryReportGlobal {nullptr} |
MonitorElement * | TrackSummaryReportMap {nullptr} |
Definition at line 18 of file SiStripQualityChecker.h.
Definition at line 21 of file SiStripQualityChecker.h.
Definition at line 20 of file SiStripQualityChecker.h.
SiStripQualityChecker::SiStripQualityChecker | ( | edm::ParameterSet const & | ps | ) |
Definition at line 21 of file SiStripQualityChecker.cc.
SiStripQualityChecker::~SiStripQualityChecker | ( | ) |
Definition at line 33 of file SiStripQualityChecker.cc.
void SiStripQualityChecker::bookStatus | ( | DQMStore & | dqm_store | ) |
Definition at line 40 of file SiStripQualityChecker.cc.
References dqm::implementation::IBooker::book2D(), bookedStripStatus_, dqm::implementation::IBooker::bookFloat(), dqm::implementation::DQMStore::cd(), SiStripQualityChecker::SubDetMEs::detectorTag, SiStripQualityChecker::SubDetMEs::DetFraction, DetFractionReportMap, DetFractionReportMap_hasBadChan, DetFractionReportMap_hasDcsErr, DetFractionReportMap_hasExclFed, DetFractionReportMap_hasTooManyClu, DetFractionReportMap_hasTooManyDigis, SiStripUtility::getTopFolderPath(), label, dqm::impl::MonitorElement::setAxisTitle(), dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::DQMStore::setCurrentFolder(), SiStripQualityChecker::SubDetMEs::SToNFlag, SToNReportMap, AlCaHLTBitMon_QueryRunRegistry::string, SubDetFolderMap, SubDetMEsMap, SiStripQualityChecker::SubDetMEs::SummaryFlag, SummaryReportGlobal, and SummaryReportMap.
Referenced by fillStatus(), and fillStatusAtLumi().
|
private |
Definition at line 214 of file SiStripQualityChecker.cc.
References dqm::implementation::DQMStore::cd(), dqm::implementation::IGetter::dirExists(), RefreshWebPage::dname, dqm::impl::MonitorElement::Fill(), fillSubDetStatus(), RemoveAddSevLevel::flag, SiStripUtility::goToDir(), initialiseBadModuleList(), dqm::implementation::DQMStore::pwd(), AlCaHLTBitMon_QueryRunRegistry::string, SubDetFolderMap, SubDetMEsMap, and SummaryReportGlobal.
Referenced by fillStatus().
|
private |
Definition at line 535 of file SiStripQualityChecker.cc.
References dqm::implementation::DQMStore::cd(), dqm::impl::MonitorElement::Fill(), HLT_2023v12_cff::fraction, reco_skim_cfg_mod::fullpath, dqm::implementation::IGetter::get(), SiStripUtility::goToDir(), label, hlt_dqm_clientPB-live_cfg::me, dqm::implementation::DQMStore::pwd(), AlCaHLTBitMon_QueryRunRegistry::string, SubDetMEsMap, SummaryReportGlobal, and MonitorElementData::TH1F.
Referenced by fillStatusAtLumi().
void SiStripQualityChecker::fillDummyStatus | ( | ) |
Definition at line 144 of file SiStripQualityChecker.cc.
References bookedStripStatus_, DetFractionReportMap, DetFractionReportMap_hasBadChan, DetFractionReportMap_hasDcsErr, DetFractionReportMap_hasExclFed, DetFractionReportMap_hasTooManyClu, DetFractionReportMap_hasTooManyDigis, dqm::impl::MonitorElement::Fill(), dqm::impl::MonitorElement::getNbinsX(), dqm::impl::MonitorElement::getNbinsY(), resetStatus(), SToNReportMap, SubDetMEsMap, SummaryReportGlobal, and SummaryReportMap.
Referenced by fillStatus(), and fillStatusAtLumi().
void SiStripQualityChecker::fillFaultyModuleStatus | ( | DQMStore & | dqm_store, |
const TrackerTopology * | tTopo | ||
) |
Definition at line 482 of file SiStripQualityChecker.cc.
References badModuleList, dqm::implementation::IBooker::bookInt(), dqm::implementation::DQMStore::cd(), hcalRecHitTable_cff::detId, dqm::implementation::IGetter::dirExists(), dqm::implementation::IGetter::get(), SiStripFolderOrganizer::getSubDetFolder(), SiStripUtility::goToDir(), hlt_dqm_clientPB-live_cfg::me, dqm::implementation::DQMStore::pwd(), dqm::implementation::DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by fillStatus().
void SiStripQualityChecker::fillStatus | ( | DQMStore & | dqm_store, |
const SiStripDetCabling * | cabling, | ||
const TkDetMap * | tkDetMap, | ||
const TrackerTopology * | tTopo | ||
) |
Definition at line 195 of file SiStripQualityChecker.cc.
References bookedStripStatus_, bookStatus(), fillDetectorStatus(), fillDummyStatus(), fillFaultyModuleStatus(), edm::ParameterSet::getUntrackedParameter(), pSet_, and tkDetMap_.
void SiStripQualityChecker::fillStatusAtLumi | ( | DQMStore & | dqm_store | ) |
Definition at line 526 of file SiStripQualityChecker.cc.
References bookedStripStatus_, bookStatus(), fillDetectorStatusAtLumi(), and fillDummyStatus().
|
private |
Definition at line 470 of file SiStripQualityChecker.cc.
References hlt_dqm_clientPB-live_cfg::me, MonitorElementData::TH2F, and heppy_batch::val.
Referenced by fillSubDetStatus().
|
private |
Definition at line 245 of file SiStripQualityChecker.cc.
References dqm::implementation::DQMStore::cd(), SiStripDetCabling::connectedNumber(), SiStripQualityChecker::SubDetMEs::detectorTag, SiStripQualityChecker::SubDetMEs::DetFraction, DetFractionReportMap, DetFractionReportMap_hasBadChan, DetFractionReportMap_hasDcsErr, DetFractionReportMap_hasExclFed, DetFractionReportMap_hasTooManyClu, DetFractionReportMap_hasTooManyDigis, RefreshWebPage::dname, dqm::qstatus::ERROR, dqm::impl::MonitorElement::Fill(), fillStatusHistogram(), dqm::implementation::IGetter::getContents(), SiStripUtility::getMEStatus(), getModuleStatus(), dqm::implementation::IGetter::getSubdirs(), edm::ParameterSet::getUntrackedParameter(), hlt_dqm_clientPB-live_cfg::me, SiStripPI::min, Skims_PA_cff::name, pSet_, dqm::qstatus::STATUS_OK, SiStripQualityChecker::SubDetMEs::SToNFlag, SToNReportMap, AlCaHLTBitMon_QueryRunRegistry::string, SiStripQualityChecker::SubDetMEs::SummaryFlag, and SummaryReportMap.
Referenced by fillDetectorStatus().
|
private |
Definition at line 385 of file SiStripQualityChecker.cc.
References badModuleList, hcalRecHitTable_cff::detId, RemoveAddSevLevel::flag, dqm::implementation::IGetter::get(), TkDetMap::getDetFromBin(), SiStripUtility::getMEValue(), hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, dqm::implementation::DQMStore::pwd(), SiStripUtility::setBadModuleFlag(), AlCaHLTBitMon_QueryRunRegistry::string, tkDetMap_, MonitorElementData::TPROFILE, MonitorElementData::TPROFILE2D, testProducerWithPsetDescEmpty_cfi::x1, makeMEIFBenchmarkPlots::xval, and makeMEIFBenchmarkPlots::yval.
Referenced by fillSubDetStatus().
|
private |
Definition at line 517 of file SiStripQualityChecker.cc.
References badModuleList.
Referenced by fillDetectorStatus().
void SiStripQualityChecker::printStatusReport | ( | ) |
Definition at line 354 of file SiStripQualityChecker.cc.
References SiStripQualityChecker::SubDetMEs::DetFraction, alignBH_cfg::fixed, SiStripUtility::getMEValue(), SiStripQualityChecker::SubDetMEs::SToNFlag, AlCaHLTBitMon_QueryRunRegistry::string, SubDetMEsMap, and SiStripQualityChecker::SubDetMEs::SummaryFlag.
void SiStripQualityChecker::resetStatus | ( | ) |
Definition at line 172 of file SiStripQualityChecker.cc.
References bookedStripStatus_, DetFractionReportMap, DetFractionReportMap_hasBadChan, DetFractionReportMap_hasDcsErr, DetFractionReportMap_hasExclFed, DetFractionReportMap_hasTooManyClu, DetFractionReportMap_hasTooManyDigis, dqm::impl::MonitorElement::Reset(), SToNReportMap, SubDetMEsMap, SummaryReportGlobal, and SummaryReportMap.
Referenced by fillDummyStatus().
|
private |
Definition at line 77 of file SiStripQualityChecker.h.
Referenced by fillFaultyModuleStatus(), getModuleStatus(), and initialiseBadModuleList().
|
private |
Definition at line 81 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDummyStatus(), fillStatus(), fillStatusAtLumi(), and resetStatus().
|
private |
Definition at line 65 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDummyStatus(), fillSubDetStatus(), and resetStatus().
|
private |
Definition at line 66 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDummyStatus(), fillSubDetStatus(), and resetStatus().
|
private |
Definition at line 70 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDummyStatus(), fillSubDetStatus(), and resetStatus().
|
private |
Definition at line 69 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDummyStatus(), fillSubDetStatus(), and resetStatus().
|
private |
Definition at line 68 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDummyStatus(), fillSubDetStatus(), and resetStatus().
|
private |
Definition at line 67 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDummyStatus(), fillSubDetStatus(), and resetStatus().
|
private |
Definition at line 79 of file SiStripQualityChecker.h.
Referenced by fillStatus(), and fillSubDetStatus().
|
private |
Definition at line 71 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDummyStatus(), fillSubDetStatus(), and resetStatus().
|
private |
Definition at line 63 of file SiStripQualityChecker.h.
Referenced by bookStatus(), and fillDetectorStatus().
|
private |
Definition at line 62 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDetectorStatus(), fillDetectorStatusAtLumi(), fillDummyStatus(), printStatusReport(), and resetStatus().
|
private |
Definition at line 73 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDetectorStatus(), fillDetectorStatusAtLumi(), fillDummyStatus(), and resetStatus().
|
private |
Definition at line 72 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDummyStatus(), fillSubDetStatus(), and resetStatus().
|
private |
Definition at line 83 of file SiStripQualityChecker.h.
Referenced by fillStatus(), and getModuleStatus().
|
private |
Definition at line 75 of file SiStripQualityChecker.h.
|
private |
Definition at line 74 of file SiStripQualityChecker.h.