test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
DQMStore::IGetter Class Reference

#include <DQMStore.h>

Public Member Functions

void cd (void)
 
void cd (const std::string &dir)
 
bool containsAnyMonitorable (const std::string &path)
 
bool dirExists (const std::string &path)
 
MonitorElementget (const std::string &path)
 
std::vector< MonitorElement * > getAllContents (const std::string &path, uint32_t runNumber=0, uint32_t lumi=0)
 
template<typename... Args>
std::vector< MonitorElement * > getContents (Args &&...args)
 
MonitorElementgetElement (const std::string &path)
 
std::vector< std::string > getMEs (void)
 
std::vector< std::string > getSubdirs (void)
 
template<typename... Args>
void removeElement (Args &&...args)
 
void setCurrentFolder (const std::string &fullpath)
 

Private Member Functions

 IGetter (DQMStore *store)
 
 IGetter ()
 
 IGetter (const IGetter &)
 

Private Attributes

DQMStoreowner_
 

Friends

class DQMStore
 

Detailed Description

Definition at line 190 of file DQMStore.h.

Constructor & Destructor Documentation

DQMStore::IGetter::IGetter ( DQMStore store)
inlineexplicitprivate

Definition at line 223 of file DQMStore.h.

References assert(), and owner_.

223  :owner_(0) {
224  assert(store);
225  owner_ = store;
226  }
assert(m_qm.get())
DQMStore * owner_
Definition: DQMStore.h:234
DQMStore::IGetter::IGetter ( )
private
DQMStore::IGetter::IGetter ( const IGetter )
private

Member Function Documentation

void DQMStore::IGetter::cd ( void  )
void DQMStore::IGetter::cd ( const std::string &  dir)
bool DQMStore::IGetter::containsAnyMonitorable ( const std::string &  path)

Definition at line 330 of file DQMStore.cc.

330  {
332 }
bool containsAnyMonitorable(const std::string &path) const
Definition: DQMStore.cc:1761
DQMStore * owner_
Definition: DQMStore.h:234
bool DQMStore::IGetter::dirExists ( const std::string &  path)
MonitorElement * DQMStore::IGetter::get ( const std::string &  path)

