CMS 3D CMS Logo

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.

223  :owner_(0) {
224  assert(store);
225  owner_ = store;
226  }
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 331 of file DQMStore.cc.

331  {
333 }
bool containsAnyMonitorable(const std::string &path) const
Definition: DQMStore.cc:1779
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 305 of file DQMStore.cc.

Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), HcalOfflineHarvesting::_dqmEndLuminosityBlock(), HcalOnlineHarvesting::_dqmEndLuminosityBlock(), L1TStage2RatioClient::book(), L1TTestsSummary::book(), dqmoffline::l1t::L1TEfficiencyPlotHandler::book(), L1TEfficiencyPlotHandler::book(), L1TEventInfoClient::book(), HeavyFlavorHarvesting::calculateEfficiency(), PSMonitorClient::check(), TrackingAnalyser::checkTrackerFEDsInLS(), TrackingAnalyser::checkTrackerFEDsWdataInLS(), RPCEventSummary::clientOperation(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), dqmoffline::l1t::L1TEfficiencyPlotHandler::computeEfficiency(), 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(), MuonME0DigisHarvestor::dqmEndJob(), MuonME0SegHarvestor::dqmEndJob(), DQMHcalIsoTrackPostProcessor::dqmEndJob(), RPCEfficiencySecond::dqmEndJob(), MuonGEMDigisHarvestor::dqmEndJob(), MuonGEMHitsHarvestor::dqmEndJob(), BDHadronTrackMonitoringHarvester::dqmEndJob(), TriggerRatesMonitorClient::dqmEndJob(), RPCEfficiencyShiftHisto::dqmEndJob(), L1EmulatorErrorFlagClient::dqmEndJob(), SusyPostProcessor::dqmEndJob(), METTesterPostProcessorHarvesting::dqmEndJob(), JetTesterPostProcessor::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), EfficiencyPlotter::dqmEndJob(), DTCertificationSummary::dqmEndJob(), ECALpedestalPCLHarvester::dqmEndJob(), DTOfflineSummaryClients::dqmEndJob(), DQMScaleToClient::dqmEndJob(), MuonAlignmentSummary::dqmEndJob(), EcalZmassClient::dqmEndJob(), MuonTrackResidualsTest::dqmEndJob(), MuonRecoTest::dqmEndJob(), DTLocalTriggerSynchTest::dqmEndJob(), DQMCorrelationClient::dqmEndJob(), TrackEfficiencyClient::dqmEndJob(), DTResolutionAnalysisTest::dqmEndJob(), DTChamberEfficiencyClient::dqmEndJob(), SiStripGainsPCLHarvester::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::RawRunSummary::endLuminosityBlock(), hcaldqm::DigiRunSummary::endLuminosityBlock(), SiPixelActionExecutor::fillDeviations(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillEfficiencySummary(), 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(), SiPixelPhase1Summary::fillSummaries(), SiPixelActionExecutor::fillSummary(), ThroughputServiceClient::fillSummaryPlots(), FastTimerServiceClient::fillSummaryPlots(), TrackingCertificationInfo::fillTrackingCertificationMEsAtLumi(), SiPixelPhase1Summary::fillTrendPlots(), 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(), JetMETDQMPostProcessor::getHistogram(), EmDQMPostProcessor::getHistogram(), RPCDqmClient::getMonitorElements(), HLTBTagHarvestingAnalyzer::GetNumDenumerators(), L1TOccupancyClientHistogramService::getRebinnedHistogram(), betterConfigParser.BetterConfigParser::getResultingSection(), SiPixelActionExecutor::getSummaryME(), L1TDTTFClient::getTH1F(), L1TDTTFClient::getTH2F(), PhotonDataCertification::invMassZtest(), hcaldqm::ContainerSingle2D::load(), hcaldqm::Container1D::load(), HistogramManager::loadFromDQMStore(), dqmoffline::l1t::L1TDiffHarvesting::L1TDiffPlotHandler::loadHistograms(), DQMGenericClient::makeCumulativeDist(), EgHLTOfflineClient::makeEffMonElem2Leg(), EgHLTOfflineClient::makeEffMonElemFromPassAndAll(), EgHLTOfflineClient::makeEffMonElemFromPassAndFail(), EgHLTOfflineClient::makeEffMonElemFromPassAndFailAndTagTag(), TotemRPDQMHarvester::MakeHitNumberRatios(), TotemRPDQMHarvester::MakePlaneEfficiencyHistograms(), PlotCombiner::makePlot(), SiPixelActionExecutor::normaliseAvDigiOcc(), SiPixelActionExecutor::normaliseAvDigiOccVsLumi(), DQMGenericClient::normalizeToEntries(), DTBlockedROChannelsTest::performClientDiagnostic(), DTSegmentAnalysisTest::performClientDiagnostic(), RPCChamberQuality::performeClientOperation(), HLTTauPostProcessor::plotFilterEfficiencies(), TrackingActionExecutor::printShiftHistoParameters(), MuonGEMRecHitsHarvestor::ProcessBooking(), MuonGEMDigisHarvestor::ProcessBooking(), MuonGEMHitsHarvestor::ProcessBooking(), L1TStage2CaloLayer2DEClient::processHistograms(), L1TStage2RatioClient::processHistograms(), L1TCSCTFClient::processHistograms(), L1TGCTClient::processHistograms(), L1TRPCTFClient::processHistograms(), DTBlockedROChannelsTest::DTRobBinsMap::readNewValues(), L1TEventInfoClient::readQtResults(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), util.rrapi.RRApi::reports(), 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(), util.rrapi.RRApi::tables(), 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(), rrapi.RRApi::workspaces(), and util.rrapi.RRApi::workspaces().

305  {
306  return owner_->get(path);
307 }
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
Definition: DQMStore.cc:1789
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 299 of file DQMStore.cc.

301  {
303 }
std::vector< MonitorElement * > getAllContents(const std::string &path, uint32_t runNumber=0, uint32_t lumi=0) const
Definition: DQMStore.cc:2002
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 309 of file DQMStore.cc.

References mps_alisetup::msg, and callgraph::path.

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

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

Definition at line 323 of file DQMStore.cc.

Referenced by SiPixelActionExecutor::bookOccupancyPlots(), SiPixelDataQuality::computeGlobalQualityFlag(), EmDQMPostProcessor::dqmEndJob(), EcalCondDBWriter::dqmEndJob(), JetMETDQMPostProcessor::dqmEndJob(), HLTTauPostProcessor::dqmEndJob(), HGCalGeometryClient::dqmEndJob(), HGCalHitClient::dqmEndJob(), TriggerRatesMonitorClient::dqmEndJob(), SusyPostProcessor::dqmEndJob(), JetTesterPostProcessor::dqmEndJob(), METTesterPostProcessorHarvesting::dqmEndJob(), METTesterPostProcessor::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), CaloTowersClient::dqmEndJob(), CaloTowersDQMClient::dqmEndJob(), HcalNoiseRatesClient::dqmEndJob(), JetMETHLTOfflineClient::dqmEndJob(), HcalRecHitsDQMClient::dqmEndJob(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiPixelActionExecutor::fillOccupancy(), FastTimerServiceClient::fillPathSummaryPlots(), 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_(), and HcalSimHitsClient::runClient_().

323  {
324  return owner_->getSubdirs();
325 }
std::vector< std::string > getSubdirs(void) const
Definition: DQMStore.cc:1740
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 347 of file DQMStore.cc.

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

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

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.