23 std::string
const& indent, std::string
const& firstIndent,
24 unsigned int verbosity
31 = [&out,&indent]() -> std::ostream& {
return out <<
'\n' << indent; };
33 unsigned int level = 0U;
37 std::size_t
const nReadoutBoards =
boards.size();
39 << nReadoutBoards <<
" readout board configurations"
42 if (++level > verbosity)
break;
46 for (std::size_t iBoard = 0U; iBoard != nReadoutBoards; ++iBoard) {
50 out << indent <<
"[B" << iBoard <<
"]: ";
51 boardConfig.
dump(out, indent +
" ",
"", verbosity - 1U);
55 if (++level > verbosity)
break;
60 if (++level > verbosity)
break;
65 if (++level > verbosity)
break;
70 outnl() <<
"No more information available (reached level " << level <<
").";
void dump(std::ostream &out, std::string const &indent, std::string const &firstIndent, unsigned int verbosity=MaxDumpVerbosity) const
Dumps the content of the configuration into out stream.
static constexpr unsigned int MaxDumpVerbosity
Maximum supported verbosity level supported by dump().
void dump(std::ostream &out, std::string const &indent, std::string const &firstIndent, unsigned int verbosity=MaxDumpVerbosity) const
Dumps the content of the configuration into out stream.
Information from the configuration of PMT readout.
static constexpr unsigned int DefaultDumpVerbosity
Default verbosity level for dump().
std::vector< sbn::V1730Configuration > boards
Configuration of all PMT readout boards.
Class containing configuration for a V1730 board.