14 constexpr std::size_t sz{4u};
18 class IntArrayAnalyzer;
31 :
art::
EDAnalyzer{p}, arrayToken_{consumes<IntArray<sz>>(
p().moduleLabel())}
39 std::array<int, sz> ref{{}};
40 auto p = std::make_unique<IntArray<sz>>();
41 for (
int k = 0;
k != sz; ++
k) {
46 for (
int k = 0;
k != sz; ++
k) {
47 assert(ref[
k] == prod.arr[
k]);
IntArrayAnalyzer(Parameters const &p)
EDAnalyzer(fhicl::ParameterSet const &pset)
#define DEFINE_ART_MODULE(klass)
ValidHandle< PROD > getValidHandle(InputTag const &tag) const
void analyze(art::Event const &e) override
art::ProductToken< IntArray< sz > > arrayToken_
EventNumber_t event() const
fhicl::Atom< std::string > moduleLabel