#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 edm::EventSetup &eSetup) |
void | fillStatus (DQMStore &dqm_store, const edm::ESHandle< SiStripDetCabling > &cabling, const edm::EventSetup &eSetup) |
void | fillStatusAtLumi (DQMStore &dqm_store) |
void | printStatusReport () |
void | resetStatus () |
SiStripQualityChecker (edm::ParameterSet const &ps) | |
~SiStripQualityChecker () | |
Private Member Functions | |
void | fillDetectorStatus (DQMStore &dqm_store, const edm::ESHandle< SiStripDetCabling > &cabling) |
void | fillDetectorStatusAtLumi (DQMStore &dqm_store) |
void | fillStatusHistogram (MonitorElement const *, int xbin, int ybin, float val) |
void | fillSubDetStatus (DQMStore &dqm_store, const edm::ESHandle< 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 { 0 } |
MonitorElement * | DetFractionReportMap_hasBadChan { 0 } |
MonitorElement * | DetFractionReportMap_hasDcsErr { 0 } |
MonitorElement * | DetFractionReportMap_hasExclFed { 0 } |
MonitorElement * | DetFractionReportMap_hasTooManyClu { 0 } |
MonitorElement * | DetFractionReportMap_hasTooManyDigis { 0 } |
edm::ParameterSet const | pSet_ |
MonitorElement * | SToNReportMap { 0 } |
std::map< std::string, std::string > | SubDetFolderMap |
std::map< std::string, SubDetMEs > | SubDetMEsMap |
MonitorElement * | SummaryReportGlobal { 0 } |
MonitorElement * | SummaryReportMap { 0 } |
const TkDetMap * | tkDetMap_ |
MonitorElement * | TrackSummaryReportGlobal { 0 } |
MonitorElement * | TrackSummaryReportMap { 0 } |
Definition at line 19 of file SiStripQualityChecker.h.
Definition at line 22 of file SiStripQualityChecker.h.
Definition at line 21 of file SiStripQualityChecker.h.
SiStripQualityChecker::SiStripQualityChecker | ( | edm::ParameterSet const & | ps | ) |
Definition at line 22 of file SiStripQualityChecker.cc.
References SubDetFolderMap.
SiStripQualityChecker::~SiStripQualityChecker | ( | ) |
Definition at line 34 of file SiStripQualityChecker.cc.
void SiStripQualityChecker::bookStatus | ( | DQMStore & | dqm_store | ) |
Definition at line 41 of file SiStripQualityChecker.cc.
References dqm::dqmstoreimpl::DQMStore::book2D(), bookedStripStatus_, dqm::dqmstoreimpl::DQMStore::bookFloat(), dqm::dqmstoreimpl::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::dqmstoreimpl::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 216 of file SiStripQualityChecker.cc.
References dqm::dqmstoreimpl::DQMStore::cd(), dqm::dqmstoreimpl::DQMStore::dirExists(), RefreshWebPage::dname, dqm::impl::MonitorElement::Fill(), fillSubDetStatus(), RemoveAddSevLevel::flag, SiStripUtility::goToDir(), initialiseBadModuleList(), dqm::dqmstoreimpl::DQMStore::pwd(), AlCaHLTBitMon_QueryRunRegistry::string, SubDetFolderMap, SubDetMEsMap, and SummaryReportGlobal.
Referenced by fillStatus().
|
private |
Definition at line 545 of file SiStripQualityChecker.cc.
References dqm::dqmstoreimpl::DQMStore::cd(), dqm::impl::MonitorElement::Fill(), HLT_2018_cff::fraction, reco_skim_cfg_mod::fullpath, dqm::dqmstoreimpl::DQMStore::get(), dqm::legacy::MonitorElement::getTH1F(), SiStripUtility::goToDir(), dqm::impl::MonitorElement::kind(), label, hlt_dqm_clientPB-live_cfg::me, dqm::dqmstoreimpl::DQMStore::pwd(), AlCaHLTBitMon_QueryRunRegistry::string, SubDetMEsMap, SummaryReportGlobal, and MonitorElementData::TH1F.
Referenced by fillStatusAtLumi().
void SiStripQualityChecker::fillDummyStatus | ( | ) |
Definition at line 145 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 edm::EventSetup & | eSetup | ||
) |
Definition at line 487 of file SiStripQualityChecker.cc.
References badModuleList, dqm::dqmstoreimpl::DQMStore::bookInt(), dqm::dqmstoreimpl::DQMStore::cd(), dqm::dqmstoreimpl::DQMStore::dirExists(), dqm::impl::MonitorElement::Fill(), edm::EventSetup::get(), dqm::dqmstoreimpl::DQMStore::get(), SiStripFolderOrganizer::getSubDetFolder(), SiStripUtility::goToDir(), hlt_dqm_clientPB-live_cfg::me, edm::ESHandle< T >::product(), dqm::dqmstoreimpl::DQMStore::pwd(), dqm::impl::MonitorElement::Reset(), dqm::dqmstoreimpl::DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by fillStatus().
void SiStripQualityChecker::fillStatus | ( | DQMStore & | dqm_store, |
const edm::ESHandle< SiStripDetCabling > & | cabling, | ||
const edm::EventSetup & | eSetup | ||
) |
Definition at line 196 of file SiStripQualityChecker.cc.
References bookedStripStatus_, bookStatus(), fillDetectorStatus(), fillDummyStatus(), fillFaultyModuleStatus(), edm::EventSetup::get(), edm::ParameterSet::getUntrackedParameter(), edm::ESHandle< T >::product(), pSet_, and tkDetMap_.
void SiStripQualityChecker::fillStatusAtLumi | ( | DQMStore & | dqm_store | ) |
Definition at line 536 of file SiStripQualityChecker.cc.
References bookedStripStatus_, bookStatus(), fillDetectorStatusAtLumi(), and fillDummyStatus().
|
private |
Definition at line 475 of file SiStripQualityChecker.cc.
References dqm::legacy::MonitorElement::getTH2F(), dqm::impl::MonitorElement::kind(), and MonitorElementData::TH2F.
Referenced by fillSubDetStatus().
|
private |
Definition at line 247 of file SiStripQualityChecker.cc.
References dqm::dqmstoreimpl::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::dqmstoreimpl::DQMStore::getContents(), SiStripUtility::getMEStatus(), getModuleStatus(), dqm::dqmstoreimpl::DQMStore::getSubdirs(), edm::ParameterSet::getUntrackedParameter(), hlt_dqm_clientPB-live_cfg::me, 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 390 of file SiStripQualityChecker.cc.
References badModuleList, RemoveAddSevLevel::flag, dqm::dqmstoreimpl::DQMStore::get(), TkDetMap::getDetFromBin(), SiStripUtility::getMEValue(), dqm::impl::MonitorElement::getName(), dqm::impl::MonitorElement::getQReports(), dqm::impl::MonitorElement::kind(), hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, dqm::dqmstoreimpl::DQMStore::pwd(), SiStripUtility::setBadModuleFlag(), AlCaHLTBitMon_QueryRunRegistry::string, tkDetMap_, MonitorElementData::TPROFILE, MonitorElementData::TPROFILE2D, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by fillSubDetStatus().
|
private |
Definition at line 527 of file SiStripQualityChecker.cc.
References badModuleList.
Referenced by fillDetectorStatus().
void SiStripQualityChecker::printStatusReport | ( | ) |
Definition at line 359 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 173 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 78 of file SiStripQualityChecker.h.
Referenced by fillFaultyModuleStatus(), getModuleStatus(), and initialiseBadModuleList().
|
private |
Definition at line 82 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDummyStatus(), fillStatus(), fillStatusAtLumi(), and resetStatus().
|
private |
Definition at line 66 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 71 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 80 of file SiStripQualityChecker.h.
Referenced by fillStatus(), and fillSubDetStatus().
|
private |
Definition at line 72 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDummyStatus(), fillSubDetStatus(), and resetStatus().
|
private |
Definition at line 64 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDetectorStatus(), and SiStripQualityChecker().
|
private |
Definition at line 63 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDetectorStatus(), fillDetectorStatusAtLumi(), fillDummyStatus(), printStatusReport(), and resetStatus().
|
private |
Definition at line 74 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDetectorStatus(), fillDetectorStatusAtLumi(), fillDummyStatus(), and resetStatus().
|
private |
Definition at line 73 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDummyStatus(), fillSubDetStatus(), and resetStatus().
|
private |
Definition at line 84 of file SiStripQualityChecker.h.
Referenced by fillStatus(), and getModuleStatus().
|
private |
Definition at line 76 of file SiStripQualityChecker.h.
|
private |
Definition at line 75 of file SiStripQualityChecker.h.