#include <HcalMonitorClient.h>
Private Member Functions | |
void | setupChannelStatusMon (DQMStore::IBooker &) |
void | setupPedestalMon (DQMStore::IBooker &) |
Private Attributes | |
EtaPhiHists * | ADC_PedestalFromDBByDepth |
EtaPhiHists * | ADC_WidthFromDBByDepth |
std::string | baseHtmlDir_ |
bool | begin_run_ |
EtaPhiHists * | ChannelStatus |
const HcalChannelQuality * | chanquality_ |
std::vector< HcalBaseDQClient * > | clients_ |
bool | cloneME_ |
time_t | current_time_ |
std::string | databasedir_ |
int | databaseFirstUpdate_ |
int | databaseUpdateTime_ |
int | debug_ |
bool | doChanStatSetup_ |
bool | doPedSetup_ |
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_ |
edm::RunNumber_t | run_ |
bool | saveByLumiSection_ |
HcalSummaryClient * | summaryClient_ |
int | updateTime_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::one::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 25 of file HcalMonitorClient.h.
HcalMonitorClient::HcalMonitorClient | ( | const edm::ParameterSet & | ps | ) |
Definition at line 54 of file HcalMonitorClient.cc.
References ADC_PedestalFromDBByDepth, ADC_WidthFromDBByDepth, baseHtmlDir_, begin_run_, ChannelStatus, clients_, cloneME_, gather_cfg::cout, current_time_, databasedir_, databaseFirstUpdate_, databaseUpdateTime_, debug_, doChanStatSetup_, doPedSetup_, enableCleanup_, enabledClients_, end_run_, fC_PedestalFromDBByDepth, fC_WidthFromDBByDepth, spr::find(), edm::ParameterSet::getUntrackedParameter(), htmlFirstUpdate_, htmlUpdateTime_, i, ievt_, inputFile_, edm::invalidRunNumber, jevt_, last_time_db_, last_time_html_, mergeRuns_, NULL, Online_, prefixME_, prescaleFactor_, run_, saveByLumiSection_, AlCaHLTBitMon_QueryRunRegistry::string, summaryClient_, cond::rpcobgas::time, and updateTime_.
|
virtual |
Definition at line 151 of file HcalMonitorClient.cc.
References clients_, gather_cfg::cout, debug_, and i.
void HcalMonitorClient::analyze | ( | DQMStore::IBooker & | ib, |
DQMStore::IGetter & | ig, | ||
int | LS = -1 |
||
) |
Analyze.
Definition at line 235 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 dqmEndJob(), and dqmEndLuminosityBlock().
|
virtual |
BeginRun.
Reimplemented from DQMEDHarvester.
Definition at line 161 of file HcalMonitorClient.cc.
References begin_run_, HcalSummaryClient::beginRun(), ChannelStatus, chanquality_, clients_, gather_cfg::cout, debug_, EtaPhiHists::depth, end_run_, 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, edm::ESHandle< class >::product(), edm::RunID::run(), run_, ntuplemaker::status, and summaryClient_.
void HcalMonitorClient::cleanup | ( | void | ) |
Cleanup.
Definition at line 355 of file HcalMonitorClient.cc.
References enableCleanup_.
Referenced by dqmEndJob().
|
virtual |
EndJob.
Implements DQMEDHarvester.
Definition at line 336 of file HcalMonitorClient.cc.
References analyze(), cleanup(), clients_, end_run_, DQMEDHarvester::endJob(), endRun(), i, and Online_.
|
virtual |
EndLumiBlock.
Reimplemented from DQMEDHarvester.
Definition at line 254 of file HcalMonitorClient.cc.
References analyze(), gather_cfg::cout, current_time_, databaseFirstUpdate_, databaseUpdateTime_, debug_, doChanStatSetup_, doPedSetup_, htmlFirstUpdate_, htmlUpdateTime_, last_time_db_, last_time_html_, last_time_update_, edm::LuminosityBlockBase::luminosityBlock(), NULL, setupChannelStatusMon(), setupPedestalMon(), cond::rpcobgas::time, updateTime_, writeChannelStatus(), and writeHtml().
void HcalMonitorClient::endRun | ( | DQMStore::IBooker & | ib, |
DQMStore::IGetter & | ig | ||
) |
EndRun.
Definition at line 301 of file HcalMonitorClient.cc.
References HcalSummaryClient::analyze(), baseHtmlDir_, begin_run_, databasedir_, end_run_, htmlUpdateTime_, summaryClient_, writeChannelStatus(), and writeHtml().
Referenced by dqmEndJob().
|
virtual |
Reimplemented from DQMEDHarvester.
Definition at line 319 of file HcalMonitorClient.cc.
References begin_run_, doPedSetup_, end_run_, edm::EventSetup::get(), and PlotPedestalValues().
void HcalMonitorClient::PlotPedestalValues | ( | const HcalDbService & | cond | ) |
Definition at line 504 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 endRun().
void HcalMonitorClient::reset | ( | void | ) |
Reset.
void HcalMonitorClient::setup | ( | void | ) |
|
private |
Definition at line 657 of file HcalMonitorClient.cc.
References ChannelStatus, EtaPhiHists::depth, doChanStatSetup_, prefixME_, DQMStore::IBooker::setCurrentFolder(), EtaPhiHists::setup(), and x.
Referenced by dqmEndLuminosityBlock().
|
private |
Definition at line 625 of file HcalMonitorClient.cc.
References ADC_PedestalFromDBByDepth, ADC_WidthFromDBByDepth, doPedSetup_, fC_PedestalFromDBByDepth, fC_WidthFromDBByDepth, prefixME_, DQMStore::IBooker::setCurrentFolder(), and EtaPhiHists::setup().
Referenced by dqmEndLuminosityBlock().
void HcalMonitorClient::softReset | ( | bool | flag | ) |
SoftReset.
void HcalMonitorClient::writeChannelStatus | ( | ) |
Definition at line 450 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 dqmEndLuminosityBlock(), and endRun().
void HcalMonitorClient::writeHtml | ( | DQMStore::IBooker & | ib, |
DQMStore::IGetter & | ig | ||
) |
Definition at line 362 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_, edm::invalidRunNumber, HcalBaseDQClient::name_, prefixME_, run_, AlCaHLTBitMon_QueryRunRegistry::string, summaryClient_, and tmp.
Referenced by dqmEndLuminosityBlock(), and endRun().
|
private |
Definition at line 119 of file HcalMonitorClient.h.
Referenced by HcalMonitorClient(), PlotPedestalValues(), and setupPedestalMon().
|
private |
Definition at line 120 of file HcalMonitorClient.h.
Referenced by HcalMonitorClient(), PlotPedestalValues(), and setupPedestalMon().
|
private |
Definition at line 95 of file HcalMonitorClient.h.
Referenced by endRun(), HcalMonitorClient(), and writeHtml().
|
private |
Definition at line 81 of file HcalMonitorClient.h.
Referenced by beginRun(), endRun(), and HcalMonitorClient().
|
private |
Definition at line 118 of file HcalMonitorClient.h.
Referenced by beginRun(), HcalMonitorClient(), and setupChannelStatusMon().
|
private |
Definition at line 115 of file HcalMonitorClient.h.
Referenced by beginRun(), and writeChannelStatus().
|
private |
Definition at line 113 of file HcalMonitorClient.h.
Referenced by analyze(), beginRun(), dqmEndJob(), HcalMonitorClient(), writeChannelStatus(), writeHtml(), and ~HcalMonitorClient().
|
private |
Definition at line 88 of file HcalMonitorClient.h.
Referenced by HcalMonitorClient().
|
private |
Definition at line 108 of file HcalMonitorClient.h.
Referenced by analyze(), dqmEndLuminosityBlock(), and HcalMonitorClient().
|
private |
Definition at line 97 of file HcalMonitorClient.h.
Referenced by endRun(), HcalMonitorClient(), and writeChannelStatus().
|
private |
Definition at line 99 of file HcalMonitorClient.h.
Referenced by dqmEndLuminosityBlock(), and HcalMonitorClient().
|
private |
Definition at line 98 of file HcalMonitorClient.h.
Referenced by dqmEndLuminosityBlock(), and HcalMonitorClient().
|
private |
Definition at line 85 of file HcalMonitorClient.h.
Referenced by analyze(), beginRun(), dqmEndLuminosityBlock(), HcalMonitorClient(), PlotPedestalValues(), writeChannelStatus(), writeHtml(), and ~HcalMonitorClient().
|
private |
Definition at line 130 of file HcalMonitorClient.h.
Referenced by dqmEndLuminosityBlock(), HcalMonitorClient(), and setupChannelStatusMon().
|
private |
Definition at line 125 of file HcalMonitorClient.h.
Referenced by dqmEndLuminosityBlock(), endRun(), HcalMonitorClient(), and setupPedestalMon().
|
private |
Definition at line 91 of file HcalMonitorClient.h.
Referenced by cleanup(), and HcalMonitorClient().
|
private |
Definition at line 92 of file HcalMonitorClient.h.
Referenced by HcalMonitorClient().
|
private |
Definition at line 82 of file HcalMonitorClient.h.
Referenced by beginRun(), dqmEndJob(), endRun(), and HcalMonitorClient().
|
private |
Definition at line 80 of file HcalMonitorClient.h.
|
private |
Definition at line 121 of file HcalMonitorClient.h.
Referenced by HcalMonitorClient(), PlotPedestalValues(), and setupPedestalMon().
|
private |
Definition at line 122 of file HcalMonitorClient.h.
Referenced by HcalMonitorClient(), PlotPedestalValues(), and setupPedestalMon().
|
private |
Definition at line 102 of file HcalMonitorClient.h.
Referenced by beginRun(), and writeHtml().
|
private |
Definition at line 100 of file HcalMonitorClient.h.
Referenced by dqmEndLuminosityBlock(), and HcalMonitorClient().
|
private |
Definition at line 96 of file HcalMonitorClient.h.
Referenced by dqmEndLuminosityBlock(), endRun(), and HcalMonitorClient().
|
private |
Definition at line 77 of file HcalMonitorClient.h.
Referenced by HcalMonitorClient(), and writeHtml().
|
private |
Definition at line 86 of file HcalMonitorClient.h.
Referenced by HcalMonitorClient().
|
private |
Definition at line 78 of file HcalMonitorClient.h.
Referenced by beginRun(), and HcalMonitorClient().
|
private |
Definition at line 111 of file HcalMonitorClient.h.
Referenced by dqmEndLuminosityBlock(), and HcalMonitorClient().
|
private |
Definition at line 110 of file HcalMonitorClient.h.
Referenced by dqmEndLuminosityBlock(), and HcalMonitorClient().
|
private |
Definition at line 109 of file HcalMonitorClient.h.
Referenced by dqmEndLuminosityBlock().
|
private |
Definition at line 87 of file HcalMonitorClient.h.
Referenced by HcalMonitorClient().
|
private |
Definition at line 105 of file HcalMonitorClient.h.
Referenced by dqmEndJob(), and HcalMonitorClient().
|
private |
Definition at line 90 of file HcalMonitorClient.h.
Referenced by HcalMonitorClient(), setupChannelStatusMon(), setupPedestalMon(), and writeHtml().
|
private |
Definition at line 89 of file HcalMonitorClient.h.
Referenced by HcalMonitorClient().
|
private |
Definition at line 79 of file HcalMonitorClient.h.
Referenced by beginRun(), HcalMonitorClient(), writeChannelStatus(), and writeHtml().
|
private |
Definition at line 104 of file HcalMonitorClient.h.
Referenced by analyze(), and HcalMonitorClient().
|
private |
Definition at line 117 of file HcalMonitorClient.h.
Referenced by analyze(), beginRun(), endRun(), HcalMonitorClient(), and writeHtml().
|
private |
Definition at line 94 of file HcalMonitorClient.h.
Referenced by dqmEndLuminosityBlock(), and HcalMonitorClient().