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