7 #include "art/Framework/Core/EDProducer.h"
8 #include "art/Framework/Principal/Event.h"
9 #include "art/Framework/Core/ModuleMacros.h"
10 #include "fhiclcpp/ParameterSet.h"
24 :
public art::EDProducer
30 : EDProducer{p},
nvalues_(
p.get<
int>(
"nvalues") )
32 produces<intvector_t>();
37 std::cerr <<
"IntVectorProducer::produce is running!\n";
38 int value_ = e.id().event();
41 p->push_back(value_ *
k);
BEGIN_PROLOG could also be cerr
std::vector< int > intvector_t
IntVectorProducer(fhicl::ParameterSet const &p)
void produce(art::Event &e) override