1 #ifndef EcalDQMonitor_H 2 #define EcalDQMonitor_H 34 template <
typename FuncOnWorker>
35 void executeOnWorkers_(FuncOnWorker,
45 template <
typename FuncOnWorker>
46 void EcalDQMonitor::executeOnWorkers_(FuncOnWorker _func,
49 int _verbThreshold ) {
50 std::for_each(workers_.begin(), workers_.end(), [&](
DQWorker *worker) {
51 if (verbosity_ > _verbThreshold && !_message.empty())
52 edm::LogInfo(
"EcalDQM") << moduleName_ <<
": " << _message <<
" @ " << worker->getName();
56 edm::LogError(
"EcalDQM") << moduleName_ <<
": Exception in " << _context <<
" @ " << worker->getName();
std::string const moduleName_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< DQWorker * > workers_