YODA::AOReader< Estimate0D > Class Reference
Inheritance diagram for YODA::AOReader< Estimate0D >:
Detailed DescriptionDefinition at line 195 of file ReaderUtils.h. Member Function Documentation◆ assemble()
Implements YODA::AOReaderBase. Definition at line 226 of file ReaderUtils.h. 226 {
227
228 auto* ao = new Estimate0D(est, path);
229 est = Estimate0D();
230 sources.clear();
231 return ao;
232 }
◆ parse()
Implements YODA::AOReaderBase. Definition at line 212 of file ReaderUtils.h. 212 {
213 if (!line.rfind("ErrorLabels: ", 0)) { // parse error labels
214 extractVector<std::string>(line, sources);
215 return;
216 }
217 // parse content
218 aiss.reset(line);
219 double val(0);
220 aiss >> val;
221 std::map<string,std::pair<double,double>> errors;
222 readErrors(errors);
223 est = Estimate0D(val, errors);
224 }
The documentation for this class was generated from the following file:
Generated on Mon Oct 28 2024 13:47:24 for YODA - Yet more Objects for Data Analysis by 1.9.8 |