Jpp 19.3.0
the software that should make you happy
|
#include <map>
#include <string>
#include <vector>
#include <optional>
#include <iostream>
Go to the source code of this file.
Classes | |
class | Parser |
struct | Waveform< T > |
struct | ProbeConfig |
A pair (id,threshold) representing basic information about one probe. More... | |
struct | DOMConfig |
The configuration information for one DOM. More... | |
Functions | |
template<typename T > | |
std::optional< Waveform< T > > | parseWaveformSamples (const std::string &adf_waveform_line) |
std::optional< DOMConfig > | parseDOMConfiguration (const std::string &dom_configuration_line) |
Parse a line that should contain the ADF configuration for a single DOM. | |
std::optional< Waveform< T > > parseWaveformSamples | ( | const std::string & | adf_waveform_line | ) |
Definition at line 46 of file parser.cc.
std::optional< DOMConfig > parseDOMConfiguration | ( | const std::string & | dom_configuration_line | ) |
Parse a line that should contain the ADF configuration for a single DOM.
line | the DOM configuration for a single DOM, which should be of the form : |
DOMID N id_0 threshold_0 ... id_(N-1) threshold_(N-1) debug_write
where N is the number of (id,threshold) pairs to be found on the line (id = probe id, threshold = where to cut the signal)
write_to_debug_flag is an integer that indicate (if non zero) to write the acoustic data from this DOM should be written to a debug file
Definition at line 102 of file parser.cc.