Definition at line 304 of file DQMStore.cc.

Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), HcalOfflineHarvesting::_dqmEndLuminosityBlock(), HcalOnlineHarvesting::_dqmEndLuminosityBlock(), HcalDigiClient::analyze(), HcalRecHitClient::analyze(), HcalSummaryClient::analyze(), ZDCMonitorClient::analyze(), L1TTestsSummary::book(), L1TEfficiencyPlotHandler::book(), L1TEventInfoClient::book(), HeavyFlavorHarvesting::calculateEfficiency(), HcalTrigPrimClient::calculateProblems(), HcalCoarsePedestalClient::calculateProblems(), HcalDeadCellClient::calculateProblems(), HcalDetDiagLaserClient::calculateProblems(), HcalBeamClient::calculateProblems(), HcalDetDiagPedestalClient::calculateProblems(), HcalDigiClient::calculateProblems(), HcalHotCellClient::calculateProblems(), HcalRawDataClient::calculateProblems(), HcalDataCertification::CertifyHcal(), PSMonitorClient::check(), TrackingAnalyser::checkTrackerFEDsInLS(), TrackingAnalyser::checkTrackerFEDsWdataInLS(), RPCEventSummary::clientOperation(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), L1TEfficiencyPlotHandler::computeEfficiency(), DQMGenericClient::computeEfficiency(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelDataQuality::computeGlobalQualityFlagByLumi(), DQMGenericClient::computeProfile(), DQMGenericClient::computeResolution(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), PFClient_JetRes::createEfficiencyPlots(), PFClient::createEfficiencyPlots(), EgHLTOfflineClient::createHLTvsOfflineHists(), EgHLTOfflineClient::createLooseTightTrigEff(), EgHLTOfflineClient::createN1EffHists(), PFClient::createProfilePlots(), PFClient::createProjectionPlots(), PFClient_JetRes::createResolutionPlots(), PFClient::createResolutionPlots(), EgHLTOfflineClient::createSingleEffHists(), EgHLTOfflineClient::createTrigTagProbeEffHists(), EgHLTOfflineClient::createTrigTagProbeEffHists2Leg(), EgHLTOfflineClient::createTrigTagProbeEffHistsNewAlgo(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), MuonTestSummary::doEnergyTests(), MuonTestSummary::doKinematicsTests(), MuonTestSummary::doMultiplicityTests(), MuonTestSummary::doMuonIDTests(), MuonTestSummary::doResidualsTests(), HltSusyExoPostProcessor::dqmEndJob(), EcalCondDBWriter::dqmEndJob(), TrackingDQMClientHeavyIons::dqmEndJob(), RPCEfficiencyPerRingLayer::dqmEndJob(), RPCRecHitProbabilityClient::dqmEndJob(), RPCRecHitValidClient::dqmEndJob(), DQMExample_Step2::dqmEndJob(), HLTTauCertifier::dqmEndJob(), MuonGEMRecHitsHarvestor::dqmEndJob(), DQMHcalIsoTrackPostProcessor::dqmEndJob(), RPCEfficiencySecond::dqmEndJob(), MuonGEMDigisHarvestor::dqmEndJob(), MuonGEMHitsHarvestor::dqmEndJob(), RPCEfficiencyShiftHisto::dqmEndJob(), SusyPostProcessor::dqmEndJob(), L1EmulatorErrorFlagClient::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), JetTesterPostProcessor::dqmEndJob(), METTesterPostProcessorHarvesting::dqmEndJob(), EfficiencyPlotter::dqmEndJob(), DTCertificationSummary::dqmEndJob(), DTOfflineSummaryClients::dqmEndJob(), DQMScaleToClient::dqmEndJob(), MuonAlignmentSummary::dqmEndJob(), EcalZmassClient::dqmEndJob(), MuonTrackResidualsTest::dqmEndJob(), MuonRecoTest::dqmEndJob(), DTLocalTriggerSynchTest::dqmEndJob(), DQMCorrelationClient::dqmEndJob(), TrackEfficiencyClient::dqmEndJob(), DTResolutionAnalysisTest::dqmEndJob(), DTChamberEfficiencyClient::dqmEndJob(), DTSegmentAnalysisTest::dqmEndJob(), HLTMuonCertSummary::dqmEndJob(), CSCOfflineClient::dqmEndJob(), RPCDcsInfoClient::dqmEndLuminosityBlock(), BrilClient::dqmEndLuminosityBlock(), SiPixelDaqInfo::dqmEndLuminosityBlock(), DTCertificationSummary::dqmEndLuminosityBlock(), SiPixelEDAClient::dqmEndLuminosityBlock(), DTDCSByLumiSummary::dqmEndLuminosityBlock(), DTDataIntegrityTest::dqmEndLuminosityBlock(), DTSummaryClients::dqmEndLuminosityBlock(), DTNoiseAnalysisTest::dqmEndLuminosityBlock(), DTOccupancyTest::dqmEndLuminosityBlock(), DTChamberEfficiencyTest::dqmEndLuminosityBlock(), DTResolutionTest::dqmEndLuminosityBlock(), DTEfficiencyTest::dqmEndLuminosityBlock(), DTBlockedROChannelsTest::DTRobBinsMap::DTRobBinsMap(), L1TEventInfoClient::dumpContentMonitorElements(), ESPedestalClient::endJobAnalyze(), ESSummaryClient::endLumiAnalyze(), ESIntegrityClient::endLumiAnalyze(), hcaldqm::DigiRunSummary::endLuminosityBlock(), SiPixelActionExecutor::fillDeviations(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), DTLocalTriggerTest::fillGlobalSummary(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), EgHLTOfflineClient::FillHLTvsOfflineHist(), METTesterPostProcessor::FillMETRes(), RPCChamberQuality::fillMonitorElements(), SiPixelActionExecutor::fillOccupancy(), FastTimerServiceClient::fillPathSummaryPlots(), FastTimerServiceClient::fillPlotsVsLumi(), FastTimerServiceClient::fillProcessSummaryPlots(), ESSummaryClient::fillReportSummary(), HcalSummaryClient::fillReportSummary(), HcalSummaryClient::fillReportSummaryLSbyLS(), SiPixelActionExecutor::fillSummary(), ThroughputServiceClient::fillSummaryPlots(), FastTimerServiceClient::fillSummaryPlots(), TrackingCertificationInfo::fillTrackingCertificationMEsAtLumi(), SiPixelInformationExtractor::findNoisyPixels(), FlavourHistograms< T >::FlavourHistograms(), FlavourHistograms2D< T, G >::FlavourHistograms2D(), ElectronDqmHarvesterBase::get(), L1TGMTClient::get1DHisto(), L1TDTTPGClient::get1DHisto(), L1TDTTPGClient::get1DProfile(), L1TGMTClient::get2DHisto(), L1TDTTPGClient::get2DHisto(), L1TDTTPGClient::get2DProfile(), DTRunConditionVarClient::getChamberHistos(), DTBlockedROChannelsTest::DTRobBinsMap::getChamberPercentage(), betterConfigParser.BetterConfigParser::getCompares(), SiPixelActionExecutor::getFEDSummaryME(), DTLocalTriggerSynchTest::getFloatFromME(), betterConfigParser.BetterConfigParser::getGeneral(), SiPixelActionExecutor::getGrandSummaryME(), HcalRawDataClient::getHardwareSpaceHistos(), JetMETDQMPostProcessor::getHistogram(), EmDQMPostProcessor::getHistogram(), RPCDqmClient::getMonitorElements(), HLTBTagHarvestingAnalyzer::GetNumDenumerators(), L1TOccupancyClientHistogramService::getRebinnedHistogram(), betterConfigParser.BetterConfigParser::getResultingSection(), SiPixelActionExecutor::getSummaryME(), L1TDTTFClient::getTH1F(), L1TDTTFClient::getTH2F(), HcalDetDiagLaserClient::htmlOutput(), HcalDetDiagLEDClient::htmlOutput(), HcalDetDiagPedestalClient::htmlOutput(), PhotonDataCertification::invMassZtest(), hcaldqm::ContainerSingle2D::load(), hcaldqm::Container1D::load(), DQMGenericClient::makeCumulativeDist(), EgHLTOfflineClient::makeEffMonElem2Leg(), EgHLTOfflineClient::makeEffMonElemFromPassAndAll(), EgHLTOfflineClient::makeEffMonElemFromPassAndFail(), EgHLTOfflineClient::makeEffMonElemFromPassAndFailAndTagTag(), TotemRPDQMHarvester::MakeHitNumberRatios(), TotemRPDQMHarvester::MakePlaneEfficiencyHistograms(), PlotCombiner::makePlot(), DQMGenericClient::normalizeToEntries(), DTBlockedROChannelsTest::performClientDiagnostic(), DTSegmentAnalysisTest::performClientDiagnostic(), RPCChamberQuality::performeClientOperation(), HLTTauPostProcessor::plotFilterEfficiencies(), TrackingActionExecutor::printShiftHistoParameters(), MuonGEMRecHitsHarvestor::ProcessBooking(), MuonGEMHitsHarvestor::ProcessBooking(), MuonGEMDigisHarvestor::ProcessBooking(), L1TStage2CaloLayer2DEClient::processHistograms(), L1TCSCTFClient::processHistograms(), L1TGCTClient::processHistograms(), L1TRPCTFClient::processHistograms(), DTBlockedROChannelsTest::DTRobBinsMap::readNewValues(), L1TEventInfoClient::readQtResults(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), MuonTestSummary::ResidualCheck(), ecaldqm::MESetNonObject::retrieve(), ecaldqm::MESetEcal::retrieve(), PhotonOfflineClient::runClient(), DTLocalTriggerTest::runClientDiagnostic(), DTLocalTriggerTPTest::runClientDiagnostic(), DTLocalTriggerLutTest::runClientDiagnostic(), DTTriggerLutTest::runClientDiagnostic(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), DTLocalTriggerSynchTest::runClientDiagnostic(), DTTriggerEfficiencyTest::runClientDiagnostic(), L1EmulatorErrorFlagClient::setSummary(), HcalSummaryClient::setup(), HcalCoarsePedestalClient::setupCoarsePedestal(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), util.rrapi.RRApi::templates(), rrapi.RRApi::templates(), TrackIPHistograms< T >::TrackIPHistograms(), L1TTestsSummary::updateL1TOccupancyMonitor(), L1TTestsSummary::updateL1TRateMonitor(), L1TTestsSummary::updateL1TSyncMonitor(), HcalDetDiagLEDClient::validHtmlOutput(), HcalDetDiagLaserClient::validHtmlOutput(), HcalDetDiagPedestalClient::validHtmlOutput(), rrapi.RRApi::workspaces(), and util.rrapi.RRApi::workspaces().

