CMS 3D CMS Logo

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
edm::ProcessMatch
Definition: ProcessMatch.h:19
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::ProcessMatch::ProcessMatch
ProcessMatch(std::string const &processName)
Definition: ProcessMatch.h:21
edm::BranchDescription::processName
std::string const & processName() const
Definition: BranchDescription.h:73
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
BranchDescription.h
edm::ProcessMatch::operator()
bool operator()(edm::BranchDescription const &branchDescription)
Definition: ProcessMatch.h:23
edm::ProcessMatch::processName_
std::string processName_
Definition: ProcessMatch.h:28
SimL1EmulatorRepack_CalouGT_cff.processName
processName
Definition: SimL1EmulatorRepack_CalouGT_cff.py:17
edm::BranchDescription
Definition: BranchDescription.h:32