CMS 3D CMS Logo

Public Member Functions | Protected Attributes

SiStripBaseServiceFromDQM< T >::StringNotMatch Struct Reference

#include <SiStripBaseServiceFromDQM.h>

List of all members.

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.

                                           :
      name_(name)
    {
    }

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_.

    {
      return( ME->getName().find(name_) == std::string::npos );
    }

Member Data Documentation

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