test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ProcessMatch.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_ProcessMatch_h
2 #define FWCore_Framework_ProcessMatch_h
3 
14 
15 #include <string>
16 
17 namespace edm {
18 
19  class ProcessMatch {
20  public:
21 
22  ProcessMatch(std::string const& processName) : processName_(processName) { }
23 
24  bool operator()(edm::BranchDescription const& branchDescription) {
25  return branchDescription.processName() == processName_ || processName_ == "*";
26  }
27 
28  private:
30  };
31 }
32 #endif
std::string const & processName() const
bool operator()(edm::BranchDescription const &branchDescription)
Definition: ProcessMatch.h:24
std::string processName_
Definition: ProcessMatch.h:29
ProcessMatch(std::string const &processName)
Definition: ProcessMatch.h:22