#include <ZDCMonitorClient.h>
Public Member Functions | |
void | analyze (void) |
Analyze. More... | |
void | analyze (const edm::Event &evt, const edm::EventSetup &es) |
void | beginJob () |
BeginJob. More... | |
void | beginLuminosityBlock (const edm::LuminosityBlock &l, const edm::EventSetup &c) |
BeginLumiBlock. More... | |
void | beginRun () |
BeginRun. More... | |
void | beginRun (const edm::Run &r, const edm::EventSetup &c) |
void | cleanup (void) |
Cleanup. More... | |
void | endJob (void) |
EndJob. More... | |
void | endLuminosityBlock (const edm::LuminosityBlock &l, const edm::EventSetup &c) |
EndLumiBlock. More... | |
void | endRun () |
EndRun. More... | |
void | endRun (const edm::Run &r, const edm::EventSetup &c) |
void | reset (void) |
Reset. More... | |
void | setup (void) |
Setup. More... | |
void | softReset (bool flag) |
SoftReset. More... | |
void | writeChannelStatus () |
void | writeHtml () |
ZDCMonitorClient (std::string myname, const edm::ParameterSet &ps) | |
Constructors. More... | |
virtual | ~ZDCMonitorClient () |
Destructor. More... | |
Public Member Functions inherited from HcalBaseDQClient | |
virtual void | calculateProblems (void) |
virtual bool | hasErrors_Temp (void) |
virtual bool | hasOther_Temp (void) |
virtual bool | hasWarnings_Temp (void) |
HcalBaseDQClient () | |
HcalBaseDQClient (std::string s, const edm::ParameterSet &ps) | |
virtual void | htmlOutput (std::string htmlDir) |
std::string | name () |
void | setEventSetup (const edm::EventSetup &es) |
virtual void | setStatusMap (std::map< HcalDetId, unsigned int > &map) |
virtual bool | test_enabled (void) |
virtual void | updateChannelStatus (std::map< HcalDetId, unsigned int > &myqual) |
virtual bool | validHtmlOutput () |
virtual | ~HcalBaseDQClient (void) |
Additional Inherited Members | |
Public Attributes inherited from HcalBaseDQClient | |
int | badChannelStatusMask_ |
std::map< HcalDetId, unsigned int > | badstatusmap |
const edm::EventSetup * | c |
bool | cloneME_ |
int | debug_ |
DQMStore * | dqmStore_ |
bool | enableCleanup_ |
bool | enoughevents_ |
double | minerrorrate_ |
int | minevents_ |
std::string | name_ |
bool | Online_ |
std::string | prefixME_ |
MonitorElement * | ProblemCells |
EtaPhiHists * | ProblemCellsByDepth |
std::vector< std::string > | problemnames_ |
std::string | subdir_ |
bool | testenabled_ |
bool | validHtmlOutput_ |
Definition at line 20 of file ZDCMonitorClient.h.
ZDCMonitorClient::ZDCMonitorClient | ( | std::string | myname, |
const edm::ParameterSet & | ps | ||
) |
Constructors.
Definition at line 48 of file ZDCMonitorClient.cc.
References baseHtmlDir_, cloneME_, databasedir_, databaseFirstUpdate_, databaseUpdateTime_, debug_, enableCleanup_, edm::ParameterSet::getUntrackedParameter(), htmlFirstUpdate_, htmlUpdateTime_, inputFile_, mergeRuns_, HcalBaseDQClient::name_, Online_, prefixME_, prescaleFactor_, saveByLumiSection_, subdir_, updateTime_, and ZDCGoodLumi_.
|
virtual |
Destructor.
Definition at line 83 of file ZDCMonitorClient.cc.
References gather_cfg::cout, and debug_.
|
virtual |
Analyze.
now we will make the channel summary map
Reimplemented from HcalBaseDQClient.
Definition at line 266 of file ZDCMonitorClient.cc.
References gather_cfg::cout, debug_, dqmStore_, DQMStore::get(), i, LumiCounter, NZDC_GoodLumiCounter, NZDC_LumiRatio, PZDC_GoodLumiCounter, PZDC_LumiRatio, alignCSCRings::s, MonitorElement::setBinContent(), subdir_, ZDCChannelSummary_, ZDCColdChannelFraction_, ZDCDeadChannelFraction_, ZDCDigiErrorFraction_, ZDCGoodLumi_, ZDCHotChannelFraction_, and ZDCReportSummary_.
Referenced by endRun().
void ZDCMonitorClient::analyze | ( | const edm::Event & | evt, |
const edm::EventSetup & | es | ||
) |
|
virtual |
BeginJob.
Reimplemented from HcalBaseDQClient.
Definition at line 90 of file ZDCMonitorClient.cc.
References gather_cfg::cout, debug_, dqmStore_, cppFunctionSkipper::operator, and DQMStore::showDirStructure().
void ZDCMonitorClient::beginLuminosityBlock | ( | const edm::LuminosityBlock & | l, |
const edm::EventSetup & | c | ||
) |
BeginLumiBlock.
|
virtual |
BeginRun.
Reimplemented from HcalBaseDQClient.
Definition at line 101 of file ZDCMonitorClient.cc.
References begin_run_, DQMStore::book2D(), dqmStore_, end_run_, evt_, DQMStore::get(), MonitorElement::getName(), MonitorElement::getTH2F(), htmlcounter_, i, jevt_, DQMStore::removeElement(), MonitorElement::setBinContent(), DQMStore::setCurrentFolder(), subdir_, ZDCChannelSummary_, ZDCColdChannelFraction_, ZDCDeadChannelFraction_, ZDCDigiErrorFraction_, ZDCHotChannelFraction_, and ZDCReportSummary_.
void ZDCMonitorClient::beginRun | ( | const edm::Run & | r, |
const edm::EventSetup & | c | ||
) |
|
virtual |
|
virtual |
EndJob.
Reimplemented from HcalBaseDQClient.
Definition at line 252 of file ZDCMonitorClient.cc.
References gather_cfg::cout, debug_, and ievt_.
void ZDCMonitorClient::endLuminosityBlock | ( | const edm::LuminosityBlock & | l, |
const edm::EventSetup & | c | ||
) |
EndLumiBlock.
|
virtual |
EndRun.
Reimplemented from HcalBaseDQClient.
Definition at line 261 of file ZDCMonitorClient.cc.
References analyze().
void ZDCMonitorClient::endRun | ( | const edm::Run & | r, |
const edm::EventSetup & | c | ||
) |
void ZDCMonitorClient::reset | ( | void | ) |
Reset.
|
virtual |
void ZDCMonitorClient::softReset | ( | bool | flag | ) |
SoftReset.
void ZDCMonitorClient::writeChannelStatus | ( | ) |
void ZDCMonitorClient::writeHtml | ( | ) |
|
private |
Definition at line 105 of file ZDCMonitorClient.h.
Referenced by ZDCMonitorClient().
|
private |
Definition at line 80 of file ZDCMonitorClient.h.
Referenced by beginRun().
|
private |
Definition at line 127 of file ZDCMonitorClient.h.
|
private |
Definition at line 124 of file ZDCMonitorClient.h.
|
private |
Definition at line 98 of file ZDCMonitorClient.h.
Referenced by ZDCMonitorClient().
|
private |
Definition at line 119 of file ZDCMonitorClient.h.
|
private |
Definition at line 107 of file ZDCMonitorClient.h.
Referenced by ZDCMonitorClient().
|
private |
Definition at line 109 of file ZDCMonitorClient.h.
Referenced by ZDCMonitorClient().
|
private |
Definition at line 108 of file ZDCMonitorClient.h.
Referenced by ZDCMonitorClient().
|
private |
Definition at line 95 of file ZDCMonitorClient.h.
Referenced by analyze(), beginJob(), endJob(), ZDCMonitorClient(), and ~ZDCMonitorClient().
|
private |
Definition at line 126 of file ZDCMonitorClient.h.
Referenced by analyze(), beginJob(), and beginRun().
|
private |
Definition at line 101 of file ZDCMonitorClient.h.
Referenced by ZDCMonitorClient().
|
private |
Definition at line 102 of file ZDCMonitorClient.h.
|
private |
Definition at line 81 of file ZDCMonitorClient.h.
Referenced by beginRun().
|
private |
Definition at line 79 of file ZDCMonitorClient.h.
Referenced by beginRun().
|
private |
Definition at line 112 of file ZDCMonitorClient.h.
Referenced by beginRun().
|
private |
Definition at line 110 of file ZDCMonitorClient.h.
Referenced by ZDCMonitorClient().
|
private |
Definition at line 106 of file ZDCMonitorClient.h.
Referenced by ZDCMonitorClient().
|
private |
Definition at line 76 of file ZDCMonitorClient.h.
Referenced by endJob().
|
private |
Definition at line 96 of file ZDCMonitorClient.h.
Referenced by ZDCMonitorClient().
|
private |
Definition at line 77 of file ZDCMonitorClient.h.
Referenced by beginRun().
|
private |
Definition at line 122 of file ZDCMonitorClient.h.
|
private |
Definition at line 121 of file ZDCMonitorClient.h.
|
private |
Definition at line 120 of file ZDCMonitorClient.h.
|
private |
Definition at line 84 of file ZDCMonitorClient.h.
Referenced by analyze().
|
private |
Definition at line 97 of file ZDCMonitorClient.h.
Referenced by ZDCMonitorClient().
|
private |
Definition at line 86 of file ZDCMonitorClient.h.
Referenced by analyze().
|
private |
Definition at line 88 of file ZDCMonitorClient.h.
Referenced by analyze().
|
private |
Definition at line 115 of file ZDCMonitorClient.h.
Referenced by ZDCMonitorClient().
|
private |
Definition at line 100 of file ZDCMonitorClient.h.
Referenced by ZDCMonitorClient().
|
private |
Definition at line 99 of file ZDCMonitorClient.h.
Referenced by ZDCMonitorClient().
|
private |
Definition at line 85 of file ZDCMonitorClient.h.
Referenced by analyze().
|
private |
Definition at line 87 of file ZDCMonitorClient.h.
Referenced by analyze().
|
private |
Definition at line 78 of file ZDCMonitorClient.h.
|
private |
Definition at line 114 of file ZDCMonitorClient.h.
Referenced by ZDCMonitorClient().
|
private |
Definition at line 116 of file ZDCMonitorClient.h.
Referenced by analyze(), beginRun(), and ZDCMonitorClient().
|
private |
Definition at line 129 of file ZDCMonitorClient.h.
|
private |
Definition at line 104 of file ZDCMonitorClient.h.
Referenced by ZDCMonitorClient().
|
private |
Definition at line 132 of file ZDCMonitorClient.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 134 of file ZDCMonitorClient.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 135 of file ZDCMonitorClient.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 136 of file ZDCMonitorClient.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 93 of file ZDCMonitorClient.h.
Referenced by analyze(), and ZDCMonitorClient().
|
private |
Definition at line 133 of file ZDCMonitorClient.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 137 of file ZDCMonitorClient.h.
Referenced by analyze(), and beginRun().