CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
dqm::implementation::IGetter Class Reference

#include <DQMStore.h>

Inheritance diagram for dqm::implementation::IGetter:
dqm::implementation::NavigatorBase dqm::implementation::DQMStore dqm::legacy::DQMStore

Public Member Functions

virtual bool dirExists (std::string const &path) const
 
virtual MonitorElementget (MonitorElementData::Key const &key) const
 
virtual MonitorElementget (std::string const &fullpath) const
 
virtual std::vector< dqm::harvesting::MonitorElement * > getAllContents (std::string const &path) const
 
virtual DQM_DEPRECATED std::vector< dqm::harvesting::MonitorElement * > getAllContents (std::string const &path, uint32_t runNumber, uint32_t lumi) const
 
virtual std::vector< dqm::harvesting::MonitorElement * > getContents (std::string const &path) const
 
virtual DQM_DEPRECATED MonitorElementgetElement (std::string const &path) const
 
virtual std::vector< std::string > getMEs () const
 
virtual DQM_DEPRECATED std::vector< std::string > getSubdirs () const
 
 ~IGetter () override
 
- Public Member Functions inherited from dqm::implementation::NavigatorBase
virtual void cd ()
 
virtual DQM_DEPRECATED void cd (std::string const &dir)
 
virtual void goUp ()
 
virtual std::string pwd ()
 
virtual void setCurrentFolder (std::string const &fullpath)
 
virtual ~NavigatorBase ()
 

Protected Member Functions

 IGetter (DQMStore *store)
 
- Protected Member Functions inherited from dqm::implementation::NavigatorBase
 NavigatorBase ()
 

Protected Attributes

DQMStorestore_
 
- Protected Attributes inherited from dqm::implementation::NavigatorBase
std::string cwd_ = ""
 

Detailed Description

Definition at line 484 of file DQMStore.h.

Constructor & Destructor Documentation

◆ ~IGetter()

dqm::implementation::IGetter::~IGetter ( )
override

Definition at line 715 of file DQMStore.cc.

715 {}

◆ IGetter()

dqm::implementation::IGetter::IGetter ( DQMStore store)
protected

Definition at line 713 of file DQMStore.cc.

713 { store_ = store; }

References store_.

Member Function Documentation

◆ dirExists()

bool dqm::implementation::IGetter::dirExists ( std::string const &  path) const
virtual

Definition at line 708 of file DQMStore.cc.

708  {
709  // we don't claim this is fast.
710  return !this->getAllContents(path).empty();
711  }

References getAllContents().

Referenced by SiStripBadComponentInfo::bookBadComponentHistos(), DQMGenericClient::computeEfficiency(), DQMGenericClient::computeProfile(), DQMGenericClient::computeResolution(), SiStripActionExecutor::createSummary(), EmDQMPostProcessor::dqmEndJob(), HltSusyExoPostProcessor::dqmEndJob(), EcalCondDBWriter::dqmEndJob(), JetMETDQMPostProcessor::dqmEndJob(), HLTTauPostProcessor::dqmEndJob(), SiStripPopConBadComponentsHandlerFromDQM::dqmEndJob(), SiStripPopConFEDErrorsHandlerFromDQM::dqmEndJob(), DQMHcalIsoTrackPostProcessor::dqmEndJob(), SusyPostProcessor::dqmEndJob(), TauDQMHistEffProducer::dqmEndJob(), DTResolutionAnalysisTest::dqmEndJob(), SiStripQualityChecker::fillDetectorStatus(), SiStripQualityChecker::fillFaultyModuleStatus(), DQMGenericTnPClient::findAllSubdirectories(), HLTMuonRefMethod::findAllSubdirectories(), DQMGenericClient::findAllSubdirectories(), SiStripDaqInfo::findExcludedModule(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), TrackingUtility::getTopFolderPath(), SiStripUtility::getTopFolderPath(), DQMGenericClient::makeCumulativeDist(), DQMGenericClient::makeNoFlowDist(), DQMGenericClient::normalizeToEntries(), SiStripActionExecutor::printFaultyModuleList(), PhotonOfflineClient::runClient(), SiPixelErrorsDigisToCalibDigis::setDQMDirectory(), SiPixelOfflineCalibAnalysisBase::setDQMDirectory(), and SiStripTrackerMapCreator::setTkMapFromHistogram().

