#include <HcalMonitorClient.h>
Public Member Functions | |
void | analyze (int LS=-1) |
Analyze. More... | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
void | beginJob (void) |
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) |
HcalMonitorClient (const edm::ParameterSet &ps) | |
void | PlotPedestalValues (const HcalDbService &cond) |
void | reset (void) |
Reset. More... | |
void | setup (void) |
Setup. More... | |
void | softReset (bool flag) |
SoftReset. More... | |
void | writeChannelStatus () |
void | writeHtml () |
virtual | ~HcalMonitorClient () |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Attributes | |
EtaPhiHists * | ADC_PedestalFromDBByDepth |
EtaPhiHists * | ADC_WidthFromDBByDepth |
std::string | baseHtmlDir_ |
bool | begin_run_ |
EtaPhiHists * | ChannelStatus |
HcalChannelQuality * | chanquality_ |
std::vector< HcalBaseDQClient * > | clients_ |
bool | cloneME_ |
time_t | current_time_ |
std::string | databasedir_ |
int | databaseFirstUpdate_ |
int | databaseUpdateTime_ |
int | debug_ |
DQMStore * | dqmStore_ |
bool | enableCleanup_ |
std::vector< std::string > | enabledClients_ |
bool | end_run_ |
int | evt_ |
EtaPhiHists * | fC_PedestalFromDBByDepth |
EtaPhiHists * | fC_WidthFromDBByDepth |
int | htmlcounter_ |
int | htmlFirstUpdate_ |
int | htmlUpdateTime_ |
int | ievt_ |
std::string | inputFile_ |
int | jevt_ |
time_t | last_time_db_ |
time_t | last_time_html_ |
time_t | last_time_update_ |
bool | mergeRuns_ |
bool | Online_ |
std::string | prefixME_ |
int | prescaleFactor_ |
int | run_ |
bool | saveByLumiSection_ |
HcalSummaryClient * | summaryClient_ |
int | updateTime_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Definition at line 26 of file HcalMonitorClient.h.
HcalMonitorClient::HcalMonitorClient | ( | const edm::ParameterSet & | ps | ) |
Definition at line 57 of file HcalMonitorClient.cc.
References ADC_PedestalFromDBByDepth, ADC_WidthFromDBByDepth, baseHtmlDir_, ChannelStatus, clients_, cloneME_, gather_cfg::cout, databasedir_, databaseFirstUpdate_, databaseUpdateTime_, debug_, enableCleanup_, enabledClients_, fC_PedestalFromDBByDepth, fC_WidthFromDBByDepth, spr::find(), edm::ParameterSet::getUntrackedParameter(), htmlFirstUpdate_, htmlUpdateTime_, i, inputFile_, mergeRuns_, Online_, prefixME_, prescaleFactor_, saveByLumiSection_, summaryClient_, and updateTime_.
|
virtual |
Definition at line 139 of file HcalMonitorClient.cc.
References clients_, gather_cfg::cout, debug_, and i.
void HcalMonitorClient::analyze | ( | int | LS = -1 | ) |
Analyze.
Definition at line 335 of file HcalMonitorClient.cc.
References HcalSummaryClient::analyze(), clients_, gather_cfg::cout, current_time_, debug_, HcalSummaryClient::fillReportSummaryLSbyLS(), i, NULL, saveByLumiSection_, summaryClient_, and cond::rpcobgas::time.
Referenced by analyze(), endJob(), endLuminosityBlock(), and endRun().
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 322 of file HcalMonitorClient.cc.
References analyze(), gather_cfg::cout, debug_, edm::EventID::event(), evt_, edm::EventBase::id(), ievt_, jevt_, edm::EventBase::luminosityBlock(), prescaleFactor_, edm::EventID::run(), and run_.
|
virtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 148 of file HcalMonitorClient.cc.
References begin_run_, HcalSummaryClient::beginJob(), clients_, current_time_, dqmStore_, end_run_, evt_, i, ievt_, inputFile_, jevt_, last_time_db_, last_time_html_, NULL, DQMStore::open(), cppFunctionSkipper::operator, run_, summaryClient_, and cond::rpcobgas::time.
|
virtual |
BeginLumiBlock.
Reimplemented from edm::EDAnalyzer.
Definition at line 317 of file HcalMonitorClient.cc.
References gather_cfg::cout, and debug_.
void HcalMonitorClient::beginRun | ( | void | ) |
BeginRun.
Definition at line 290 of file HcalMonitorClient.cc.
References begin_run_, ChannelStatus, EtaPhiHists::depth, dqmStore_, end_run_, htmlcounter_, jevt_, prefixME_, DQMStore::setCurrentFolder(), EtaPhiHists::setup(), and vdt::x.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 181 of file HcalMonitorClient.cc.
References ADC_PedestalFromDBByDepth, ADC_WidthFromDBByDepth, begin_run_, HcalSummaryClient::beginRun(), ChannelStatus, chanquality_, clients_, gather_cfg::cout, debug_, EtaPhiHists::depth, dqmStore_, end_run_, evt_, fC_PedestalFromDBByDepth, fC_WidthFromDBByDepth, edm::EventSetup::get(), HcalCondObjectContainer< Item >::getAllChannels(), HcalSummaryClient::getFriends(), reco::JetExtendedAssociation::getValue(), HcalCondObjectContainer< Item >::getValues(), DetId::Hcal, HcalForward, htmlcounter_, i, edm::RunBase::id(), errorMatrix2Lands_multiChannel::id, jevt_, mergeVDriftHistosByStation::name, AlCaHLTBitMon_ParallelJobs::p, PlotPedestalValues(), prefixME_, edm::ESHandle< class >::product(), edm::RunID::run(), run_, DQMStore::setCurrentFolder(), EtaPhiHists::setup(), ntuplemaker::status, summaryClient_, and vdt::x.
void HcalMonitorClient::cleanup | ( | void | ) |
Cleanup.
Definition at line 445 of file HcalMonitorClient.cc.
References enableCleanup_.
Referenced by endJob().
|
virtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 426 of file HcalMonitorClient.cc.
References analyze(), cleanup(), clients_, end_run_, endRun(), i, and Online_.
|
virtual |
EndLumiBlock.
Reimplemented from edm::EDAnalyzer.
Definition at line 354 of file HcalMonitorClient.cc.
References analyze(), gather_cfg::cout, current_time_, databaseFirstUpdate_, databaseUpdateTime_, debug_, htmlFirstUpdate_, htmlUpdateTime_, last_time_db_, last_time_html_, last_time_update_, edm::LuminosityBlockBase::luminosityBlock(), NULL, cond::rpcobgas::time, updateTime_, writeChannelStatus(), and writeHtml().
void HcalMonitorClient::endRun | ( | void | ) |
EndRun.
Definition at line 396 of file HcalMonitorClient.cc.
References HcalSummaryClient::analyze(), baseHtmlDir_, begin_run_, databasedir_, end_run_, htmlUpdateTime_, summaryClient_, writeChannelStatus(), and writeHtml().
Referenced by endJob(), and endRun().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 414 of file HcalMonitorClient.cc.
References analyze(), begin_run_, end_run_, and endRun().
void HcalMonitorClient::PlotPedestalValues | ( | const HcalDbService & | cond | ) |
Definition at line 591 of file HcalMonitorClient.cc.
References HcalQIECoder::adc(), ADC_PedestalFromDBByDepth, ADC_WidthFromDBByDepth, HcalObjRepresent::CalcIeta(), gather_cfg::cout, debug_, EtaPhiHists::depth, cond::rpcobgas::detid, eta(), fC_PedestalFromDBByDepth, fC_WidthFromDBByDepth, HcalObjRepresent::FillUnphysicalHEHFBins(), HcalDbService::getHcalCalibrations(), HcalDbService::getHcalCoder(), HcalDbService::getHcalShape(), HcalDbService::getPedestalWidth(), HcalPedestalWidth::getSigma(), i, HcalCalibrations::pedestal(), phi, funct::pow(), EtaPhiHists::Reset(), and validDetId().
Referenced by beginRun().
void HcalMonitorClient::reset | ( | void | ) |
Reset.
void HcalMonitorClient::setup | ( | void | ) |
void HcalMonitorClient::softReset | ( | bool | flag | ) |
SoftReset.
void HcalMonitorClient::writeChannelStatus | ( | ) |
Definition at line 537 of file HcalMonitorClient.cc.
References HcalCondObjectContainer< Item >::addValues(), chanquality_, clients_, gather_cfg::cout, databasedir_, debug_, HcalDbASCIIIO::dumpObject(), mergeVDriftHistosByStation::file, HcalCondObjectContainer< Item >::getAllChannels(), HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), DetId::Hcal, HcalChannelStatus::HcalCellDead, HcalChannelStatus::HcalCellHot, i, HcalChannelStatus::rawId(), run_, HcalChannelStatus::setBit(), and HcalChannelStatus::unsetBit().
Referenced by endLuminosityBlock(), and endRun().
void HcalMonitorClient::writeHtml | ( | ) |
Definition at line 452 of file HcalMonitorClient.cc.
References baseHtmlDir_, clients_, gather_cfg::cout, debug_, HcalSummaryClient::hasErrors_Temp(), HcalSummaryClient::hasOther_Temp(), HcalSummaryClient::hasWarnings_Temp(), htmlcounter_, HcalBaseDQClient::htmlOutput(), i, ievt_, HcalBaseDQClient::name_, prefixME_, run_, summaryClient_, and tmp.
Referenced by endLuminosityBlock(), and endRun().
|
private |
Definition at line 126 of file HcalMonitorClient.h.
Referenced by beginRun(), HcalMonitorClient(), and PlotPedestalValues().
|
private |
Definition at line 127 of file HcalMonitorClient.h.
Referenced by beginRun(), HcalMonitorClient(), and PlotPedestalValues().
|
private |
Definition at line 101 of file HcalMonitorClient.h.
Referenced by endRun(), HcalMonitorClient(), and writeHtml().
|
private |
Definition at line 87 of file HcalMonitorClient.h.
Referenced by beginJob(), beginRun(), and endRun().
|
private |
Definition at line 125 of file HcalMonitorClient.h.
Referenced by beginRun(), and HcalMonitorClient().
|
private |
Definition at line 122 of file HcalMonitorClient.h.
Referenced by beginRun(), and writeChannelStatus().
|
private |
Definition at line 119 of file HcalMonitorClient.h.
Referenced by analyze(), beginJob(), beginRun(), endJob(), HcalMonitorClient(), writeChannelStatus(), writeHtml(), and ~HcalMonitorClient().
|
private |
Definition at line 94 of file HcalMonitorClient.h.
Referenced by HcalMonitorClient().
|
private |
Definition at line 114 of file HcalMonitorClient.h.
Referenced by analyze(), beginJob(), and endLuminosityBlock().
|
private |
Definition at line 103 of file HcalMonitorClient.h.
Referenced by endRun(), HcalMonitorClient(), and writeChannelStatus().
|
private |
Definition at line 105 of file HcalMonitorClient.h.
Referenced by endLuminosityBlock(), and HcalMonitorClient().
|
private |
Definition at line 104 of file HcalMonitorClient.h.
Referenced by endLuminosityBlock(), and HcalMonitorClient().
|
private |
Definition at line 91 of file HcalMonitorClient.h.
Referenced by analyze(), beginLuminosityBlock(), beginRun(), endLuminosityBlock(), HcalMonitorClient(), PlotPedestalValues(), writeChannelStatus(), writeHtml(), and ~HcalMonitorClient().
|
private |
Definition at line 121 of file HcalMonitorClient.h.
Referenced by beginJob(), and beginRun().
|
private |
Definition at line 97 of file HcalMonitorClient.h.
Referenced by cleanup(), and HcalMonitorClient().
|
private |
Definition at line 98 of file HcalMonitorClient.h.
Referenced by HcalMonitorClient().
|
private |
Definition at line 88 of file HcalMonitorClient.h.
Referenced by beginJob(), beginRun(), endJob(), and endRun().
|
private |
Definition at line 86 of file HcalMonitorClient.h.
Referenced by analyze(), beginJob(), and beginRun().
|
private |
Definition at line 128 of file HcalMonitorClient.h.
Referenced by beginRun(), HcalMonitorClient(), and PlotPedestalValues().
|
private |
Definition at line 129 of file HcalMonitorClient.h.
Referenced by beginRun(), HcalMonitorClient(), and PlotPedestalValues().
|
private |
Definition at line 108 of file HcalMonitorClient.h.
Referenced by beginRun(), and writeHtml().
|
private |
Definition at line 106 of file HcalMonitorClient.h.
Referenced by endLuminosityBlock(), and HcalMonitorClient().
|
private |
Definition at line 102 of file HcalMonitorClient.h.
Referenced by endLuminosityBlock(), endRun(), and HcalMonitorClient().
|
private |
Definition at line 83 of file HcalMonitorClient.h.
Referenced by analyze(), beginJob(), and writeHtml().
|
private |
Definition at line 92 of file HcalMonitorClient.h.
Referenced by beginJob(), and HcalMonitorClient().
|
private |
Definition at line 84 of file HcalMonitorClient.h.
Referenced by analyze(), beginJob(), and beginRun().
|
private |
Definition at line 117 of file HcalMonitorClient.h.
Referenced by beginJob(), and endLuminosityBlock().
|
private |
Definition at line 116 of file HcalMonitorClient.h.
Referenced by beginJob(), and endLuminosityBlock().
|
private |
Definition at line 115 of file HcalMonitorClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 93 of file HcalMonitorClient.h.
Referenced by HcalMonitorClient().
|
private |
Definition at line 111 of file HcalMonitorClient.h.
Referenced by endJob(), and HcalMonitorClient().
|
private |
Definition at line 96 of file HcalMonitorClient.h.
Referenced by beginRun(), HcalMonitorClient(), and writeHtml().
|
private |
Definition at line 95 of file HcalMonitorClient.h.
Referenced by analyze(), and HcalMonitorClient().
|
private |
Definition at line 85 of file HcalMonitorClient.h.
Referenced by analyze(), beginJob(), beginRun(), writeChannelStatus(), and writeHtml().
|
private |
Definition at line 110 of file HcalMonitorClient.h.
Referenced by analyze(), and HcalMonitorClient().
|
private |
Definition at line 124 of file HcalMonitorClient.h.
Referenced by analyze(), beginJob(), beginRun(), endRun(), HcalMonitorClient(), and writeHtml().
|
private |
Definition at line 100 of file HcalMonitorClient.h.
Referenced by endLuminosityBlock(), and HcalMonitorClient().