Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
FWCore
Framework
interface
ProcessMatch.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_ProcessMatch_h
2
#define FWCore_Framework_ProcessMatch_h
3
13
#include "
DataFormats/Provenance/interface/BranchDescription.h
"
14
15
#include <string>
16
17
namespace
edm {
18
19
class
ProcessMatch
{
20
public
:
21
ProcessMatch
(
std::string
const
&
processName
) :
processName_
(processName) {}
22
23
bool
operator()
(
edm::BranchDescription
const
& branchDescription) {
24
return
branchDescription.
processName
() ==
processName_
||
processName_
==
"*"
;
25
}
26
27
private
:
28
std::string
processName_
;
29
};
30
}
// namespace edm
31
#endif
edm::BranchDescription::processName
std::string const & processName() const
Definition:
BranchDescription.h:73
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
FSQHLTOfflineSource_cfi.processName
string processName
Definition:
FSQHLTOfflineSource_cfi.py:600
edm::ProcessMatch::operator()
bool operator()(edm::BranchDescription const &branchDescription)
Definition:
ProcessMatch.h:23
edm::ProcessMatch
Definition:
ProcessMatch.h:19
BranchDescription.h
edm::ProcessMatch::processName_
std::string processName_
Definition:
ProcessMatch.h:28
edm::ProcessMatch::ProcessMatch
ProcessMatch(std::string const &processName)
Definition:
ProcessMatch.h:21
edm::BranchDescription
Definition:
BranchDescription.h:32
Generated for CMSSW Reference Manual by
1.8.5