17 class PtrVectorSimpleAnalyzer;
40 async<art::InEvent>();
51 assert(
p->size() > 0);
58 int const event_num = e.
id().
event();
59 size_t const sz = h->size();
61 for (
auto const ptr : *h) {
62 assert((
unsigned)ptr->key == sz - i + event_num);
63 double const expect = 1.5 * i + 100.0;
64 assert(ptr->value == expect);
65 assert(ptr->dummy() == 16.25);
fhicl::Atom< std::string > input_label
PROD const * getPointerByLabel(InputTag const &tag) const
std::string const input_label_
SharedAnalyzer(fhicl::ParameterSet const &pset)
bool getByLabel(std::string const &label, std::string const &instance, Handle< PROD > &result) const
#define DEFINE_ART_MODULE(klass)
EventNumber_t event() const
PtrVectorSimpleAnalyzer(Parameters const &p, art::ProcessingFrame const &)
void analyze(art::Event const &e, art::ProcessingFrame const &) override
h
training ###############################