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)
 
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 219 of file DQMStore.h.

References assert(), and owner_.

219  :owner_(0) {
220  assert(store);
221  owner_ = store;
222  }
assert(m_qm.get())
DQMStore * owner_
Definition: DQMStore.h:230
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 314 of file DQMStore.cc.

314  {
316 }
bool containsAnyMonitorable(const std::string &path) const
Definition: DQMStore.cc:1750
tuple path
else: Piece not in the list, fine.
DQMStore * owner_
Definition: DQMStore.h:230
bool DQMStore::IGetter::dirExists ( const std::string &  path)
MonitorElement * DQMStore::IGetter::get ( const std::string &  path)

Definition at line 302 of file DQMStore.cc.

Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), HcalDigiClient::analyze(), HcalRecHitClient::analyze(), HcalSummaryClient::analyze(), L1TTestsSummary::book(), L1TEfficiencyPlotHandler::book(), L1TEventInfoClient::book(), HeavyFlavorHarvesting::calculateEfficiency(), HcalTrigPrimClient::calculateProblems(), HcalBeamClient::calculateProblems(), HcalCoarsePedestalClient::calculateProblems(), HcalDetDiagLaserClient::calculateProblems(), HcalDetDiagPedestalClient::calculateProblems(), HcalDigiClient::calculateProblems(), HcalHotCellClient::calculateProblems(), HcalDeadCellClient::calculateProblems(), HcalRawDataClient::calculateProblems(), HcalDataCertification::CertifyHcal(), TrackingAnalyser::checkTrackerFEDsInLS(), TrackingAnalyser::checkTrackerFEDsWdataInLS(), RPCEventSummary::clientOperation(), rrapi.RRApi::columns(), L1TEfficiencyPlotHandler::computeEfficiency(), DQMGenericClient::computeEfficiency(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelDataQuality::computeGlobalQualityFlagByLumi(), DQMGenericClient::computeProfile(), DQMGenericClient::computeResolution(), rrapi.RRApi::count(), PFClient_JetRes::createEfficiencyPlots(), PFClient::createEfficiencyPlots(), PFClient::createProfilePlots(), PFClient::createProjectionPlots(), PFClient_JetRes::createResolutionPlots(), PFClient::createResolutionPlots(), rrapi.RRApi::data(), MuonTestSummary::doEnergyTests(), MuonTestSummary::doKinematicsTests(), MuonTestSummary::doMultiplicityTests(), MuonTestSummary::doMuonIDTests(), MuonTestSummary::doResidualsTests(), HltSusyExoPostProcessor::dqmEndJob(), EcalCondDBWriter::dqmEndJob(), TrackingDQMClientHeavyIons::dqmEndJob(), RPCEfficiencyPerRingLayer::dqmEndJob(), RPCRecHitValidClient::dqmEndJob(), RPCRecHitProbabilityClient::dqmEndJob(), DQMExample_Step2::dqmEndJob(), HLTTauCertifier::dqmEndJob(), DQMHcalIsoTrackPostProcessor::dqmEndJob(), RPCEfficiencySecond::dqmEndJob(), RPCEfficiencyShiftHisto::dqmEndJob(), L1EmulatorErrorFlagClient::dqmEndJob(), SusyPostProcessor::dqmEndJob(), JetTesterPostProcessor::dqmEndJob(), METTesterPostProcessorHarvesting::dqmEndJob(), SiPixelCertification::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), EfficiencyPlotter::dqmEndJob(), DTCertificationSummary::dqmEndJob(), DTOfflineSummaryClients::dqmEndJob(), EcalZmassClient::dqmEndJob(), MuonTrackResidualsTest::dqmEndJob(), MuonRecoTest::dqmEndJob(), DTLocalTriggerSynchTest::dqmEndJob(), TrackEfficiencyClient::dqmEndJob(), DTResolutionAnalysisTest::dqmEndJob(), DTChamberEfficiencyClient::dqmEndJob(), DTSegmentAnalysisTest::dqmEndJob(), HLTMuonCertSummary::dqmEndJob(), CSCOfflineClient::dqmEndJob(), RPCDcsInfoClient::dqmEndLuminosityBlock(), SiPixelCertification::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(), SiPixelActionExecutor::fillDeviations(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), DTLocalTriggerTest::fillGlobalSummary(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), METTesterPostProcessor::FillMETRes(), RPCChamberQuality::fillMonitorElements(), SiPixelActionExecutor::fillOccupancy(), FastTimerServiceClient::fillPathSummaryPlots(), FastTimerServiceClient::fillProcessSummaryPlots(), ESSummaryClient::fillReportSummary(), HcalSummaryClient::fillReportSummary(), HcalSummaryClient::fillReportSummaryLSbyLS(), SiPixelActionExecutor::fillSummary(), FastTimerServiceClient::fillSummaryPlots(), ThroughputServiceClient::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(), DQMGenericClient::makeCumulativeDist(), PlotCombiner::makePlot(), DQMGenericClient::normalizeToEntries(), DTBlockedROChannelsTest::performClientDiagnostic(), DTSegmentAnalysisTest::performClientDiagnostic(), RPCChamberQuality::performeClientOperation(), HLTTauPostProcessor::plotFilterEfficiencies(), TrackingActionExecutor::printShiftHistoParameters(), L1TCSCTFClient::processHistograms(), L1TGCTClient::processHistograms(), L1TRPCTFClient::processHistograms(), DTBlockedROChannelsTest::DTRobBinsMap::readNewValues(), L1TEventInfoClient::readQtResults(), rrapi.RRApi::report(), 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(), HcalSummaryClient::setup(), HcalCoarsePedestalClient::setupCoarsePedestal(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), TrackIPHistograms< T >::TrackIPHistograms(), L1TTestsSummary::updateL1TOccupancyMonitor(), L1TTestsSummary::updateL1TRateMonitor(), L1TTestsSummary::updateL1TSyncMonitor(), HcalDetDiagLaserClient::validHtmlOutput(), HcalDetDiagLEDClient::validHtmlOutput(), HcalDetDiagPedestalClient::validHtmlOutput(), and rrapi.RRApi::workspaces().

