1 #ifndef FWCore_Framework_WillGetIfMatch_h 2 #define FWCore_Framework_WillGetIfMatch_h 22 class WillGetIfMatch {
32 if (
match_(branchDescription)){
33 auto transition = branchDescription.
branchType();
40 return module_->template consumes<T,edm::InLumi>(
tag);
42 return module_->template consumes<T,edm::InRun>(
tag);
49 std::function<bool(BranchDescription const&)>
match_;
BranchType const & branchType() const
std::string const & processName() const
WillGetIfMatch(U const &match, EDConsumerBase *module)
std::string const & moduleLabel() const
std::string const & productInstanceName() const
std::function< bool(BranchDescription const &)> match_
EDGetTokenT< T > operator()(BranchDescription const &branchDescription)
std::string match(BranchDescription const &a, BranchDescription const &b, std::string const &fileName)