1 #ifndef DQMOFFLINE_TRIGGER_DEBUGFUNCS 2 #define DQMOFFLINE_TRIGGER_DEBUGFUNCS 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()<<
" "<<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)
std::string moduleName(Provenance const &provenance)
int listAllProducts(const edm::Event &iEvent, const char *moduleName)