19 std::vector<std::vector<float> >
value(2,
temp);
20 std::vector<std::vector<float> > peds(2,
temp);
21 std::vector<std::vector<float> >
noise(2,
temp);
22 peds[0] =
anal->peds()[0];
23 peds[1] =
anal->peds()[1];
27 bool all_strips =
false;
30 uint16_t
bins = peds[0].size();
31 if (peds[0].size() < peds[1].size()) {
32 bins = peds[1].size();
34 for (uint16_t iped = 0; iped <
bins; iped++) {
35 value[0][iped] = peds[0][iped];
36 value[1][iped] = peds[1][iped];
56 for (uint16_t inoise = 0; inoise <
bins; inoise++) {
74 <<
" Unexpected monitorable: " 87 for (uint16_t istr = 0; istr <
value[0].size(); istr++) {
92 for (uint16_t istr = 0; istr <
value[1].size(); istr++) {
103 generator_->axisLabel(
"Pedestal value [adc]");
109 generator_->axisLabel(
"Noise [adc]");
118 <<
" Unexpected SummaryHisto value:" static std::string monitorable(const sistrip::Monitorable &)
Histogram-based analysis for pedestal run.
sistrip::Monitorable mon_
void fillMap(const std::string &top_level_dir, const sistrip::Granularity &, const uint32_t &key, const float &value, const float &error=0.)
sistrip::Granularity gran_
static const char mlSummaryPlots_[]
void extract(Iterator) override
SummaryGenerator * generator_
static const uint16_t invalid_
Log< level::Warning, false > LogWarning