35#include "boost/type_traits/remove_cv.hpp"
36#include "boost/variant/get.hpp"
37#include "boost/variant/variant.hpp"
38#include "boost/smart_ptr.hpp"
55 static const std::string
name;
59 if (args.size() != 3) {
61 "sumErrSq expects 3 arguments, " + std::to_string(args.size()) +
" given");
64 std::string measurement_filename = boost::get<std::string>(args[0]);
65 var_name_ = boost::get<std::string>(args[1]);
74 sim_stats->parseFile();
83 double sim_value = 0.0;
85 sim_stats->getInterpolatedValue(
88 std::cout <<
"Exception while getting value "
89 <<
"from SDDS file: " <<
e.what()
93 double val = measurement.measurement - sim_value;
Tps< T > sqrt(const Tps< T > &x)
Square root.
T::PETE_Expr_t::PETE_Return_t sum(const PETE_Expr< T > &expr)
Inform & endl(Inform &inf)
boost::tuple< double, bool > Result_t
constexpr double e
The value of.
std::vector< argument_t > arguments_t
friend std::istream & operator>>(std::istream &stream, Measurement &measurement)
Expressions::Result_t operator()(client::function::arguments_t args)
static const std::string name
std::vector< Measurement > measurements_
void parseMeasurements(std::string measurement_filename)
std::string stat_filename_
boost::tuple< std::string, std::string, std::string > argument_types
virtual const char * what() const