CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::ProcessMatch Class Reference

#include <ProcessMatch.h>

Public Member Functions

bool operator() (edm::BranchDescription const &branchDescription)
 
 ProcessMatch (std::string const &processName)
 

Private Attributes

std::string processName_
 

Detailed Description

This is intended to be used with the class GetterOfProducts. See comments in the file GetterOfProducts.h for a description.

Author
W. David Dagenhart, created 6 August, 2012

Definition at line 19 of file ProcessMatch.h.

Constructor & Destructor Documentation

edm::ProcessMatch::ProcessMatch ( std::string const &  processName)
inline

Definition at line 21 of file ProcessMatch.h.

Member Function Documentation

bool edm::ProcessMatch::operator() ( edm::BranchDescription const &  branchDescription)
inline

Definition at line 23 of file ProcessMatch.h.

References edm::BranchDescription::processName(), and processName_.

23  {
24  return branchDescription.processName() == processName_ || processName_ == "*";
25  }
std::string processName_
Definition: ProcessMatch.h:28

Member Data Documentation

std::string edm::ProcessMatch::processName_
private

Definition at line 28 of file ProcessMatch.h.

Referenced by operator()().