65 auto vs =
strvec_t{
"one",
"one-a",
"two",
"two-a",
"three",
"three-a"};
68 auto strings = [&strvec](
auto strs) {
70 std::cout << *
s << std::flush <<
" \"" << **
s <<
"\"" << std::endl;
71 strvec.push_back(**
s);
78 for (
auto k = 0;
k < 6; ++
k) {
79 if (strvec[
k] != vs[
k]) {
81 <<
"String #" << k <<
" expected to be '" << vs[
k] <<
"', got '" 82 << strvec[
k] <<
"' instead!\n";
void for_each_group_test(art::Event const &e) const
AssnsAnalyzerFEG(fhicl::ParameterSet const &p)
AssnsAnalyzerFEG & operator=(AssnsAnalyzerFEG const &)=delete
EDAnalyzer(fhicl::ParameterSet const &pset)
#define DEFINE_ART_MODULE(klass)
auto begin(Data< Value > const &data)
ValidHandle< PROD > getValidHandle(InputTag const &tag) const
std::vector< int > intvec_t
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
void for_each_group(art::Assns< A, B, D > const &assns, F func)
Helper functions to access associations in order.
art::Assns< std::string, int > strintAssns_t
auto const & get(AssnsNode< L, R, D > const &r)
void analyze(art::Event const &e) override
std::vector< std::string > strvec_t
art::InputTag fInputLabel