#include <HcalMonitorClient.h>
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 |
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::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 24 of file HcalMonitorClient.h.
HcalMonitorClient::HcalMonitorClient | ( | const edm::ParameterSet & | ps | ) |
Definition at line 54 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_, AlCaHLTBitMon_QueryRunRegistry::string, summaryClient_, and updateTime_.
|
virtual |
Definition at line 134 of file HcalMonitorClient.cc.
References clients_, gather_cfg::cout, debug_, and i.
void HcalMonitorClient::analyze | ( | int | LS = -1 | ) |
Analyze.
Definition at line 340 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 321 of file HcalMonitorClient.cc.
References analyze(), clients_, gather_cfg::cout, debug_, edm::EventID::event(), evt_, i, edm::EventBase::id(), ievt_, jevt_, edm::EventBase::luminosityBlock(), prescaleFactor_, edm::EventID::run(), and run_.
|
virtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 143 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 316 of file HcalMonitorClient.cc.
References gather_cfg::cout, and debug_.
void HcalMonitorClient::beginRun | ( | void | ) |
BeginRun.
Definition at line 289 of file HcalMonitorClient.cc.
References begin_run_, ChannelStatus, EtaPhiHists::depth, dqmStore_, end_run_, htmlcounter_, jevt_, prefixME_, DQMStore::setCurrentFolder(), EtaPhiHists::setup(), and x.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 176 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(), jevt_, mergeVDriftHistosByStation::name, AlCaHLTBitMon_ParallelJobs::p, PlotPedestalValues(), prefixME_, edm::ESHandle< class >::product(), edm::RunID::run(), run_, DQMStore::setCurrentFolder(), HcalCondObjectContainerBase::setTopo(), EtaPhiHists::setup(), ntuplemaker::status, summaryClient_, HcalCondObjectContainerBase::topo(), and x.
void HcalMonitorClient::cleanup | ( | void | ) |
Cleanup.
Definition at line 450 of file HcalMonitorClient.cc.
References enableCleanup_.
Referenced by endJob().
|
virtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 431 of file HcalMonitorClient.cc.
References analyze(), cleanup(), clients_, end_run_, endRun(), i, and Online_.
|
virtual |
EndLumiBlock.
Reimplemented from edm::EDAnalyzer.
Definition at line 359 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 401 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 419 of file HcalMonitorClient.cc.
References analyze(), begin_run_, end_run_, and endRun().
void HcalMonitorClient::PlotPedestalValues | ( | const HcalDbService & | cond | ) |
Definition at line 596 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(), validDetId(), and ecaldqm::zside().
Referenced by beginRun().
void HcalMonitorClient::reset | ( | void | ) |
Reset.
void HcalMonitorClient::setup | ( | void | ) |
void HcalMonitorClient::softReset | ( | bool | flag | ) |
SoftReset.
void HcalMonitorClient::writeChannelStatus | ( | ) |
Definition at line 542 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(), HcalCondObjectContainerBase::topo(), and HcalChannelStatus::unsetBit().
Referenced by endLuminosityBlock(), and endRun().
void HcalMonitorClient::writeHtml | ( | ) |
Definition at line 457 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_, AlCaHLTBitMon_QueryRunRegistry::string, summaryClient_, and tmp.
Referenced by endLuminosityBlock(), and endRun().
|
private |
Definition at line 124 of file HcalMonitorClient.h.
Referenced by beginRun(), HcalMonitorClient(), and PlotPedestalValues().
|
private |
Definition at line 125 of file HcalMonitorClient.h.
Referenced by beginRun(), HcalMonitorClient(), and PlotPedestalValues().
|
private |
Definition at line 99 of file HcalMonitorClient.h.
Referenced by endRun(), HcalMonitorClient(), and writeHtml().
|
private |
Definition at line 85 of file HcalMonitorClient.h.
Referenced by beginJob(), beginRun(), and endRun().
|
private |
Definition at line 123 of file HcalMonitorClient.h.
Referenced by beginRun(), and HcalMonitorClient().
|
private |
Definition at line 120 of file HcalMonitorClient.h.
Referenced by beginRun(), and writeChannelStatus().
|
private |
Definition at line 117 of file HcalMonitorClient.h.
Referenced by analyze(), beginJob(), beginRun(), endJob(), HcalMonitorClient(), writeChannelStatus(), writeHtml(), and ~HcalMonitorClient().
|
private |
Definition at line 92 of file HcalMonitorClient.h.
Referenced by HcalMonitorClient().
|
private |
Definition at line 112 of file HcalMonitorClient.h.
Referenced by analyze(), beginJob(), and endLuminosityBlock().
|
private |
Definition at line 101 of file HcalMonitorClient.h.
Referenced by endRun(), HcalMonitorClient(), and writeChannelStatus().
|
private |
Definition at line 103 of file HcalMonitorClient.h.
Referenced by endLuminosityBlock(), and HcalMonitorClient().
|
private |
Definition at line 102 of file HcalMonitorClient.h.
Referenced by endLuminosityBlock(), and HcalMonitorClient().
|
private |
Definition at line 89 of file HcalMonitorClient.h.
Referenced by analyze(), beginLuminosityBlock(), beginRun(), endLuminosityBlock(), HcalMonitorClient(), PlotPedestalValues(), writeChannelStatus(), writeHtml(), and ~HcalMonitorClient().
|
private |
Definition at line 119 of file HcalMonitorClient.h.
Referenced by beginJob(), and beginRun().
|
private |
Definition at line 95 of file HcalMonitorClient.h.
Referenced by cleanup(), and HcalMonitorClient().
|
private |
Definition at line 96 of file HcalMonitorClient.h.
Referenced by HcalMonitorClient().
|
private |
Definition at line 86 of file HcalMonitorClient.h.
Referenced by beginJob(), beginRun(), endJob(), and endRun().
|
private |
Definition at line 84 of file HcalMonitorClient.h.
Referenced by analyze(), beginJob(), and beginRun().
|
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 106 of file HcalMonitorClient.h.
Referenced by beginRun(), and writeHtml().
|
private |
Definition at line 104 of file HcalMonitorClient.h.
Referenced by endLuminosityBlock(), and HcalMonitorClient().
|
private |
Definition at line 100 of file HcalMonitorClient.h.
Referenced by endLuminosityBlock(), endRun(), and HcalMonitorClient().
|
private |
Definition at line 81 of file HcalMonitorClient.h.
Referenced by analyze(), beginJob(), and writeHtml().
|
private |
Definition at line 90 of file HcalMonitorClient.h.
Referenced by beginJob(), and HcalMonitorClient().
|
private |
Definition at line 82 of file HcalMonitorClient.h.
Referenced by analyze(), beginJob(), and beginRun().
|
private |
Definition at line 115 of file HcalMonitorClient.h.
Referenced by beginJob(), and endLuminosityBlock().
|
private |
Definition at line 114 of file HcalMonitorClient.h.
Referenced by beginJob(), and endLuminosityBlock().
|
private |
Definition at line 113 of file HcalMonitorClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 91 of file HcalMonitorClient.h.
Referenced by HcalMonitorClient().
|
private |
Definition at line 109 of file HcalMonitorClient.h.
Referenced by endJob(), and HcalMonitorClient().
|
private |
Definition at line 94 of file HcalMonitorClient.h.
Referenced by beginRun(), HcalMonitorClient(), and writeHtml().
|
private |
Definition at line 93 of file HcalMonitorClient.h.
Referenced by analyze(), and HcalMonitorClient().
|
private |
Definition at line 83 of file HcalMonitorClient.h.
Referenced by analyze(), beginJob(), beginRun(), writeChannelStatus(), and writeHtml().
|
private |
Definition at line 108 of file HcalMonitorClient.h.
Referenced by analyze(), and HcalMonitorClient().
|
private |
Definition at line 122 of file HcalMonitorClient.h.
Referenced by analyze(), beginJob(), beginRun(), endRun(), HcalMonitorClient(), and writeHtml().
|
private |
Definition at line 98 of file HcalMonitorClient.h.
Referenced by endLuminosityBlock(), and HcalMonitorClient().