1 #ifndef DQMOFFLINE_TRIGGER_DEBUGFUNCS
2 #define DQMOFFLINE_TRIGGER_DEBUGFUNCS
27 template <
typename PROD>
32 template <
typename PROD>
34 std::vector<edm::Handle<PROD> >
products;
37 for (
size_t i = 0;
i < products.size();
i++) {
39 std::cout <<
"for product " <<
i + 1 <<
"/" << products.size() <<
" " << products[
i].provenance()->moduleLabel()
40 <<
" " << products[
i].provenance()->moduleName() << std::endl;
42 return products.size();
void getManyByType(std::vector< Handle< PROD >> &results) const
ESProducts< std::remove_reference_t< TArgs >...> products(TArgs &&...args)
int listAllProducts(const edm::Event &iEvent, const char *moduleName)