50 produces<art::Assns<int, std::string>>();
63 auto assns = std::make_unique<art::Assns<int, std::string>>();
64 for (
size_t i=0; i < 3; ++i) {
65 auto p1 = make_intptr(i);
66 for(
size_t j=0; j < 2; ++j) {
67 auto p2 = make_strptr(i*2+j);
68 assns -> addSingle(p1, p2);
EDProducer(fhicl::ParameterSet const &pset)
AssnProducer2(fhicl::ParameterSet const &p)
void produce(art::Event &e) override
bool getByLabel(std::string const &label, std::string const &instance, Handle< PROD > &result) const
#define DEFINE_ART_MODULE(klass)
ProductID put(std::unique_ptr< PROD > &&edp, std::string const &instance={})
AssnProducer2 & operator=(AssnProducer2 const &)=delete