#include <SiStripQualityChecker.h>
Classes | |
struct | SubDetMEs |
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 21 of file SiStripQualityChecker.h.
SiStripQualityChecker::SiStripQualityChecker | ( | edm::ParameterSet const & | ps | ) |
Definition at line 23 of file SiStripQualityChecker.cc.
References SubDetFolderMap.
SiStripQualityChecker::~SiStripQualityChecker | ( | ) |
Definition at line 37 of file SiStripQualityChecker.cc.
void SiStripQualityChecker::bookStatus | ( | DQMStore & | dqm_store | ) |
Definition at line 46 of file SiStripQualityChecker.cc.
References DQMStore::book2D(), bookedStripStatus_, DQMStore::bookFloat(), DQMStore::cd(), SiStripQualityChecker::SubDetMEs::detectorTag, SiStripQualityChecker::SubDetMEs::DetFraction, DetFractionReportMap, DetFractionReportMap_hasBadChan, DetFractionReportMap_hasDcsErr, DetFractionReportMap_hasExclFed, DetFractionReportMap_hasTooManyClu, DetFractionReportMap_hasTooManyDigis, SiStripUtility::getTopFolderPath(), label, MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), 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 230 of file SiStripQualityChecker.cc.
References DQMStore::cd(), DQMStore::dirExists(), RefreshWebPage::dname, MonitorElement::Fill(), fillSubDetStatus(), RemoveAddSevLevel::flag, SiStripUtility::goToDir(), initialiseBadModuleList(), DQMStore::pwd(), AlCaHLTBitMon_QueryRunRegistry::string, SubDetFolderMap, SubDetMEsMap, and SummaryReportGlobal.
Referenced by fillStatus().
|
private |
Definition at line 549 of file SiStripQualityChecker.cc.
References DQMStore::cd(), MonitorElement::DQM_KIND_TH1F, MonitorElement::Fill(), HcalObjRepresent::Fill(), dedxEstimators_cff::fraction, DQMStore::get(), MonitorElement::getTH1F(), SiStripUtility::goToDir(), MonitorElement::kind(), label, DQMStore::pwd(), AlCaHLTBitMon_QueryRunRegistry::string, SubDetMEsMap, and SummaryReportGlobal.
Referenced by fillStatusAtLumi().
void SiStripQualityChecker::fillDummyStatus | ( | ) |
Definition at line 156 of file SiStripQualityChecker.cc.
References bookedStripStatus_, DetFractionReportMap, DetFractionReportMap_hasBadChan, DetFractionReportMap_hasDcsErr, DetFractionReportMap_hasExclFed, DetFractionReportMap_hasTooManyClu, DetFractionReportMap_hasTooManyDigis, MonitorElement::Fill(), HcalObjRepresent::Fill(), MonitorElement::getNbinsX(), 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 489 of file SiStripQualityChecker.cc.
References badModuleList, DQMStore::bookInt(), DQMStore::cd(), DQMStore::dirExists(), MonitorElement::Fill(), edm::EventSetup::get(), DQMStore::get(), SiStripFolderOrganizer::getSubDetFolder(), SiStripUtility::goToDir(), edm::ESHandle< T >::product(), DQMStore::pwd(), MonitorElement::Reset(), 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 209 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 539 of file SiStripQualityChecker.cc.
References bookedStripStatus_, bookStatus(), fillDetectorStatusAtLumi(), and fillDummyStatus().
|
private |
Definition at line 475 of file SiStripQualityChecker.cc.
References MonitorElement::DQM_KIND_TH2F, MonitorElement::getTH2F(), and MonitorElement::kind().
Referenced by fillSubDetStatus().
|
private |
Definition at line 261 of file SiStripQualityChecker.cc.
References 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, MonitorElement::Fill(), fillStatusHistogram(), DQMStore::getContents(), SiStripUtility::getMEStatus(), getModuleStatus(), DQMStore::getSubdirs(), edm::ParameterSet::getUntrackedParameter(), min(), dataset::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, lumiPlot::currentdir, MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, RemoveAddSevLevel::flag, DQMStore::get(), TkDetMap::getDetFromBin(), SiStripUtility::getMEValue(), MonitorElement::getName(), MonitorElement::getQReports(), MonitorElement::kind(), dataset::name, DQMStore::pwd(), SiStripUtility::setBadModuleFlag(), AlCaHLTBitMon_QueryRunRegistry::string, tkDetMap_, and globals_cff::x1.
Referenced by fillSubDetStatus().
|
private |
Definition at line 528 of file SiStripQualityChecker.cc.
References badModuleList.
Referenced by fillDetectorStatus().
void SiStripQualityChecker::printStatusReport | ( | ) |
Definition at line 357 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 185 of file SiStripQualityChecker.cc.
References bookedStripStatus_, DetFractionReportMap, DetFractionReportMap_hasBadChan, DetFractionReportMap_hasDcsErr, DetFractionReportMap_hasExclFed, DetFractionReportMap_hasTooManyClu, DetFractionReportMap_hasTooManyDigis, MonitorElement::Reset(), HcalObjRepresent::Reset(), SToNReportMap, SubDetMEsMap, SummaryReportGlobal, and SummaryReportMap.
Referenced by fillDummyStatus().
|
private |
Definition at line 82 of file SiStripQualityChecker.h.
Referenced by fillFaultyModuleStatus(), getModuleStatus(), and initialiseBadModuleList().
|
private |
Definition at line 86 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDummyStatus(), fillStatus(), fillStatusAtLumi(), and resetStatus().
|
private |
Definition at line 70 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 75 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDummyStatus(), fillSubDetStatus(), and resetStatus().
|
private |
Definition at line 74 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDummyStatus(), fillSubDetStatus(), and resetStatus().
|
private |
Definition at line 73 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDummyStatus(), fillSubDetStatus(), and resetStatus().
|
private |
Definition at line 72 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDummyStatus(), fillSubDetStatus(), and resetStatus().
|
private |
Definition at line 84 of file SiStripQualityChecker.h.
Referenced by fillStatus(), and fillSubDetStatus().
|
private |
Definition at line 76 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDummyStatus(), fillSubDetStatus(), and resetStatus().
|
private |
Definition at line 68 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDetectorStatus(), and SiStripQualityChecker().
|
private |
Definition at line 67 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDetectorStatus(), fillDetectorStatusAtLumi(), fillDummyStatus(), printStatusReport(), and resetStatus().
|
private |
Definition at line 78 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDetectorStatus(), fillDetectorStatusAtLumi(), fillDummyStatus(), and resetStatus().
|
private |
Definition at line 77 of file SiStripQualityChecker.h.
Referenced by bookStatus(), fillDummyStatus(), fillSubDetStatus(), and resetStatus().
|
private |
Definition at line 88 of file SiStripQualityChecker.h.
Referenced by fillStatus(), and getModuleStatus().
|
private |
Definition at line 80 of file SiStripQualityChecker.h.
|
private |
Definition at line 79 of file SiStripQualityChecker.h.