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

Constructor & Destructor Documentation

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

Definition at line 69 of file HLTPerformanceInfo.h.

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

Member Function Documentation

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

Definition at line 96 of file HLTPerformanceInfo.h.

References moduleView_.

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

Definition at line 100 of file HLTPerformanceInfo.h.

References moduleView_.

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

Definition at line 103 of file HLTPerformanceInfo.h.

References moduleView_.

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

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

Definition at line 106 of file HLTPerformanceInfo.h.

References moduleView_.

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

Definition at line 110 of file HLTPerformanceInfo.h.

References moduleView_.

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

Definition at line 88 of file HLTPerformanceInfo.h.

References name(), and AlCaHLTBitMon_QueryRunRegistry::string.

88  {
89  return (std::string(tname) == name());
90  }
static char const * tname
Definition: GTSchema.h:13
std::string name() const
const size_t HLTPerformanceInfo::Path::operator[] ( size_t  m) const
inline

Definition at line 92 of file HLTPerformanceInfo.h.

References moduleView_.

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

Definition at line 77 of file HLTPerformanceInfo.h.

References query::result, and status_.

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

Definition at line 81 of file HLTPerformanceInfo.h.

References status_.

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

Member Data Documentation

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

Definition at line 64 of file HLTPerformanceInfo.h.

Referenced by name().

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

Definition at line 66 of file HLTPerformanceInfo.h.

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