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 22 of file ProcessMatch.h.

Member Function Documentation

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

Definition at line 24 of file ProcessMatch.h.

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

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

Member Data Documentation

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

Definition at line 29 of file ProcessMatch.h.

Referenced by operator()().