23 class DifferentHistoriesAnalyzer;
56 auto const& input_label =
p().input_label();
57 for (
auto const& process_name :
p().process_names()) {
70 int const expected_value)
72 unsigned present{}, not_present{};
74 for (
auto const& token : tokens) {
76 if (t.getByToken(token, h)) {
78 BOOST_REQUIRE_EQUAL(**h, expected_value);
84 BOOST_REQUIRE_EQUAL(
present, 1u);
85 BOOST_REQUIRE_EQUAL(not_present, 1u);
ProductTokens_t ePtrTokens_
void beginSubRun(SubRun const &sr) override
void expected_value_in_ptr(T const &t, ProductTokens_t const &, int expected_value)
fhicl::Atom< std::string > input_label
ProductToken< T > mayConsume(InputTag const &)
fhicl::Sequence< std::string > process_names
#define DEFINE_ART_MODULE(klass)
DifferentHistoriesAnalyzer(Parameters const &p)
void analyze(Event const &e) override
ProductTokens_t srPtrTokens_
std::vector< ProductToken< Ptr< int >>> ProductTokens_t
h
training ###############################