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 331 of file DQMStore.cc.

331  {
333 }
bool containsAnyMonitorable(const std::string &path) const
Definition: DQMStore.cc:1775
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(), L1TTestsSummary::book(), L1TEfficiencyPlotHandler::book(), L1TEventInfoClient::book(), HeavyFlavorHarvesting::calculateEfficiency(), 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(), MuonGEMHitsHarvestor::dqmEndJob(), MuonGEMDigisHarvestor::dqmEndJob(), RPCEfficiencyShiftHisto::dqmEndJob(), L1EmulatorErrorFlagClient::dqmEndJob(), SusyPostProcessor::dqmEndJob(), JetTesterPostProcessor::dqmEndJob(), METTesterPostProcessorHarvesting::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), EfficiencyPlotter::dqmEndJob(), DTCertificationSummary::dqmEndJob(), DTOfflineSummaryClients::dqmEndJob(), DQMScaleToClient::dqmEndJob(), MuonAlignmentSummary::dqmEndJob(), EcalZmassClient::dqmEndJob(), MuonTrackResidualsTest::dqmEndJob(), DTLocalTriggerSynchTest::dqmEndJob(), MuonRecoTest::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(), hcaldqm::RawRunSummary::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(), 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(), 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(), 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(), MuonGEMHitsHarvestor::ProcessBooking(), MuonGEMDigisHarvestor::ProcessBooking(), L1TStage2CaloLayer2DEClient::processHistograms(), L1TCSCTFClient::processHistograms(), L1TGCTClient::processHistograms(), L1TRPCTFClient::processHistograms(), DTBlockedROChannelsTest::DTRobBinsMap::readNewValues(), L1TEventInfoClient::readQtResults(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), MuonTestSummary::ResidualCheck(), ecaldqm::MESetNonObject::retrieve(), ecaldqm::MESetEcal::retrieve(), PhotonOfflineClient::runClient(), DTLocalTriggerTest::runClientDiagnostic(), DTLocalTriggerLutTest::runClientDiagnostic(), DTLocalTriggerTPTest::runClientDiagnostic(), DTTriggerLutTest::runClientDiagnostic(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), DTLocalTriggerSynchTest::runClientDiagnostic(), DTTriggerEfficiencyTest::runClientDiagnostic(), L1EmulatorErrorFlagClient::setSummary(), 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(), 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. &quot;my/long/dir/my_histo&quot;)
Definition: DQMStore.cc:1785
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 }
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:1998
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 visualization-live-secondInstance_cfg::msg, and fed_dqm_sourceclient-live_cfg::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(), SusyPostProcessor::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), METTesterPostProcessor::dqmEndJob(), METTesterPostProcessorHarvesting::dqmEndJob(), JetTesterPostProcessor::dqmEndJob(), CaloTowersClient::dqmEndJob(), CaloTowersDQMClient::dqmEndJob(), HcalNoiseRatesClient::dqmEndJob(), JetMETHLTOfflineClient::dqmEndJob(), HcalRecHitsDQMClient::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_(), and HcalSimHitsClient::runClient_().

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

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().