◆ get() [1/2]

MonitorElement * dqm::implementation::IGetter::get ( MonitorElementData::Key const &  key) const
virtual

◆ get() [2/2]

MonitorElement * dqm::implementation::IGetter::get ( std::string const &  fullpath) const
virtual

Definition at line 651 of file DQMStore.cc.

651  {
654  // this only really makes sense if there is only one instance of this ME,
655  // but the signature of this method also only makes sense in that case.
656  return store_->findME(path);
657  }

References MonitorElementData::Path::DIR_AND_NAME, dqm::implementation::DQMStore::findME(), reco_skim_cfg_mod::fullpath, castor_dqm_sourceclient_file_cfg::path, and store_.

Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), HcalOfflineHarvesting::_dqmEndLuminosityBlock(), HcalOnlineHarvesting::_dqmEndLuminosityBlock(), SiStripDcsInfo::addBadModules(), SiStripGainFromCalibTree::algoEndRun(), TrackerOfflineValidationSummary::associateModuleHistsWithTree(), L1TStage2RatioClient::book(), L1TTestsSummary::book(), dqmoffline::l1t::L1TEfficiencyPlotHandler::book(), BeamMonitorBx::BookTrendHistos(), PPSAlignmentHarvester::buildGraphFromMonitorElements(), HeavyFlavorHarvesting::calculateEfficiency(), DQMGenericTnPClient::calculateEfficiency(), PSMonitorClient::check(), TrackingAnalyser::checkTrackerFEDsInLS(), TrackingAnalyser::checkTrackerFEDsWdataInLS(), RPCEventSummary::clientOperation(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), dqmoffline::l1t::L1TEfficiencyPlotHandler::computeEfficiency(), DQMGenericClient::computeEfficiency(), HEff1DHitHarvest::computeEfficiency(), HEff2DHitHarvest::computeEfficiency(), HEff4DHitHarvest::computeEfficiency(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelDataQuality::computeGlobalQualityFlagByLumi(), DQMGenericClient::computeProfile(), DQMGenericClient::computeResolution(), CommissioningHistograms::copyCustomInformation(), 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(), SiStripActionExecutor::createShiftReport(), EgHLTOfflineClient::createSingleEffHists(), EgHLTOfflineClient::createTrigTagProbeEffHists(), EgHLTOfflineClient::createTrigTagProbeEffHists2Leg(), EgHLTOfflineClient::createTrigTagProbeEffHistsNewAlgo(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), GEMEfficiencyHarvester::doEfficiency(), MuonTestSummary::doEnergyTests(), MuonTestSummary::doKinematicsTests(), MuonTestSummary::doMultiplicityTests(), MuonTestSummary::doMuonIDTests(), MuonTestSummary::doResidualsTests(), GEMEfficiencyHarvester::doResolution(), RPCDcsInfoClient::dqmEndJob(), HltSusyExoPostProcessor::dqmEndJob(), DemoRunHarvester::dqmEndJob(), DemoHarvester::dqmEndJob(), OuterTrackerMCHarvester::dqmEndJob(), EcalCondDBWriter::dqmEndJob(), TrackingDQMClientHeavyIons::dqmEndJob(), MtdTracksHarvester::dqmEndJob(), RPCRecHitValidClient::dqmEndJob(), RPCRecHitProbabilityClient::dqmEndJob(), MuonME0DigisHarvestor::dqmEndJob(), MuonME0SegHarvestor::dqmEndJob(), DTRecHitClients::dqmEndJob(), DQMExample_Step2::dqmEndJob(), DT4DSegmentClients::dqmEndJob(), DQMHcalIsoTrackPostProcessor::dqmEndJob(), HLTTauCertifier::dqmEndJob(), DT2DSegmentClients::dqmEndJob(), BDHadronTrackMonitoringHarvester::dqmEndJob(), OffsetDQMPostProcessor::dqmEndJob(), TriggerRatesMonitorClient::dqmEndJob(), SusyPostProcessor::dqmEndJob(), PFJetDQMPostProcessor::dqmEndJob(), BtlSimHitsHarvester::dqmEndJob(), JetTesterPostProcessor::dqmEndJob(), METTesterPostProcessorHarvesting::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), EfficiencyPlotter::dqmEndJob(), TauDQMHistEffProducer::dqmEndJob(), TrackFoldedOccupancyClient::dqmEndJob(), HLTMuonRefMethod::dqmEndJob(), DTOfflineSummaryClients::dqmEndJob(), TriggerMatchEfficiencyPlotter::dqmEndJob(), ECALpedestalPCLHarvester::dqmEndJob(), DTCertificationSummary::dqmEndJob(), DQMScaleToClient::dqmEndJob(), DTLocalTriggerSynchTest::dqmEndJob(), MuonRecoTest::dqmEndJob(), TrackEfficiencyClient::dqmEndJob(), EcalZmassClient::dqmEndJob(), DTResolutionAnalysisTest::dqmEndJob(), DQMCorrelationClient::dqmEndJob(), DTChamberEfficiencyClient::dqmEndJob(), HLTMuonCertSummary::dqmEndJob(), SiStripGainsPCLHarvester::dqmEndJob(), CSCOfflineClient::dqmEndJob(), DemoHarvester::dqmEndLuminosityBlock(), SiPixelDaqInfo::dqmEndLuminosityBlock(), BrilClient::dqmEndLuminosityBlock(), DTCertificationSummary::dqmEndLuminosityBlock(), SiPixelEDAClient::dqmEndLuminosityBlock(), DTDCSByLumiSummary::dqmEndLuminosityBlock(), DTDataIntegrityTest::dqmEndLuminosityBlock(), DTSummaryClients::dqmEndLuminosityBlock(), DTNoiseAnalysisTest::dqmEndLuminosityBlock(), DTOccupancyTest::dqmEndLuminosityBlock(), DTOccupancyTestML::dqmEndLuminosityBlock(), DTChamberEfficiencyTest::dqmEndLuminosityBlock(), DTResolutionTest::dqmEndLuminosityBlock(), DTEfficiencyTest::dqmEndLuminosityBlock(), MuonRecoTest::dqmEndRun(), MuonTrackResidualsTest::dqmEndRun(), GEMDQMHarvester::drawSummaryHistogram(), DTBlockedROChannelsTest::DTLinkBinsMap::DTLinkBinsMap(), DTBlockedROChannelsTest::DTRobBinsMap::DTRobBinsMap(), L1TEMTFEventInfoClient::dumpContentMonitorElements(), L1TEventInfoClient::dumpContentMonitorElements(), ESPedestalClient::endJobAnalyze(), ESSummaryClient::endLumiAnalyze(), ESIntegrityClient::endLumiAnalyze(), hcaldqm::RawRunSummary::endLuminosityBlock(), hcaldqm::DigiRunSummary::endLuminosityBlock(), AlcaBeamMonitorClient::endLuminosityBlock(), L1ScalersClient::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), DQMOfflineHLTEventInfoClient::endRun(), HLTOverallSummary::endRun(), CommissioningHistograms::extractHistograms(), SiStripQualityChecker::fillDetectorStatusAtLumi(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillEfficiencySummary(), SiStripQualityChecker::fillFaultyModuleStatus(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), DTLocalTriggerTest::fillGlobalSummary(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), DQMFEDIntegrityClient::fillHistograms(), EgHLTOfflineClient::FillHLTvsOfflineHist(), METTesterPostProcessor::FillMETRes(), RPCChamberQuality::fillMonitorElements(), SiPixelActionExecutor::fillOccupancy(), FastTimerServiceClient::fillPathSummaryPlots(), FastTimerServiceClient::fillPlotsVsLumi(), FastTimerServiceClient::fillProcessSummaryPlots(), ESSummaryClient::fillReportSummary(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), SiPixelPhase1Summary::fillSummaries(), SiPixelActionExecutor::fillSummary(), ThroughputServiceClient::fillSummaryPlots(), FastTimerServiceClient::fillSummaryPlots(), TrackingCertificationInfo::fillTrackingCertificationMEsAtLumi(), SiPixelPhase1Summary::fillTrendPlots(), PFDQMEventSelector::filter(), SiStripDaqInfo::findExcludedModule(), SiPixelInformationExtractor::findNoisyPixels(), dqm::implementation::DQMStore::findOrRecycle(), FlavourHistograms< T >::FlavourHistograms(), FlavourHistograms2D< T, G >::FlavourHistograms2D(), ElectronDqmHarvesterBase::get(), L1TDTTPGClient::get1DHisto(), L1TGMTClient::get1DHisto(), L1TDTTPGClient::get1DProfile(), L1TDTTPGClient::get2DHisto(), L1TGMTClient::get2DHisto(), EmDQMPostProcessor::get2DHistogram(), L1TDTTPGClient::get2DProfile(), DTRunConditionVarClient::getChamberHistos(), DTBlockedROChannelsTest::DTRobBinsMap::getChamberPercentage(), DTBlockedROChannelsTest::DTLinkBinsMap::getChamberPercentage(), betterConfigParser.BetterConfigParser::getCompares(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), EgHLTOfflineSummaryClient::getEgHLTSumHist_(), MuonGEMBaseHarvestor::getElement(), getElement(), SiPixelActionExecutor::getFEDSummaryME(), DTLocalTriggerSynchTest::getFloatFromME(), betterConfigParser.BetterConfigParser::getGeneral(), SiPixelActionExecutor::getGrandSummaryME(), JetMETDQMPostProcessor::getHistogram(), EmDQMPostProcessor::getHistogram(), SiStripQualityChecker::getModuleStatus(), RPCDqmClient::getMonitorElements(), HLTBTagHarvestingAnalyzer::GetNumDenumerators(), L1TOccupancyClientHistogramService::getRebinnedHistogram(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), SiPixelActionExecutor::getSummaryME(), L1TDTTFClient::getTH1F(), L1TDTTFClient::getTH2F(), CommissioningHistograms::histogram(), 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(), DQMGenericClient::makeNoFlowDist(), TotemRPDQMHarvester::MakePlaneEfficiencyHistograms(), PlotCombiner::makePlot(), SiStripHistoPlotter::makePlot(), SiPixelActionExecutor::normaliseAvDigiOcc(), SiPixelActionExecutor::normaliseAvDigiOccVsLumi(), DQMGenericClient::normalizeToEntries(), DTBlockedROChannelsTest::performClientDiagnostic(), DTSegmentAnalysisTest::performClientDiagnostic(), RPCChamberQuality::performeClientOperation(), HLTTauPostProcessor::plotFilterEfficiencies(), TrackingActionExecutor::printShiftHistoParameters(), SiStripActionExecutor::printShiftHistoParameters(), L1TStage2CaloLayer2DEClient::processHistograms(), L1TStage2CaloLayer2DEClientSummary::processHistograms(), L1TStage2RatioClient::processHistograms(), L1TdeGEMTPGClient::processHistograms(), L1TdeCSCTPGClient::processHistograms(), L1TCSCTFClient::processHistograms(), L1TGCTClient::processHistograms(), L1TRPCTFClient::processHistograms(), DTBlockedROChannelsTest::DTRobBinsMap::readNewValues(), DTBlockedROChannelsTest::DTLinkBinsMap::readNewValues(), L1TEMTFEventInfoClient::readQtResults(), 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(), EgHLTOfflineSummaryClient::runClient_(), DTLocalTriggerTest::runClientDiagnostic(), DTLocalTriggerTPTest::runClientDiagnostic(), DTLocalTriggerLutTest::runClientDiagnostic(), DTTriggerLutTest::runClientDiagnostic(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), DTLocalTriggerSynchTest::runClientDiagnostic(), DTTriggerEfficiencyTest::runClientDiagnostic(), CommissioningHistograms::runNumber(), ConversionPostprocessing::runPostprocessing(), PhotonPostprocessing::runPostprocessing(), CommissioningHistograms::runType(), SamplingHistograms::SamplingHistograms(), DQMFileSaver::saveForOffline(), L1EmulatorErrorFlagClient::setSummary(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), TrackIPHistograms< T >::TrackIPHistograms(), L1TTestsSummary::updateL1TOccupancyMonitor(), L1TTestsSummary::updateL1TRateMonitor(), L1TTestsSummary::updateL1TSyncMonitor(), util.rrapi.RRApi::workspaces(), rrapi.RRApi::workspaces(), PPSAlignmentHarvester::xAlignmentRelative(), and PPSAlignmentHarvester::yAlignment().

◆ getAllContents() [1/2]

std::vector< dqm::harvesting::MonitorElement * > dqm::implementation::IGetter::getAllContents ( std::string const &  path) const
virtual

Definition at line 609 of file DQMStore.cc.

609  {
610  auto lock = std::scoped_lock(store_->booking_mutex_);
611  std::vector<MonitorElement*> out;
614  // make sure this is normalized by getting it from Path object.
615  auto path_str = path.getFullname();
616  for (auto& [runlumi, meset] : store_->globalMEs_) {
617  auto it = meset.lower_bound(path);
618  // rfind can be used as a prefix match.
619  while (it != meset.end() && (*it)->getPathname().rfind(path_str, 0) == 0) {
620  if (runlumi == edm::LuminosityBlockID() && (*it)->getScope() != MonitorElementData::Scope::JOB) {
621  // skip prototypes
622  } else {
623  store_->debugTrackME("getAllContents (match)", nullptr, *it);
624  out.push_back(*it);
625  }
626  ++it;
627  }
628  }
629  return out;
630  }

References dqm::implementation::DQMStore::booking_mutex_, dqm::implementation::DQMStore::debugTrackME(), MonitorElementData::Path::DIR, dqm::implementation::DQMStore::globalMEs_, CommonMethods::lock(), MillePedeFileConverter_cfg::out, castor_dqm_sourceclient_file_cfg::path, BTVHLTOfflineSource_cfi::pathname, and store_.

Referenced by SiStripCalibLorentzAngle::algoBeginJob(), SiPixelDQMRocLevelAnalyzer::beginJob(), dqmservices::DQMProtobufReader::beginLuminosityBlock(), SiStripCommissioningOfflineClient::beginRun(), SiStripQualityHotStripIdentifierRoot::bookHistos(), DQMStoreStats::calcstats(), dirExists(), SiStripPopConNoisesHandlerFromDQM::dqmEndJob(), SiStripPopConPedestalsHandlerFromDQM::dqmEndJob(), StatisticsFilter::filter(), DQMService::flushStandalone(), EgHLTOfflineSummaryClient::getQTestResults_(), getSubdirs(), QualityTester::performTests(), MEtoEDMConverter::putData(), dqmservices::DQMProtobufReader::readRun_(), CalibrationHistograms::save(), LegacyIOHelper::save(), dqm::DQMFileSaverPB::savePB(), DQMRootOutputModule::writeLuminosityBlock(), DQMRootOutputModule::writeRun(), and PPSAlignmentHarvester::xAlignment().

◆ getAllContents() [2/2]

std::vector< dqm::harvesting::MonitorElement * > dqm::implementation::IGetter::getAllContents ( std::string const &  path,
uint32_t  runNumber,
uint32_t  lumi 
) const
virtual

Definition at line 631 of file DQMStore.cc.

633  {
634  auto lock = std::scoped_lock(store_->booking_mutex_);
635  std::vector<MonitorElement*> out;
638  // make sure this is normalized by getting it from Path object.
639  auto path_str = path.getFullname();
640  auto const& meset = store_->globalMEs_[edm::LuminosityBlockID(runNumber, lumi)];
641  auto it = meset.lower_bound(path);
642  // rfind can be used as a prefix match.
643  while (it != meset.end() && (*it)->getFullname().rfind(path_str, 0) == 0) {
644  store_->debugTrackME("getAllContents (run/lumi match)", nullptr, *it);
645  out.push_back(*it);
646  ++it;
647  }
648  return out;
649  }

References dqm::implementation::DQMStore::booking_mutex_, dqm::implementation::DQMStore::debugTrackME(), MonitorElementData::Path::DIR, dqm::implementation::DQMStore::globalMEs_, CommonMethods::lock(), MillePedeFileConverter_cfg::out, castor_dqm_sourceclient_file_cfg::path, BTVHLTOfflineSource_cfi::pathname, convertSQLiteXML::runNumber, and store_.

◆ getContents()

std::vector< dqm::harvesting::MonitorElement * > dqm::implementation::IGetter::getContents ( std::string const &  path) const
virtual

Definition at line 593 of file DQMStore.cc.

593  {
594  auto lock = std::scoped_lock(store_->booking_mutex_);
595  std::vector<MonitorElement*> out;
598  for (auto& [runlumi, meset] : store_->globalMEs_) {
599  auto it = meset.lower_bound(path);
600  while (it != meset.end() && (*it)->getPathname() == path.getDirname()) {
601  store_->debugTrackME("getContents (match)", nullptr, *it);
602  out.push_back(*it);
603  ++it;
604  }
605  }
606  return out;
607  }

References dqm::implementation::DQMStore::booking_mutex_, dqm::implementation::DQMStore::debugTrackME(), MonitorElementData::Path::DIR, dqm::implementation::DQMStore::globalMEs_, CommonMethods::lock(), MillePedeFileConverter_cfg::out, castor_dqm_sourceclient_file_cfg::path, BTVHLTOfflineSource_cfi::pathname, and store_.

Referenced by CommissioningHistograms::copyCustomInformation(), SiStripPopConBadComponentsHandlerFromDQM::dqmEndJob(), SiStripPopConFEDErrorsHandlerFromDQM::dqmEndJob(), HGCalGeometryClient::dqmEndJob(), HGCalHitClient::dqmEndJob(), SusyPostProcessor::dqmEndJob(), CaloTowersDQMClient::dqmEndJob(), HcalNoiseRatesClient::dqmEndJob(), CaloTowersClient::dqmEndJob(), JetMETHLTOfflineClient::dqmEndJob(), HcalRecHitsDQMClient::dqmEndJob(), CommissioningHistograms::extractHistograms(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripQualityChecker::fillSubDetStatus(), SiStripSummaryCreator::fillSummaryHistos(), TrackingCertificationInfo::fillTrackingCertificationMEs(), TrackingCertificationInfo::fillTrackingCertificationMEsAtLumi(), TrackingQualityChecker::fillTrackingStatus(), TrackingQualityChecker::fillTrackingStatusAtLumi(), getMEs(), SiStripSummaryCreator::getSummaryME(), SiStripHistoPlotter::makeCondDBPlots(), SiStripActionExecutor::printFaultyModuleList(), PhotonOfflineClient::retrieveHisto(), HcalDigisClient::runClient(), HGCalDigiClient::runClient_(), HGCalRecHitsClient::runClient_(), HGCalSimHitsClient::runClient_(), NoiseRatesClient::runClient_(), HcalSimHitsClient::runClient_(), CommissioningHistograms::runNumber(), CommissioningHistograms::runType(), and SiStripTrackerMapCreator::setTkMapFromHistogram().

◆ getElement()

MonitorElement * dqm::implementation::IGetter::getElement ( std::string const &  path) const
virtual

Definition at line 670 of file DQMStore.cc.

670  {
671  auto result = this->get(path);
672  if (result == nullptr) {
673  throw cms::Exception("iGetter Error") << "ME " << path << " was requested but not found.";
674  }
675  return result;
676  }

References Exception, get(), castor_dqm_sourceclient_file_cfg::path, and mps_fire::result.

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

◆ getMEs()

std::vector< std::string > dqm::implementation::IGetter::getMEs ( ) const
virtual

Definition at line 698 of file DQMStore.cc.

698  {
699  auto mes = this->getContents(this->cwd_);
700  std::vector<std::string> out;
701  out.reserve(mes.size());
702  for (auto me : mes) {
703  out.push_back(me->getName());
704  }
705  return out;
706  }

References dqm::implementation::NavigatorBase::cwd_, getContents(), hlt_dqm_clientPB-live_cfg::me, and MillePedeFileConverter_cfg::out.

Referenced by L1TTestsSummary::book(), SiPixelDataQuality::computeGlobalQualityFlag(), GEMEfficiencyHarvester::doEfficiency(), GEMEfficiencyHarvester::doResolution(), TriggerRatesMonitorClient::dqmEndJob(), OffsetDQMPostProcessor::dqmEndJob(), PFJetDQMPostProcessor::dqmEndJob(), CSCOfflineClient::dqmEndJob(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiPixelActionExecutor::fillOccupancy(), FastTimerServiceClient::fillPathSummaryPlots(), FastTimerServiceClient::fillPlotsVsLumi(), SiPixelActionExecutor::fillSummary(), ElectronDqmHarvesterBase::find(), SiPixelInformationExtractor::findNoisyPixels(), MuonGEMBaseHarvestor::getElement(), SiPixelActionExecutor::getFEDSummaryME(), SiPixelActionExecutor::getGrandSummaryME(), SiPixelActionExecutor::getSummaryME(), L1TCSCTFClient::processHistograms(), L1TRPCTFClient::processHistograms(), L1TTestsSummary::updateL1TOccupancyMonitor(), L1TTestsSummary::updateL1TRateMonitor(), and L1TTestsSummary::updateL1TSyncMonitor().

◆ getSubdirs()

std::vector< std::string > dqm::implementation::IGetter::getSubdirs ( ) const
virtual

Definition at line 678 of file DQMStore.cc.

678  {
679  // This is terribly inefficient, esp. if this method is then used to
680  // recursively enumerate whatever getAllContents would return anyways.
681  // But that is fine, any such code should just use getAllContents instead.
682  std::set<std::string> subdirs;
683  for (auto me : this->getAllContents(this->cwd_)) {
684  const auto& name = me->getPathname();
685  auto subdirname = name.substr(this->cwd_.length(), std::string::npos);
686  auto dirname = subdirname.substr(0, subdirname.find('/'));
687  subdirs.insert(dirname);
688  }
689  std::vector<std::string> out;
690  for (const auto& dir : subdirs) {
691  if (dir.length() == 0)
692  continue;
693  out.push_back(this->cwd_ + dir);
694  }
695  return out;
696  }

References dqm::implementation::NavigatorBase::cwd_, DeadROC_duringRun::dir, BTVHLTOfflineSource_cfi::dirname, getAllContents(), hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, and MillePedeFileConverter_cfg::out.

Referenced by SiPixelActionExecutor::bookOccupancyPlots(), SiPixelDataQuality::computeGlobalQualityFlag(), SiStripSummaryCreator::createSummary(), EmDQMPostProcessor::dqmEndJob(), EcalCondDBWriter::dqmEndJob(), JetMETDQMPostProcessor::dqmEndJob(), HLTTauPostProcessor::dqmEndJob(), HGCalGeometryClient::dqmEndJob(), HGCalHitClient::dqmEndJob(), TriggerRatesMonitorClient::dqmEndJob(), SusyPostProcessor::dqmEndJob(), JetTesterPostProcessor::dqmEndJob(), METTesterPostProcessor::dqmEndJob(), METTesterPostProcessorHarvesting::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), TrackEfficiencyClient::dqmEndJob(), CaloTowersDQMClient::dqmEndJob(), CaloTowersClient::dqmEndJob(), HcalNoiseRatesClient::dqmEndJob(), JetMETHLTOfflineClient::dqmEndJob(), HcalRecHitsDQMClient::dqmEndJob(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiPixelActionExecutor::fillOccupancy(), FastTimerServiceClient::fillPathSummaryPlots(), FastTimerServiceClient::fillProcessSummaryPlots(), SiStripQualityChecker::fillSubDetStatus(), SiPixelActionExecutor::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), ThroughputServiceClient::fillSummaryPlots(), FastTimerServiceClient::fillSummaryPlots(), DQMGenericTnPClient::findAllSubdirectories(), HLTMuonRefMethod::findAllSubdirectories(), DQMGenericClient::findAllSubdirectories(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelActionExecutor::GetBladeSubdirs(), TrackingUtility::getModuleFolderList(), SiStripUtility::getModuleFolderList(), SiStripSummaryCreator::getSummaryME(), TrackingUtility::goToDir(), SiStripUtility::goToDir(), HcalDigisClient::runClient(), HGCalDigiClient::runClient_(), HGCalRecHitsClient::runClient_(), HGCalSimHitsClient::runClient_(), NoiseRatesClient::runClient_(), HcalSimHitsClient::runClient_(), and SiStripTrackerMapCreator::setTkMapFromHistogram().

Member Data Documentation

◆ store_

DQMStore* dqm::implementation::IGetter::store_
protected

Definition at line 535 of file DQMStore.h.

Referenced by get(), getAllContents(), getContents(), and IGetter().

dqm::implementation::IGetter::getContents
virtual std::vector< dqm::harvesting::MonitorElement * > getContents(std::string const &path) const
Definition: DQMStore.cc:593
reco_skim_cfg_mod.fullpath
fullpath
Definition: reco_skim_cfg_mod.py:202
BTVHLTOfflineSource_cfi.pathname
pathname
Definition: BTVHLTOfflineSource_cfi.py:35
dqm::implementation::NavigatorBase::cwd_
std::string cwd_
Definition: DQMStore.h:40
cms::cuda::assert
assert(be >=bs)
dqm::implementation::IGetter::getAllContents
virtual std::vector< dqm::harvesting::MonitorElement * > getAllContents(std::string const &path) const
Definition: DQMStore.cc:609
convertSQLiteXML.runNumber
runNumber
Definition: convertSQLiteXML.py:91
BTVHLTOfflineSource_cfi.dirname
dirname
Definition: BTVHLTOfflineSource_cfi.py:7
MonitorElementData::Path::Type::DIR_AND_NAME
MonitorElementData::Path::Type::DIR
edm::LuminosityBlockID
Definition: LuminosityBlockID.h:31
CommonMethods.lock
def lock()
Definition: CommonMethods.py:82
dqm::implementation::DQMStore::booking_mutex_
std::recursive_mutex booking_mutex_
Definition: DQMStore.h:706
dqm::implementation::IGetter::store_
DQMStore * store_
Definition: DQMStore.h:535
MonitorElementData::Path
Definition: MonitorElementCollection.h:162
dqm::implementation::DQMStore::debugTrackME
void debugTrackME(const char *message, MonitorElement *me_local, MonitorElement *me_global) const
Definition: DQMStore.cc:279
Exception
Definition: hltDiff.cc:245
dqm::implementation::IGetter::get
virtual MonitorElement * get(std::string const &fullpath) const
Definition: DQMStore.cc:651
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
dqm::implementation::DQMStore::findME
MonitorElement * findME(MELIKE const &path)
Definition: DQMStore.cc:196
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
dqm::implementation::DQMStore::globalMEs_
std::map< edm::LuminosityBlockID, std::set< MonitorElement *, MonitorElement::MEComparison > > globalMEs_
Definition: DQMStore.h:698
mps_fire.result
result
Definition: mps_fire.py:311
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
hlt_dqm_clientPB-live_cfg.me
me
Definition: hlt_dqm_clientPB-live_cfg.py:61
crabWrapper.key
key
Definition: crabWrapper.py:19
lumi
Definition: LumiSectionData.h:20
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23