23 (std::ostream& out, std::string
const& indent )
const
25 out << indent <<
"window #" << index <<
" at " << center <<
" cm";
26 if (hasCryostat()) out <<
" in " << cryoid;
27 else out <<
" (cryostat undefined)";
28 out <<
" includes " << channels.size() <<
" channels";
29 if (!channels.empty())
31 if (hasOppositeWindow()) out <<
" opposite to [#" << opposite <<
"]";
32 if (hasUpstreamWindow()) out <<
" downstream of [#" << upstream <<
"]";
33 if (hasDownstreamWindow()) out <<
" upstream of [#" << downstream <<
"]";
39 (std::ostream& out, std::string
const& indent, std::string
const& firstIndent)
42 out << firstIndent <<
"Map has " << nWindows() <<
" windows:";
45 info.dump(out, indent);
52 std::ostream& icarus::trigger::operator<<
54 { wi.dump(out);
return out; }
Class compacting a list of integers.
Information about composition and topology of trigger sliding windows.
Information of a single window.
IntegerRanges< typename Coll::value_type, CheckGrowing > makeIntegerRanges(Coll const &coll)
Data structure enclosing information for trigger sliding windows.
void dump(std::ostream &out, std::string const &indent, std::string const &firstIndent) const
Prints the content of the full mapping.
void dump(std::ostream &out, std::string const &indent="") const
Prints the information content (single line).