31 : filename_m(filename)
40 std::ifstream peak_file;
42 peak_file.open(
filename_m.c_str(), std::ios::in);
51 std::getline(peak_file, header);
53 if ( header.find(
"# Peak") == std::string::npos ) {
61 std::istream_iterator<double> it(peak_file);
62 while ( it != std::istream_iterator<double>() ) {
73 if (
peaks_m.count(nPeak) > 0 ) {
std::string filename_m
Peak filename.
std::map< int, double > peaks_m
all found peaks < peak number, radius >
std::size_t getNumberOfPeaks()
PeakReader(std::string filename)
void getPeak(int nPeak, double &radius)