CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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:
22 
23  bool operator()(edm::BranchDescription const& branchDescription) {
24  return branchDescription.processName() == processName_ || processName_ == "*";
25  }
26 
27  private:
29  };
30 } // namespace edm
31 #endif
std::string const & processName() const
bool operator()(edm::BranchDescription const &branchDescription)
Definition: ProcessMatch.h:23
std::string processName_
Definition: ProcessMatch.h:28
ProcessMatch(std::string const &processName)
Definition: ProcessMatch.h:21