61 std::list<art::Ptr<int>> ptrs;
65 int expected_value = ev.
id().
event();
70 assert(**
i == expected_value);
75 art::ensurePointer<int const*>(ptrs.begin());
76 std::list<art::Ptr<int>>
const& ptrscref(ptrs);
77 art::ensurePointer<int const*>(ptrscref.begin());
88 std::vector<art::Ptr<int>> ptrs;
92 int expected_value = ev.
id().
event();
97 assert(**
i == expected_value);
void test_fill_list(art::Event const &)
void analyze(art::Event const &ev) override
void test_fill_vector(art::Event const &)
PtrListAnalyzer(fhicl::ParameterSet const &pset)
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
std::vector< int > input_t
bool getByLabel(std::string const &label, std::string const &instance, Handle< PROD > &result) const
#define DEFINE_ART_MODULE(klass)
void fill_ptr_list(std::list< Ptr< T >> &ptrs, H const &h)
EventNumber_t event() const
void fill_ptr_vector(std::vector< Ptr< T >> &ptrs, H const &h)
h
training ###############################