CMS 3D CMS Logo

ModuleLabelMatch.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_ModuleLabelMatch_h
2 #define FWCore_Framework_ModuleLabelMatch_h
3 
14 
15 #include <string>
16 
17 namespace edm {
18 
20  public:
21 
22  ModuleLabelMatch(std::string const& moduleLabel) : moduleLabel_(moduleLabel) { }
23 
24  bool operator()(edm::BranchDescription const& branchDescription) {
25  return branchDescription.moduleLabel() == moduleLabel_;
26  }
27 
28  private:
30  };
31 }
32 #endif
bool operator()(edm::BranchDescription const &branchDescription)
std::string const & moduleLabel() const
HLT enums.
ModuleLabelMatch(std::string const &moduleLabel)