68 auto const vi =
intvec_t{1, 1, 2, 2, 3, 3};
69 auto const vs =
strvec_t{
"one",
"one-a",
"two",
"two-a",
"three",
"three-a"};
70 auto const vf =
floatvec_t{1.0, 1.1, 2.0, 2.1, 3.0, 3.1};
74 auto my_begin = assns.begin();
75 auto my_end = assns.end();
76 assert(my_begin != my_end);
78 for (
auto p = my_begin;
p != my_end; ++
p) {
79 assert(*((*p).data) == vs[k]);
80 assert(*((*p).second.get()) == vf[k]);
81 assert(*((*p).first.get()) == vi[k]);
def analyze(root, level, gtrees, gbranches, doprint)
ConstAssnsIterAnalyzer(fhicl::ParameterSet const &p)
void analyze(art::Event const &e) override
std::vector< int > intvec_t
void test(art::Event const &e) const
std::vector< float > floatvec_t
#define DEFINE_ART_MODULE(klass)
ValidHandle< PROD > getValidHandle(InputTag const &tag) const
auto const & get(AssnsNode< L, R, D > const &r)
std::vector< std::string > strvec_t
art::InputTag fInputLabel