9 #ifndef ICARUSCODE_PMT_ALGORITHMS_SHAREDWAVEFORMBASELINE_H
10 #define ICARUSCODE_PMT_ALGORITHMS_SHAREDWAVEFORMBASELINE_H
66 template <
typename Stream>
69 std::string
const& indent, std::string
const& firstIndent
71 template <
typename Stream>
72 void dump(
Stream& out, std::string
const& indent =
"")
const
73 {
dump(out, indent, indent); }
82 static constexpr
double NoInfo = std::numeric_limits<double>::max();
105 BaselineInfo_t operator()
106 (std::vector<raw::OpDetWaveform const*>
const& waveforms)
const;
122 inline std::ostream&
operator<<
124 { params.dump(out);
return out; }
132 template <
typename Stream>
135 std::string
const& indent, std::string
const& firstIndent
138 out << firstIndent <<
"samples from each waveforms: " <<
nSample
139 <<
"\n" << indent <<
"pedestal range: +/- " <<
nRMS <<
" x RMS"
140 <<
"\n" << indent <<
"use only waveforms with less than "
148 #endif // ICARUSCODE_PMT_ALGORITHMS_SHAREDWAVEFORMBASELINE_H