304  {
305  return owner_->get(path);
306 }
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. &quot;my/long/dir/my_histo&quot;)
Definition: DQMStore.cc:1771
DQMStore * owner_
Definition: DQMStore.h:234
std::vector< MonitorElement * > DQMStore::IGetter::getAllContents ( const std::string &  path,
uint32_t  runNumber = 0,
uint32_t  lumi = 0 
)

Definition at line 298 of file DQMStore.cc.

Referenced by HcalBaseDQClient::htmlOutput().

300  {
302 }
tuple lumi
Definition: fjr2json.py:35
std::vector< MonitorElement * > getAllContents(const std::string &path, uint32_t runNumber=0, uint32_t lumi=0) const
Definition: DQMStore.cc:1984
DQMStore * owner_
Definition: DQMStore.h:234
template<typename... Args>
std::vector<MonitorElement *> DQMStore::IGetter::getContents ( Args &&...  args)
inline
MonitorElement * DQMStore::IGetter::getElement ( const std::string &  path)

Definition at line 308 of file DQMStore.cc.

References visualization-live-secondInstance_cfg::msg, and fed_dqm_sourceclient-live_cfg::path.

Referenced by SiPixelCertification::dqmEndJob(), and SiPixelCertification::dqmEndLuminosityBlock().

308  {
309  MonitorElement *ptr = this->get(path);
310  if (ptr == nullptr) {
311  std::stringstream msg;
312  msg << "DQM object not found";
313 
314  msg << ": " << path;
315 
316  // can't use cms::Exception inside DQMStore
317  throw std::out_of_range(msg.str());
318  }
319  return ptr;
320 }
std::vector< std::string > DQMStore::IGetter::getMEs ( void  )
std::vector< std::string > DQMStore::IGetter::getSubdirs ( void  )

