Definition at line 29 of file PtrMakerProducer_module.cc.
PtrMakerProducer::PtrMakerProducer |
( |
fhicl::ParameterSet const & |
p | ) |
|
|
explicit |
void PtrMakerProducer::produce |
( |
art::Event & |
e | ) |
|
|
override |
Definition at line 62 of file PtrMakerProducer_module.cc.
64 std::cerr <<
"PtrMakerProducer::produce is running!\n";
65 art::Handle<std::vector<int>>
h;
67 art::PtrMaker<int> make_intptr(
e, h.id());
68 auto intptrs = std::make_unique<intPtrvector_t>();
69 for (
size_t i = 0; i < h->size(); ++i ) {
70 auto p = make_intptr(i);
71 intptrs->push_back(
p);
73 e.put(std::move(intptrs));
BEGIN_PROLOG could also be cerr
std::string lartest::PtrMakerProducer::fInputLabel |
|
private |
The documentation for this class was generated from the following file: