22 std::string
const& indent, std::string
const& firstIndent,
23 unsigned int verbosity
30 = [&out,&indent]() -> std::ostream& {
return out <<
'\n' << indent; };
32 unsigned int level = 0U;
37 <<
" (" << (
enabled?
"enabled":
"disabled") <<
")"
41 if (++level > verbosity)
break;
47 if (++level > verbosity)
break;
53 outnl() <<
"No more information available (reached level " << level <<
").";
short signed int threshold
Threshold (triggerThreshold<N>).
static constexpr unsigned int DefaultDumpVerbosity
Default verbosity level for dump().
short unsigned int channelNo
Number of the channel on the board (0-15).
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.
short signed int relativeThreshold() const
Threshold relative to the baseline (ticks).
Information from the configuration of a V1730 PMT readout board.
static constexpr unsigned int MaxDumpVerbosity
Maximum supported verbosity level supported by dump().
short signed int baseline
Baseline (BaselineCh<N+1>).
bool enabled
Channel is enabled (enable).
raw::Channel_t channelID
Offline channel ID.
bool hasChannelID() const
Returns whether the channel ID is set.