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 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 63 of file HLTPerformanceInfo.h.

Constructor & Destructor Documentation

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

Definition at line 70 of file HLTPerformanceInfo.h.

70  :
71  name_(n),
72  moduleView_(),
73  status_()
74  {}
edm::HLTPathStatus status_

Member Function Documentation

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

Definition at line 97 of file HLTPerformanceInfo.h.

References moduleView_.

97  {
98  moduleView_.push_back(m);
99  }
ModulesInPath::const_iterator HLTPerformanceInfo::Path::begin ( void  )
inline

Definition at line 101 of file HLTPerformanceInfo.h.

References moduleView_.

101  {
102  return moduleView_.begin();
103  }
void HLTPerformanceInfo::Path::clear ( void  )
inline
ModulesInPath::const_iterator HLTPerformanceInfo::Path::end ( void  )
inline

Definition at line 104 of file HLTPerformanceInfo.h.

References moduleView_.

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

104  {
105  return moduleView_.end();
106  }
size_t HLTPerformanceInfo::Path::getModuleIndex ( size_t  j) const
inline

Definition at line 107 of file HLTPerformanceInfo.h.

References moduleView_.

107  {
108  return moduleView_.at(j);
109  }
int j
Definition: DBlmapReader.cc:9
std::string HLTPerformanceInfo::Path::name ( ) const
inline
size_t HLTPerformanceInfo::Path::numberOfModules ( ) const
inline

Definition at line 111 of file HLTPerformanceInfo.h.

References moduleView_.

111 { return moduleView_.size(); };
bool HLTPerformanceInfo::Path::operator== ( const char *  tname)
inline

Definition at line 89 of file HLTPerformanceInfo.h.

References name(), and AlCaHLTBitMon_QueryRunRegistry::string.

89  {
90  return (std::string(tname) == name());
91  }
std::string name() const
const size_t HLTPerformanceInfo::Path::operator[] ( size_t  m) const
inline

Definition at line 93 of file HLTPerformanceInfo.h.

References moduleView_.

93  {
94  return moduleView_.at(m);
95  }
void HLTPerformanceInfo::Path::setStatus ( const edm::HLTPathStatus result)
inline

Definition at line 78 of file HLTPerformanceInfo.h.

References query::result, and status_.

78  {
79  status_ = result;
80  }
edm::HLTPathStatus status_
tuple result
Definition: query.py:137
edm::HLTPathStatus HLTPerformanceInfo::Path::status ( ) const
inline

Definition at line 82 of file HLTPerformanceInfo.h.

References status_.

82  {
83  return status_;
84  }
edm::HLTPathStatus status_

Member Data Documentation

ModulesInPath HLTPerformanceInfo::Path::moduleView_
private
std::string HLTPerformanceInfo::Path::name_
private

Definition at line 65 of file HLTPerformanceInfo.h.

Referenced by name().

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

Definition at line 67 of file HLTPerformanceInfo.h.

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