#include <SiStripActionExecutor.h>
Public Member Functions | |
void | createDummyShiftReport () |
void | createFaultyModuleMEs (DQMStore *dqm_store) |
void | createOfflineTkMap (const edm::ParameterSet &tkmapPset, DQMStore *dqm_store, std::string &map_type) |
void | createShiftReport (DQMStore *dqm_store) |
void | createStatus (DQMStore *dqm_store) |
void | createSummary (DQMStore *dqm_store) |
void | createSummaryOffline (DQMStore *dqm_store) |
void | createTkMap (const edm::ParameterSet &tkmapPset, const edm::ESHandle< SiStripFedCabling > &fedcabling, DQMStore *dqm_store, std::string &map_type) |
void | fillDummyStatus () |
void | fillStatus (DQMStore *dqm_store, const edm::ESHandle< SiStripDetCabling > &fedcabling) |
void | fillStatusAtLumi (DQMStore *dqm_store) |
void | printFaultyModuleList (DQMStore *dqm_store, std::ostringstream &str_val) |
void | printReportSummary (MonitorElement *me, std::ostringstream &str_val, std::string name) |
void | printShiftHistoParameters (DQMStore *dqm_store, std::map< std::string, std::vector< std::string > > &layout_map, std::ostringstream &str_val) |
bool | readConfiguration () |
bool | readTkMapConfiguration () |
void | saveMEs (DQMStore *dqm_store, std::string fname) |
SiStripActionExecutor (edm::ParameterSet const &ps) | |
virtual | ~SiStripActionExecutor () |
Private Attributes | |
SiStripConfigWriter * | configWriter_ |
edm::ParameterSet | pSet_ |
SiStripQualityChecker * | qualityChecker_ |
SiStripSummaryCreator * | summaryCreator_ |
SiStripTrackerMapCreator * | tkMapCreator_ |
std::vector< std::string > | tkMapMENames |
Definition at line 24 of file SiStripActionExecutor.h.
SiStripActionExecutor::SiStripActionExecutor | ( | edm::ParameterSet const & | ps | ) |
Definition at line 29 of file SiStripActionExecutor.cc.
References configWriter_, qualityChecker_, summaryCreator_, and tkMapCreator_.
|
virtual |
Definition at line 40 of file SiStripActionExecutor.cc.
References qualityChecker_, summaryCreator_, and tkMapCreator_.
void SiStripActionExecutor::createDummyShiftReport | ( | ) |
Definition at line 138 of file SiStripActionExecutor.cc.
References dbtoconf::out.
Referenced by SiStripAnalyser::analyze().
void SiStripActionExecutor::createFaultyModuleMEs | ( | DQMStore * | dqm_store | ) |
void SiStripActionExecutor::createOfflineTkMap | ( | const edm::ParameterSet & | tkmapPset, |
DQMStore * | dqm_store, | ||
std::string & | map_type | ||
) |
Definition at line 105 of file SiStripActionExecutor.cc.
References SiStripTrackerMapCreator::createForOffline(), and tkMapCreator_.
Referenced by SiStripOfflineDQM::endRun().
void SiStripActionExecutor::createShiftReport | ( | DQMStore * | dqm_store | ) |
Definition at line 147 of file SiStripActionExecutor.cc.
References configWriter_, SiStripConfigWriter::createElement(), DQMStore::get(), SiStripLayoutParser::getAllLayouts(), DQMParserBase::getDocument(), SiStripConfigWriter::init(), dbtoconf::out, printReportSummary(), printShiftHistoParameters(), and SiStripConfigWriter::write().
Referenced by SiStripAnalyser::analyze().
void SiStripActionExecutor::createStatus | ( | DQMStore * | dqm_store | ) |
Definition at line 113 of file SiStripActionExecutor.cc.
References SiStripQualityChecker::bookStatus(), pSet_, and qualityChecker_.
Referenced by SiStripAnalyser::beginRun(), SiStripOfflineDQM::beginRun(), and SiStripOfflineDQM::endRun().
void SiStripActionExecutor::createSummary | ( | DQMStore * | dqm_store | ) |
Definition at line 72 of file SiStripActionExecutor.cc.
References DQMStore::cd(), SiStripSummaryCreator::createSummary(), DQMStore::dirExists(), and summaryCreator_.
Referenced by SiStripAnalyser::endLuminosityBlock().
void SiStripActionExecutor::createSummaryOffline | ( | DQMStore * | dqm_store | ) |
Definition at line 85 of file SiStripActionExecutor.cc.
References DQMStore::cd(), SiStripSummaryCreator::createSummary(), SiStripUtility::goToDir(), and summaryCreator_.
Referenced by SiStripOfflineDQM::endRun().
void SiStripActionExecutor::createTkMap | ( | const edm::ParameterSet & | tkmapPset, |
const edm::ESHandle< SiStripFedCabling > & | fedcabling, | ||
DQMStore * | dqm_store, | ||
std::string & | map_type | ||
) |
Definition at line 98 of file SiStripActionExecutor.cc.
References SiStripTrackerMapCreator::create(), and tkMapCreator_.
Referenced by SiStripAnalyser::endLuminosityBlock().
void SiStripActionExecutor::fillDummyStatus | ( | ) |
Definition at line 120 of file SiStripActionExecutor.cc.
References SiStripQualityChecker::fillDummyStatus(), and qualityChecker_.
Referenced by SiStripAnalyser::analyze(), SiStripAnalyser::endLuminosityBlock(), and SiStripOfflineDQM::endRun().
void SiStripActionExecutor::fillStatus | ( | DQMStore * | dqm_store, |
const edm::ESHandle< SiStripDetCabling > & | fedcabling | ||
) |
Definition at line 126 of file SiStripActionExecutor.cc.
References SiStripQualityChecker::fillStatus(), and qualityChecker_.
Referenced by SiStripAnalyser::analyze(), SiStripAnalyser::endLuminosityBlock(), and SiStripOfflineDQM::endRun().
void SiStripActionExecutor::fillStatusAtLumi | ( | DQMStore * | dqm_store | ) |
Definition at line 132 of file SiStripActionExecutor.cc.
References SiStripQualityChecker::fillStatusAtLumi(), and qualityChecker_.
Referenced by SiStripOfflineDQM::endLuminosityBlock().
void SiStripActionExecutor::printFaultyModuleList | ( | DQMStore * | dqm_store, |
std::ostringstream & | str_val | ||
) |
Definition at line 263 of file SiStripActionExecutor.cc.
References DQMStore::cd(), DQMStore::dirExists(), SiStripUtility::getBadModuleStatus(), DQMStore::getContents(), SiStripUtility::getModuleFolderList(), SiStripUtility::goToDir(), argparse::message, and DQMStore::pwd().
Referenced by SiStripAnalyser::endJob(), and SiStripOfflineDQM::endJob().
void SiStripActionExecutor::printReportSummary | ( | MonitorElement * | me, |
std::ostringstream & | str_val, | ||
std::string | name | ||
) |
Definition at line 209 of file SiStripActionExecutor.cc.
References configWriter_, SiStripConfigWriter::createChildElement(), SiStripUtility::getMEValue(), and relativeConstraints::value.
Referenced by createShiftReport().
void SiStripActionExecutor::printShiftHistoParameters | ( | DQMStore * | dqm_store, |
std::map< std::string, std::vector< std::string > > & | layout_map, | ||
std::ostringstream & | str_val | ||
) |
Definition at line 222 of file SiStripActionExecutor.cc.
References configWriter_, SiStripConfigWriter::createChildElement(), SiStripConfigWriter::createElement(), DQMStore::get(), MonitorElement::getEntries(), MonitorElement::getMean(), MonitorElement::getName(), MonitorElement::getRMS(), and python.multivaluedict::map().
Referenced by createShiftReport().
bool SiStripActionExecutor::readConfiguration | ( | ) |
Definition at line 50 of file SiStripActionExecutor.cc.
References edm::ParameterSet::getUntrackedParameter(), pSet_, SiStripSummaryCreator::readConfiguration(), and summaryCreator_.
Referenced by SiStripAnalyser::beginJob(), and SiStripOfflineDQM::beginJob().
bool SiStripActionExecutor::readTkMapConfiguration | ( | ) |
Definition at line 62 of file SiStripActionExecutor.cc.
References tkMapCreator_.
Referenced by SiStripAnalyser::beginRun(), and SiStripOfflineDQM::endRun().
void SiStripActionExecutor::saveMEs | ( | DQMStore * | dqm_store, |
std::string | fname | ||
) |
|
private |
Definition at line 65 of file SiStripActionExecutor.h.
Referenced by createShiftReport(), printReportSummary(), printShiftHistoParameters(), and SiStripActionExecutor().
|
private |
Definition at line 67 of file SiStripActionExecutor.h.
Referenced by createStatus(), and readConfiguration().
|
private |
Definition at line 63 of file SiStripActionExecutor.h.
Referenced by createStatus(), fillDummyStatus(), fillStatus(), fillStatusAtLumi(), SiStripActionExecutor(), and ~SiStripActionExecutor().
|
private |
Definition at line 61 of file SiStripActionExecutor.h.
Referenced by createSummary(), createSummaryOffline(), readConfiguration(), SiStripActionExecutor(), and ~SiStripActionExecutor().
|
private |
Definition at line 62 of file SiStripActionExecutor.h.
Referenced by createOfflineTkMap(), createTkMap(), readTkMapConfiguration(), SiStripActionExecutor(), and ~SiStripActionExecutor().
|
private |
Definition at line 59 of file SiStripActionExecutor.h.