Definition at line 322 of file DQMStore.cc.

Referenced by SiPixelActionExecutor::bookOccupancyPlots(), SiPixelDataQuality::computeGlobalQualityFlag(), EmDQMPostProcessor::dqmEndJob(), EcalCondDBWriter::dqmEndJob(), JetMETDQMPostProcessor::dqmEndJob(), HLTTauPostProcessor::dqmEndJob(), SusyPostProcessor::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), JetTesterPostProcessor::dqmEndJob(), METTesterPostProcessorHarvesting::dqmEndJob(), METTesterPostProcessor::dqmEndJob(), HcalRecHitsDQMClient::dqmEndJob(), CaloTowersClient::dqmEndJob(), CaloTowersDQMClient::dqmEndJob(), HcalNoiseRatesClient::dqmEndJob(), JetMETHLTOfflineClient::dqmEndJob(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiPixelActionExecutor::fillOccupancy(), FastTimerServiceClient::fillProcessSummaryPlots(), SiPixelActionExecutor::fillSummary(), ThroughputServiceClient::fillSummaryPlots(), FastTimerServiceClient::fillSummaryPlots(), DQMGenericClient::findAllSubdirectories(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelActionExecutor::GetBladeSubdirs(), TrackingUtility::getModuleFolderList(), TrackingUtility::goToDir(), HcalDigisClient::runClient(), HGCalDigiClient::runClient_(), HGCalRecHitsClient::runClient_(), HGCalSimHitsClient::runClient_(), NoiseRatesClient::runClient_(), HcalRecHitsClient::runClient_(), and HcalSimHitsClient::runClient_().

322  {
323  return owner_->getSubdirs();
324 }
std::vector< std::string > getSubdirs(void) const
Definition: DQMStore.cc:1722
DQMStore * owner_
Definition: DQMStore.h:234
template<typename... Args>
void DQMStore::IGetter::removeElement ( Args &&...  args)
inline
void DQMStore::IGetter::setCurrentFolder ( const std::string &  fullpath)

Definition at line 346 of file DQMStore.cc.

Referenced by HcalOnlineHarvesting::_dqmEndLuminosityBlock(), HcalSummaryClient::analyze(), L1TTestsSummary::book(), SiPixelActionExecutor::bookOccupancyPlots(), HcalDataCertification::CertifyHcal(), PSMonitorClient::check(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelActionExecutor::createSummary(), HltSusyExoPostProcessor::dqmEndJob(), HLTTauPostProcessor::dqmEndJob(), MuonGEMRecHitsHarvestor::dqmEndJob(), MuonGEMDigisHarvestor::dqmEndJob(), MuonGEMHitsHarvestor::dqmEndJob(), SusyPostProcessor::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), METTesterPostProcessor::dqmEndJob(), JetTesterPostProcessor::dqmEndJob(), METTesterPostProcessorHarvesting::dqmEndJob(), HcalDigisClient::dqmEndJob(), HcalRecHitsClient::dqmEndJob(), HcalRecHitsDQMClient::dqmEndJob(), CaloTowersClient::dqmEndJob(), CaloTowersDQMClient::dqmEndJob(), HcalNoiseRatesClient::dqmEndJob(), BrilClient::dqmEndLuminosityBlock(), SiPixelEDAClient::dqmEndLuminosityBlock(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiPixelActionExecutor::fillOccupancy(), FastTimerServiceClient::fillPlotsVsLumi(), FastTimerServiceClient::fillProcessSummaryPlots(), HcalSummaryClient::fillReportSummary(), HcalSummaryClient::fillReportSummaryLSbyLS(), SiPixelActionExecutor::fillSummary(), SiPixelInformationExtractor::findNoisyPixels(), DTRunConditionVarClient::getChamberHistos(), L1TGMTClient::makeEfficiency1D(), L1TGMTClient::makeEfficiency2D(), L1TGMTClient::makeRatio1D(), L1TCSCTFClient::processHistograms(), L1TRPCTFClient::processHistograms(), HcalDigisClient::runClient(), PhotonOfflineClient::runClient(), HGCalDigiClient::runClient_(), HGCalRecHitsClient::runClient_(), HGCalSimHitsClient::runClient_(), NoiseRatesClient::runClient_(), HcalSimHitsClient::runClient_(), HcalRecHitsClient::runClient_(), HcalSummaryClient::setup(), L1TTestsSummary::updateL1TOccupancyMonitor(), L1TTestsSummary::updateL1TRateMonitor(), and L1TTestsSummary::updateL1TSyncMonitor().

346  {
347  owner_->setCurrentFolder(fullpath);
348 }
DQMStore * owner_
Definition: DQMStore.h:234
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:723

Friends And Related Function Documentation

friend class DQMStore
friend

Definition at line 193 of file DQMStore.h.

Member Data Documentation

DQMStore* DQMStore::IGetter::owner_
private

Definition at line 234 of file DQMStore.h.

Referenced by getContents(), IGetter(), and removeElement().