/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/Framework/interface/ModuleLabelMatch.h
31 строка
744 B
Christopher Jones
Renamed BranchDescription to ProductDescription
25 янв 2025, 01:05
25 янв 2025, 01:05
73afa2d
Код
Авторство
О чём код?
#ifndef FWCore_Framework_ModuleLabelMatch_h #define FWCore_Framework_ModuleLabelMatch_h /** \class edm::ModuleLabelMatch This is intended to be used with the class GetterOfProducts. See comments in the file GetterOfProducts.h for a description. \author W. David Dagenhart, created 6 August, 2012 */ #include "DataFormats/Provenance/interface/ProductDescription.h" #include <string> namespace edm { class ModuleLabelMatch { public: ModuleLabelMatch(std::string const& moduleLabel) : moduleLabel_(moduleLabel) {} bool operator()(edm::ProductDescription const& productDescription) { return productDescription.moduleLabel() == moduleLabel_; } private: std::string moduleLabel_; }; } // namespace edm #endif