8 #include <calibration/Utilities.h>
11 #include <boost/algorithm/string/split.hpp>
12 #include <boost/algorithm/string/classification.hpp>
21 namespace Calibration {
22 string encodeExpRun(
const ExpRun& expRun)
24 return to_string(expRun.first) +
"." + to_string(expRun.second);
27 ExpRun decodeExpRun(
const string& expRunString)
30 boost::split(strs, expRunString, boost::is_any_of(
"."));
31 return make_pair(stoi(strs[0]), stoi(strs[1]));
Abstract base class for different kinds of events.