39 produces<art::Assns<int, std::string>>();
53 auto assns = std::make_unique<art::Assns<int, std::string>>();
54 for (
size_t i = 0;
i < 3; ++
i) {
55 auto p1 = make_intptr(
i);
56 for (
size_t j = 0; j < 2; ++j) {
57 auto p2 = make_strptr(
i * 2 + j);
58 assns->addSingle(p1, p2);
61 e.
put(std::move(assns));
AssnsProducer2(fhicl::ParameterSet const &p)
bool getByLabel(std::string const &label, std::string const &instance, Handle< PROD > &result) const
void produce(art::Event &e) override
#define DEFINE_ART_MODULE(klass)
std::string const fInputLabel
ProductID put(std::unique_ptr< PROD > &&edp, FullSemantic< Level::Run > const semantic)