22 std::string
const& indent, std::string
const& firstIndent,
23 unsigned int verbosity
32 = [&out,&indent]() -> std::ostream& {
return out <<
'\n' << indent; };
34 unsigned int level = 0U;
44 if (++level > verbosity)
break;
52 for (std::size_t iChannel = 0U; iChannel <
nChannels; ++iChannel) {
56 out << indent <<
"[" << iChannel <<
"] ";
57 channel.
dump(out, indent +
" ",
"", verbosity - 1U);
62 if (++level > verbosity)
return;
66 <<
"fragment timestamp "
68 <<
" the Trigger Time Tag"
71 if (++level > verbosity)
break;
77 outnl() <<
"No more information available (reached level " << level <<
").";
std::string boardName
Name (mnemonic) of the board.
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.
unsigned int nChannels
Number of channels (nChannels).
unsigned int boardID
Numeric ID of the board (board_id).
unsigned int fragmentID
DAQ fragment ID.
unsigned int bufferLength
Ticks in each buffer (recordLength).
Information from the configuration of a V1730 PMT readout board.
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.
float bufferTime() const
Duration of the waveform [us].
bool useTimeTagForTimeStamp
Whether fragment timestamp is synchronised with server NTP and with TTT.
static constexpr unsigned int MaxDumpVerbosity
Maximum supported verbosity level supported by dump().
float postTriggerFrac
Fraction of the waveform after the trigger signal (postPercent).
float postTriggerTime() const
Time in the waveform after the trigger [us].
static constexpr unsigned int DefaultDumpVerbosity
Default verbosity level for dump().
std::vector< sbn::V1730channelConfiguration > channels
Configuration of each channel.
Class containing configuration for a V1730 channel.
float preTriggerTime() const
Time in the waveform before the trigger [us].