22 class ProductIDGetter;
43 produces<std::vector<int>>();
44 produces<art::Ptr<int>>();
50 auto vip = std::make_unique<std::vector<int>>();
57 auto ptr = std::make_unique<art::Ptr<int>>(pv, 2, sr.
productGetter(pv));
64 BOOST_REQUIRE_EQUAL(ptr->id(), ptr_check.id());
75 BOOST_REQUIRE_EXCEPTION(
77 return e.categoryCode() == art::errors::ProductRegistrationFailure;
80 auto vip = std::make_unique<std::vector<int>>();
87 auto ptr = std::make_unique<art::Ptr<int>>(pv, 2, e.productGetter(pv));
94 BOOST_REQUIRE_EQUAL(ptr->id(), ptr_check.id());
97 e.put(std::move(ptr));
ProductIDGetter(Parameters const &)
ProductID getProductID(std::string const &instance_name="") const
#define DEFINE_ART_MODULE(klass)
void beginSubRun(art::SubRun &) override
EDProductGetter const * productGetter(ProductID const pid) const
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
void produce(art::Event &) override
constexpr auto fullSubRun()
ProductID put(std::unique_ptr< PROD > &&edp, FullSemantic< Level::Run > const semantic)
EDProductGetter const * productGetter() const