#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 {nullptr} |
MonitorElement * | DetFractionReportMap_hasBadChan {nullptr} |
MonitorElement * | DetFractionReportMap_hasDcsErr {nullptr} |
MonitorElement * | DetFractionReportMap_hasExclFed {nullptr} |
MonitorElement * | DetFractionReportMap_hasTooManyClu {nullptr} |
MonitorElement * | DetFractionReportMap_hasTooManyDigis {nullptr} |
const edm::ParameterSet | 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 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 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 215 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 544 of file SiStripQualityChecker.cc.
References dqm::implementation::DQMStore::cd(), dqm::impl::MonitorElement::Fill(), HLT_FULL_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 edm::EventSetup & | eSetup | ||
) |
Definition at line 486 of file SiStripQualityChecker.cc.
References badModuleList, dqm::implementation::IBooker::bookInt(), dqm::implementation::DQMStore::cd(), dqm::implementation::IGetter::dirExists(), edm::EventSetup::get(), get, dqm::implementation::IGetter::get(), SiStripFolderOrganizer::getSubDetFolder(), SiStripUtility::goToDir(), hlt_dqm_clientPB-live_cfg::me, edm::ESHandle< T >::product(), dqm::implementation::DQMStore::pwd(), dqm::implementation::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 195 of file SiStripQualityChecker.cc.
References bookedStripStatus_, bookStatus(), fillDetectorStatus(), fillDummyStatus(), fillFaultyModuleStatus(), edm::EventSetup::get(), get, edm::ParameterSet::getUntrackedParameter(), edm::ESHandle< T >::product(), pSet_, and tkDetMap_.
void SiStripQualityChecker::fillStatusAtLumi | ( | DQMStore & | dqm_store | ) |
Definition at line 535 of file SiStripQualityChecker.cc.
References bookedStripStatus_, bookStatus(), fillDetectorStatusAtLumi(), and fillDummyStatus().
|
private |
Definition at line 474 of file SiStripQualityChecker.cc.
References hlt_dqm_clientPB-live_cfg::me, MonitorElementData::TH2F, and heppy_batch::val.
Referenced by fillSubDetStatus().
|
private |
Definition at line 246 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, 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 389 of file SiStripQualityChecker.cc.
References badModuleList, 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, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by fillSubDetStatus().
|
private |
Definition at line 526 of file SiStripQualityChecker.cc.
References badModuleList.
Referenced by fillDetectorStatus().
void SiStripQualityChecker::printStatusReport | ( | ) |
Definition at line 358 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 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(), and fillDetectorStatus().
|
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.