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