OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
#include <PeakReader.h>
Public Member Functions | |
PeakReader (std::string filename) | |
~PeakReader () | |
void | parseFile () |
void | getPeak (int nPeak, double &radius) |
std::size_t | getNumberOfPeaks () |
Private Attributes | |
std::string | filename_m |
Peak filename. More... | |
std::map< int, double > | peaks_m |
all found peaks < peak number, radius > More... | |
Definition at line 32 of file PeakReader.h.
PeakReader::PeakReader | ( | std::string | filename | ) |
Definition at line 30 of file PeakReader.cpp.
PeakReader::~PeakReader | ( | ) |
Definition at line 35 of file PeakReader.cpp.
std::size_t PeakReader::getNumberOfPeaks | ( | ) |
Definition at line 82 of file PeakReader.cpp.
References peaks_m.
void PeakReader::getPeak | ( | int | nPeak, |
double & | radius | ||
) |
nPeak | is the peak number |
radius | stores result [mm] |
Definition at line 71 of file PeakReader.cpp.
References peaks_m.
void PeakReader::parseFile | ( | ) |
Definition at line 38 of file PeakReader.cpp.
References filename_m, and peaks_m.
|
private |
|
private |
all found peaks < peak number, radius >
Definition at line 57 of file PeakReader.h.
Referenced by getNumberOfPeaks(), getPeak(), and parseFile().