/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/Framework/interface/ProcessMatch.h
31 строка
747 B
Christopher Jones
Renamed BranchDescription to ProductDescription
25 янв 2025, 01:05
25 янв 2025, 01:05
73afa2d
Код
Авторство
О чём код?
#ifndef FWCore_Framework_ProcessMatch_h #define FWCore_Framework_ProcessMatch_h /** \class edm::ProcessMatch 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 ProcessMatch { public: ProcessMatch(std::string const& processName) : processName_(processName) {} bool operator()(edm::ProductDescription const& productDescription) { return productDescription.processName() == processName_ || processName_ == "*"; } private: std::string processName_; }; } // namespace edm #endif