13 class IntReaderThenProducer;
17 using namespace fhicl;
25 Name{
"shouldSucceed"},
27 "The 'shouldSucceed' parameter indicates if the product retrieval,\n" 28 "corresponding to the above 'inputTag' value, should be successful."},
51 ,
token_{consumes<arttest::IntProduct>(
p().inputTag())}
55 produces<arttest::IntProduct>();
66 auto new_value = std::make_unique<arttest::IntProduct>(
deltaValue_);
68 new_value->value += intH->
value;
70 e.
put(move(new_value));
bool getByToken(ProductToken< PROD > const &, Handle< PROD > &result) const
ProductToken< arttest::IntProduct > const token_
IntReaderThenProducer(Parameters const &p, ProcessingFrame const &)
#define DEFINE_ART_MODULE(klass)
ProductID put(std::unique_ptr< PROD > &&edp, FullSemantic< Level::Run > const semantic)
void produce(Event &e, ProcessingFrame const &) override
bool const shouldSucceed_