CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
SiStripBaseServiceFromDQM< T >::StringNotMatch Struct Reference

#include <SiStripBaseServiceFromDQM.h>

Public Member Functions

bool operator() (const MonitorElement *ME) const
 
 StringNotMatch (const std::string &name)
 

Protected Attributes

std::string name_
 

Detailed Description

template<class T>
struct SiStripBaseServiceFromDQM< T >::StringNotMatch

Definition at line 65 of file SiStripBaseServiceFromDQM.h.

Constructor & Destructor Documentation

template<class T>
SiStripBaseServiceFromDQM< T >::StringNotMatch::StringNotMatch ( const std::string &  name)
inline

Definition at line 67 of file SiStripBaseServiceFromDQM.h.

67  :
68  name_(name)
69  {
70  }

Member Function Documentation

template<class T>
bool SiStripBaseServiceFromDQM< T >::StringNotMatch::operator() ( const MonitorElement ME) const
inline

Definition at line 71 of file SiStripBaseServiceFromDQM.h.

References MonitorElement::getName(), and SiStripBaseServiceFromDQM< T >::StringNotMatch::name_.

72  {
73  return( ME->getName().find(name_) == std::string::npos );
74  }
const std::string & getName(void) const
get name of ME

Member Data Documentation

template<class T>
std::string SiStripBaseServiceFromDQM< T >::StringNotMatch::name_
protected