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
std::string moduleName(Provenance const &provenance)
ESProducts< T, S > products(const T &i1, const S &i2)
int listAllProducts(const edm::Event &iEvent, const char *moduleName)