302  {
303  return owner_->get(path);
304 }
tuple path
else: Piece not in the list, fine.
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. &quot;my/long/dir/my_histo&quot;)
Definition: DQMStore.cc:1760
DQMStore * owner_
Definition: DQMStore.h:230
std::vector< MonitorElement * > DQMStore::IGetter::getAllContents ( const std::string &  path,
uint32_t  runNumber = 0,
uint32_t  lumi = 0 
)

Definition at line 296 of file DQMStore.cc.

Referenced by HcalBaseDQClient::htmlOutput().

298  {
300 }
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:1973
tuple path
else: Piece not in the list, fine.
DQMStore * owner_
Definition: DQMStore.h:230
template<typename... Args>
std::vector<MonitorElement *> DQMStore::IGetter::getContents ( Args &&...  args)
inline
std::vector< std::string > DQMStore::IGetter::getMEs ( void  )
std::vector< std::string > DQMStore::IGetter::getSubdirs ( void  )

Definition at line 306 of file DQMStore.cc.

Referenced by SiPixelActionExecutor::bookOccupancyPlots(), SiPixelDataQuality::computeGlobalQualityFlag(), EmDQMPostProcessor::dqmEndJob(), EcalCondDBWriter::dqmEndJob(), JetMETDQMPostProcessor::dqmEndJob(), HLTTauPostProcessor::dqmEndJob(), SusyPostProcessor::dqmEndJob(), JetTesterPostProcessor::dqmEndJob(), METTesterPostProcessor::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), METTesterPostProcessorHarvesting::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(), FastTimerServiceClient::fillSummaryPlots(), ThroughputServiceClient::fillSummaryPlots(), DQMGenericClient::findAllSubdirectories(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelActionExecutor::GetBladeSubdirs(), TrackingUtility::getModuleFolderList(), TrackingUtility::goToDir(), HcalDigisClient::runClient(), NoiseRatesClient::runClient_(), HcalRecHitsClient::runClient_(), and HcalSimHitsClient::runClient_().

306  {
307  return owner_->getSubdirs();
308 }
std::vector< std::string > getSubdirs(void) const
Definition: DQMStore.cc:1711
DQMStore * owner_
Definition: DQMStore.h:230
template<typename... Args>
void DQMStore::IGetter::removeElement ( Args &&...  args)
inline
void DQMStore::IGetter::setCurrentFolder ( const std::string &  fullpath)

Definition at line 330 of file DQMStore.cc.

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

330  {
331  owner_->setCurrentFolder(fullpath);
332 }
DQMStore * owner_
Definition: DQMStore.h:230
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:719

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 230 of file DQMStore.h.

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