12 #include "cetlib_except/exception.h" 57 unsigned psz = h->size();
63 size_t csz =
pi->cells.size();
69 assert(
pi->skew == pk + 1);
72 assert(sd0.
get() !=
nullptr);
75 size_t cell_count = 0;
83 assert((
unsigned)ptsd->
key == 2 * csz - (ck + pk * csz) + event_num);
84 assert(ptsd->value == 1.5 * (ck + pk * csz) + 100.0);
85 assert(ptsd->dummy() == 16.25);
87 assert(cell_count == csz);
88 assert(
pi->eNum == (
unsigned)(event_num + pk));
MockClusterListAnalyzer(fhicl::ParameterSet const &p)
std::vector< arttest::MockCluster > MockClusterList
EDAnalyzer(fhicl::ParameterSet const &pset)
bool getByLabel(std::string const &label, std::string const &instance, Handle< PROD > &result) const
#define DEFINE_ART_MODULE(klass)
void analyze(art::Event const &e) override
constexpr T pi()
Returns the constant pi (up to 35 decimal digits of precision)
EventNumber_t event() const
auto const & get(AssnsNode< L, R, D > const &r)
std::vector< arttest::SimpleDerived > SimpleDerivedProduct
arttest::IntProduct product_t
h
training ###############################