CMS 3D CMS Logo

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

#include <ModuleLabelMatch.h>

Public Member Functions

 ModuleLabelMatch (std::string const &moduleLabel)
 
bool operator() (edm::BranchDescription const &branchDescription)
 

Private Attributes

std::string moduleLabel_
 

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 ModuleLabelMatch.h.

Constructor & Destructor Documentation

◆ ModuleLabelMatch()

edm::ModuleLabelMatch::ModuleLabelMatch ( std::string const &  moduleLabel)
inline

Definition at line 21 of file ModuleLabelMatch.h.

Member Function Documentation

◆ operator()()

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

Definition at line 23 of file ModuleLabelMatch.h.

23  {
24  return branchDescription.moduleLabel() == moduleLabel_;
25  }

References edm::BranchDescription::moduleLabel(), and moduleLabel_.

Member Data Documentation

◆ moduleLabel_

std::string edm::ModuleLabelMatch::moduleLabel_
private
edm::ModuleLabelMatch::moduleLabel_
std::string moduleLabel_
Definition: ModuleLabelMatch.h:28
HerwigMaxPtPartonFilter_cfi.moduleLabel
moduleLabel
Definition: HerwigMaxPtPartonFilter_cfi.py:4