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
ModuleLabelMatch
(
std::string
const
&
moduleLabel
) :
moduleLabel_
(
moduleLabel
) {}
22
23
bool
operator()
(
edm::BranchDescription
const
& branchDescription) {
24
return
branchDescription.
moduleLabel
() ==
moduleLabel_
;
25
}
26
27
private
:
28
std::string
moduleLabel_
;
29
};
30
}
// namespace edm
31
#endif
edm::ModuleLabelMatch::operator()
bool operator()(edm::BranchDescription const &branchDescription)
Definition:
ModuleLabelMatch.h:23
HerwigMaxPtPartonFilter_cfi.moduleLabel
moduleLabel
Definition:
HerwigMaxPtPartonFilter_cfi.py:4
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ModuleLabelMatch
Definition:
ModuleLabelMatch.h:19
BranchDescription.h
edm::BranchDescription
Definition:
BranchDescription.h:32
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ModuleLabelMatch::moduleLabel_
std::string moduleLabel_
Definition:
ModuleLabelMatch.h:28
edm::ModuleLabelMatch::ModuleLabelMatch
ModuleLabelMatch(std::string const &moduleLabel)
Definition:
ModuleLabelMatch.h:21
edm::BranchDescription::moduleLabel
std::string const & moduleLabel() const
Definition:
BranchDescription.h:72
Generated for CMSSW Reference Manual by
1.8.14