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

Constructor & Destructor Documentation

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

Definition at line 215 of file DQMStore.h.

References owner_.

215  :owner_(0) {
216  assert(store);
217  owner_ = store;
218  }
DQMStore * owner_
Definition: DQMStore.h:226
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 303 of file DQMStore.cc.

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

Definition at line 291 of file DQMStore.cc.

Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), HcalDataCertification::CertifyHcal(), rrapi.RRApi::columns(), DQMGenericClient::computeEfficiency(), DQMGenericClient::computeResolution(), rrapi.RRApi::count(), rrapi.RRApi::data(), MuonTestSummary::doEnergyTests(), MuonTestSummary::doKinematicsTests(), MuonTestSummary::doMultiplicityTests(), MuonTestSummary::doMuonIDTests(), MuonTestSummary::doResidualsTests(), EcalCondDBWriter::dqmEndJob(), DQMExample_Step2::dqmEndJob(), DQMHcalIsoTrackPostProcessor::dqmEndJob(), SusyPostProcessor::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), EfficiencyPlotter::dqmEndJob(), EcalZmassClient::dqmEndJob(), MuonTrackResidualsTest::dqmEndJob(), MuonRecoTest::dqmEndJob(), HLTMuonCertSummary::dqmEndJob(), CSCOfflineClient::dqmEndJob(), FastTimerServiceClient::fillPathSummaryPlots(), FastTimerServiceClient::fillProcessSummaryPlots(), FastTimerServiceClient::fillSummaryPlots(), ThroughputServiceClient::fillSummaryPlots(), FlavourHistograms< T >::FlavourHistograms(), FlavourHistograms2D< T, G >::FlavourHistograms2D(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), EmDQMPostProcessor::getHistogram(), betterConfigParser.BetterConfigParser::getResultingSection(), DQMGenericClient::makeCumulativeDist(), DQMGenericClient::normalizeToEntries(), HLTTauPostProcessor::plotFilterEfficiencies(), rrapi.RRApi::report(), rrapi.RRApi::reports(), MuonTestSummary::ResidualCheck(), ecaldqm::MESetNonObject::retrieve(), ecaldqm::MESetEcal::retrieve(), PhotonOfflineClient::runClient(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), TrackIPHistograms< T >::TrackIPHistograms(), and rrapi.RRApi::workspaces().

291  {
292  return owner_->get(path);
293 }
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:1718
DQMStore * owner_
Definition: DQMStore.h:226
template<typename... Args>
std::vector<MonitorElement *> DQMStore::IGetter::getContents ( Args &&...  args)
inline
std::vector< std::string > DQMStore::IGetter::getMEs ( void  )

Definition at line 299 of file DQMStore.cc.

Referenced by CSCOfflineClient::dqmEndJob().

299  {
300  return owner_->getMEs();
301 }
std::vector< std::string > getMEs(void) const
get list of (non-dir) MEs of current directory
Definition: DQMStore.cc:1692
DQMStore * owner_
Definition: DQMStore.h:226
std::vector< std::string > DQMStore::IGetter::getSubdirs ( void  )
template<typename... Args>
void DQMStore::IGetter::removeElement ( Args &&...  args)
inline

Definition at line 201 of file DQMStore.h.

References ExtractAppInfoFromXML::args, owner_, and DQMStore::removeElement().

Referenced by PhotonOfflineClient::runClient().

201  {
202  return owner_->removeElement(std::forward<Args>(args)...);
203  }
void removeElement(const std::string &name)
Definition: DQMStore.cc:3159
DQMStore * owner_
Definition: DQMStore.h:226
void DQMStore::IGetter::setCurrentFolder ( const std::string &  fullpath)

Friends And Related Function Documentation

friend class DQMStore
friend

Definition at line 192 of file DQMStore.h.

Member Data Documentation

DQMStore* DQMStore::IGetter::owner_
private

Definition at line 226 of file DQMStore.h.

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