5 #include "DataFormats/TestObjects/interface/ToyProducts.h" 6 #include "DataFormats/TestObjects/interface/ThingCollection.h" 26 desc.addUntracked<
bool>(
"consumes",
false);
43 <<
"Expected cms::Exception from " <<
msg <<
" with category " <<
category <<
", got " <<
e.category();
47 if (not
category.empty() and not caught) {
48 throw cms::Exception(
"Assert") <<
"Expected cms::Exception to be thrown from " <<
msg <<
", but got nothing";
std::string const accessCategory_
void analyze(edm::StreamID, edm::Event const &event, edm::EventSetup const &) const override
TestGetByLabelAnalyzerT(edm::ParameterSet const &iPSet)
std::string const getCategory_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
T getUntrackedParameter(std::string const &, T const &) const
void addDefault(ParameterSetDescription const &psetDescription)
#define DEFINE_FWK_MODULE(type)