21 explicit AddIntsProducer(Parameters
const&
p)
23 , labels_{
p().labels()}
24 , addInts_{art::make_tool<void(int&, int)>(
28 produces<arttest::IntProduct>();
34 std::vector<std::string>
const labels_;
36 std::function<void(int&, int)> addInts_;
43 for (
auto const&
label : labels_) {
45 addInts_(
value, newVal);
47 e.
put(std::make_unique<arttest::IntProduct>(
value));
#define DEFINE_ART_MODULE(klass)
ValidHandle< PROD > getValidHandle(InputTag const &tag) const
ProductID put(std::unique_ptr< PROD > &&edp, FullSemantic< Level::Run > const semantic)