#include <SiStripActionExecutor.h>
Public Types | |
typedef dqm::harvesting::DQMStore | DQMStore |
typedef dqm::harvesting::MonitorElement | MonitorElement |
Public Member Functions | |
void | createDummyShiftReport () |
void | createFaultyModuleMEs (DQMStore &dqm_store) |
void | createOfflineTkMap (const edm::ParameterSet &tkmapPset, DQMStore &dqm_store, std::string &map_type, const SiStripQuality *stripQuality) |
void | createShiftReport (DQMStore &dqm_store) |
void | createStatus (DQMStore &dqm_store) |
void | createSummary (DQMStore &dqm_store) |
void | createSummaryOffline (DQMStore &dqm_store) |
void | createTkInfoFile (std::vector< std::string > tkhmap_names, TTree *tkinfo_tree, DQMStore &dqm_store, const GeometricDet *geomDet) |
void | createTkMap (const edm::ParameterSet &tkmapPset, DQMStore &dqm_store, const std::string &map_type) |
void | fillDummyStatus () |
void | fillStatus (DQMStore &dqm_store, const SiStripDetCabling *cabling, const TkDetMap *tkDetMap, const TrackerTopology *tTopo) |
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 >> const &layout_map, std::ostringstream &str_val) |
bool | readConfiguration () |
bool | readTkMapConfiguration (const SiStripDetCabling *detCabling, const TkDetMap *tkDetMap, const TrackerTopology *tTopo) |
void | saveMEs (DQMStore &dqm_store, std::string fname) |
SiStripActionExecutor (edm::ParameterSet const &ps) | |
virtual | ~SiStripActionExecutor () |
Private Attributes | |
std::unique_ptr< SiStripConfigWriter > | configWriter_ {nullptr} |
edm::ParameterSet const | pSet_ |
std::unique_ptr< SiStripQualityChecker > | qualityChecker_ {nullptr} |
std::unique_ptr< SiStripSummaryCreator > | summaryCreator_ {nullptr} |
std::unique_ptr< SiStripTrackerMapCreator > | tkMapCreator_ {nullptr} |
std::vector< std::string > | tkMapMENames {} |
Definition at line 22 of file SiStripActionExecutor.h.
Definition at line 25 of file SiStripActionExecutor.h.
Definition at line 24 of file SiStripActionExecutor.h.
SiStripActionExecutor::SiStripActionExecutor | ( | edm::ParameterSet const & | ps | ) |
Definition at line 19 of file SiStripActionExecutor.cc.
|
virtual |
Definition at line 24 of file SiStripActionExecutor.cc.
void SiStripActionExecutor::createDummyShiftReport | ( | ) |
Definition at line 127 of file SiStripActionExecutor.cc.
References MillePedeFileConverter_cfg::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, | ||
const SiStripQuality * | stripQuality | ||
) |
Definition at line 87 of file SiStripActionExecutor.cc.
References tkMapCreator_.
Referenced by SiStripOfflineDQM::endRun().
void SiStripActionExecutor::createShiftReport | ( | DQMStore & | dqm_store | ) |
Definition at line 134 of file SiStripActionExecutor.cc.
References configWriter_, contentValuesFiles::fullPath, dqm::implementation::IGetter::get(), SiStripLayoutParser::getAllLayouts(), SiStripLayoutParser::getDocument(), hlt_dqm_clientPB-live_cfg::me, MillePedeFileConverter_cfg::out, printReportSummary(), printShiftHistoParameters(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiStripAnalyser::analyze().
void SiStripActionExecutor::createStatus | ( | DQMStore & | dqm_store | ) |
Definition at line 109 of file SiStripActionExecutor.cc.
References pSet_, and qualityChecker_.
Referenced by SiStripAnalyser::beginRun(), SiStripOfflineDQM::beginRun(), and SiStripOfflineDQM::endRun().
void SiStripActionExecutor::createSummary | ( | DQMStore & | dqm_store | ) |
Definition at line 50 of file SiStripActionExecutor.cc.
References dqm::implementation::DQMStore::cd(), dqm::implementation::IGetter::dirExists(), RefreshWebPage::dname, AlCaHLTBitMon_QueryRunRegistry::string, and summaryCreator_.
Referenced by SiStripAnalyser::endLuminosityBlock().
void SiStripActionExecutor::createSummaryOffline | ( | DQMStore & | dqm_store | ) |
Definition at line 64 of file SiStripActionExecutor.cc.
References dqm::implementation::DQMStore::cd(), RefreshWebPage::dname, SiStripUtility::goToDir(), AlCaHLTBitMon_QueryRunRegistry::string, and summaryCreator_.
Referenced by SiStripOfflineDQM::endRun().
void SiStripActionExecutor::createTkInfoFile | ( | std::vector< std::string > | tkhmap_names, |
TTree * | tkinfo_tree, | ||
DQMStore & | dqm_store, | ||
const GeometricDet * | geomDet | ||
) |
Definition at line 97 of file SiStripActionExecutor.cc.
References tkMapCreator_.
Referenced by SiStripOfflineDQM::endRun().
void SiStripActionExecutor::createTkMap | ( | const edm::ParameterSet & | tkmapPset, |
DQMStore & | dqm_store, | ||
const std::string & | map_type | ||
) |
Definition at line 78 of file SiStripActionExecutor.cc.
References tkMapCreator_.
void SiStripActionExecutor::fillDummyStatus | ( | ) |
Definition at line 116 of file SiStripActionExecutor.cc.
References qualityChecker_.
Referenced by SiStripAnalyser::analyze(), SiStripAnalyser::endLuminosityBlock(), and SiStripOfflineDQM::endRun().
void SiStripActionExecutor::fillStatus | ( | DQMStore & | dqm_store, |
const SiStripDetCabling * | cabling, | ||
const TkDetMap * | tkDetMap, | ||
const TrackerTopology * | tTopo | ||
) |
Definition at line 118 of file SiStripActionExecutor.cc.
References qualityChecker_.
Referenced by SiStripAnalyser::analyze(), SiStripAnalyser::endLuminosityBlock(), and SiStripOfflineDQM::endRun().
void SiStripActionExecutor::fillStatusAtLumi | ( | DQMStore & | dqm_store | ) |
Definition at line 125 of file SiStripActionExecutor.cc.
References qualityChecker_.
Referenced by SiStripOfflineDQM::endLuminosityBlock().
void SiStripActionExecutor::printFaultyModuleList | ( | DQMStore & | dqm_store, |
std::ostringstream & | str_val | ||
) |
Definition at line 244 of file SiStripActionExecutor.cc.
References dqm::implementation::DQMStore::cd(), dqm::implementation::IGetter::dirExists(), RefreshWebPage::dname, RemoveAddSevLevel::flag, SiStripUtility::getBadModuleStatus(), dqm::implementation::IGetter::getContents(), SiStripUtility::getModuleFolderList(), SiStripUtility::goToDir(), hlt_dqm_clientPB-live_cfg::me, dqm::implementation::DQMStore::pwd(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiStripAnalyser::endJob(), and SiStripOfflineDQM::endJob().
void SiStripActionExecutor::printReportSummary | ( | MonitorElement * | me, |
std::ostringstream & | str_val, | ||
std::string | name | ||
) |
Definition at line 190 of file SiStripActionExecutor.cc.
References configWriter_, SiStripUtility::getMEValue(), hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
Referenced by createShiftReport().
void SiStripActionExecutor::printShiftHistoParameters | ( | DQMStore & | dqm_store, |
std::map< std::string, std::vector< std::string >> const & | layout_map, | ||
std::ostringstream & | str_val | ||
) |
Definition at line 202 of file SiStripActionExecutor.cc.
References configWriter_, alignBH_cfg::fixed, dqm::implementation::IGetter::get(), and hlt_dqm_clientPB-live_cfg::me.
Referenced by createShiftReport().
bool SiStripActionExecutor::readConfiguration | ( | ) |
Definition at line 29 of file SiStripActionExecutor.cc.
References edm::ParameterSet::getUntrackedParameter(), pSet_, AlCaHLTBitMon_QueryRunRegistry::string, and summaryCreator_.
Referenced by SiStripAnalyser::beginJob(), and SiStripOfflineDQM::beginJob().
bool SiStripActionExecutor::readTkMapConfiguration | ( | const SiStripDetCabling * | detCabling, |
const TkDetMap * | tkDetMap, | ||
const TrackerTopology * | tTopo | ||
) |
Definition at line 41 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 71 of file SiStripActionExecutor.h.
Referenced by createShiftReport(), printReportSummary(), and printShiftHistoParameters().
|
private |
Definition at line 73 of file SiStripActionExecutor.h.
Referenced by createStatus(), and readConfiguration().
|
private |
Definition at line 70 of file SiStripActionExecutor.h.
Referenced by createStatus(), fillDummyStatus(), fillStatus(), and fillStatusAtLumi().
|
private |
Definition at line 68 of file SiStripActionExecutor.h.
Referenced by createSummary(), createSummaryOffline(), and readConfiguration().
|
private |
Definition at line 69 of file SiStripActionExecutor.h.
Referenced by createOfflineTkMap(), createTkInfoFile(), createTkMap(), and readTkMapConfiguration().
|
private |
Definition at line 66 of file SiStripActionExecutor.h.