CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
HLTPerformanceInfo::Path Class Reference

#include <HLTPerformanceInfo.h>

Public Member Functions

void addModuleRef (size_t m)
 
ModulesInPath::const_iterator begin ()
 
void clear ()
 
ModulesInPath::const_iterator end ()
 
size_t getModuleIndex (size_t j) const
 
std::string name () const
 
size_t numberOfModules () const
 
bool operator== (const char *tname)
 
const size_t operator[] (size_t m) const
 
 Path (const std::string n="unknown")
 
void setStatus (const edm::HLTPathStatus &result)
 
edm::HLTPathStatus status () const
 

Private Attributes

ModulesInPath moduleView_
 
std::string name_
 
edm::HLTPathStatus status_
 

Detailed Description

Definition at line 55 of file HLTPerformanceInfo.h.

Constructor & Destructor Documentation

◆ Path()

HLTPerformanceInfo::Path::Path ( const std::string  n = "unknown")
inline

Definition at line 62 of file HLTPerformanceInfo.h.

62 : name_(n), moduleView_(), status_() {}

Member Function Documentation

◆ addModuleRef()

void HLTPerformanceInfo::Path::addModuleRef ( size_t  m)
inline

Definition at line 75 of file HLTPerformanceInfo.h.

75 { moduleView_.push_back(m); }

References visualization-live-secondInstance_cfg::m, and moduleView_.

◆ begin()

ModulesInPath::const_iterator HLTPerformanceInfo::Path::begin ( void  )
inline

Definition at line 77 of file HLTPerformanceInfo.h.

77 { return moduleView_.begin(); }

References moduleView_.

◆ clear()

void HLTPerformanceInfo::Path::clear ( void  )
inline

Definition at line 67 of file HLTPerformanceInfo.h.

67  {
68  status_.reset();
69  // time is dynamic, nothing to reset
70  }

References edm::HLTPathStatus::reset(), and status_.

Referenced by BeautifulSoup.Tag::setString().

◆ end()

ModulesInPath::const_iterator HLTPerformanceInfo::Path::end ( void  )
inline

Definition at line 78 of file HLTPerformanceInfo.h.

78 { return moduleView_.end(); }

References moduleView_.

Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().

◆ getModuleIndex()

size_t HLTPerformanceInfo::Path::getModuleIndex ( size_t  j) const
inline

Definition at line 79 of file HLTPerformanceInfo.h.

79 { return moduleView_.at(j); }

References dqmiolumiharvest::j, and moduleView_.

◆ name()

std::string HLTPerformanceInfo::Path::name ( ) const
inline

◆ numberOfModules()

size_t HLTPerformanceInfo::Path::numberOfModules ( ) const
inline

Definition at line 81 of file HLTPerformanceInfo.h.

81 { return moduleView_.size(); };

References moduleView_.

◆ operator==()

bool HLTPerformanceInfo::Path::operator== ( const char *  tname)
inline

Definition at line 71 of file HLTPerformanceInfo.h.

71 { return (std::string(tname) == name()); }

References name(), AlCaHLTBitMon_QueryRunRegistry::string, and tname().

◆ operator[]()

const size_t HLTPerformanceInfo::Path::operator[] ( size_t  m) const
inline

Definition at line 73 of file HLTPerformanceInfo.h.

73 { return moduleView_.at(m); }

References visualization-live-secondInstance_cfg::m, and moduleView_.

◆ setStatus()

void HLTPerformanceInfo::Path::setStatus ( const edm::HLTPathStatus result)
inline

Definition at line 64 of file HLTPerformanceInfo.h.

64 { status_ = result; }

References mps_fire::result, and status_.

◆ status()

edm::HLTPathStatus HLTPerformanceInfo::Path::status ( ) const
inline

Definition at line 66 of file HLTPerformanceInfo.h.

66 { return status_; }

References status_.

Member Data Documentation

◆ moduleView_

ModulesInPath HLTPerformanceInfo::Path::moduleView_
private

◆ name_

std::string HLTPerformanceInfo::Path::name_
private

Definition at line 57 of file HLTPerformanceInfo.h.

Referenced by name().

◆ status_

edm::HLTPathStatus HLTPerformanceInfo::Path::status_
private

Definition at line 59 of file HLTPerformanceInfo.h.

Referenced by clear(), setStatus(), and status().

dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
HLTPerformanceInfo::Path::moduleView_
ModulesInPath moduleView_
Definition: HLTPerformanceInfo.h:58
HLTPerformanceInfo::Path::name_
std::string name_
Definition: HLTPerformanceInfo.h:57
HLTPerformanceInfo::Path::status_
edm::HLTPathStatus status_
Definition: HLTPerformanceInfo.h:59
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::HLTPathStatus::reset
void reset()
reset this path
Definition: HLTPathStatus.h:54
HLTPerformanceInfo::Path::name
std::string name() const
Definition: HLTPerformanceInfo.h:63
tname
std::string tname(const std::string &tableName, const std::string &schemaVersion)
Definition: CredentialStore.cc:150
mps_fire.result
result
Definition: mps_fire.py:311
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66