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  ModuleLabelMatch(std::string const& moduleLabel) : moduleLabel_(moduleLabel) {}
22 
23  bool operator()(edm::BranchDescription const& branchDescription) {
24  return branchDescription.moduleLabel() == moduleLabel_;
25  }
26 
27  private:
29  };
30 } // namespace edm
31 #endif
bool operator()(edm::BranchDescription const &branchDescription)
std::string const & moduleLabel() const
HLT enums.
ModuleLabelMatch(std::string const &moduleLabel)