28 return os <<
key.db <<
" " <<
key.sampic <<
" " <<
key.channel <<
" " <<
key.cell;
34 Key key{key1, key2, key3, key4};
42 Key key{key1, key2, key3, key4};
46 return out->second.first;
50 Key key{key1, key2, key3, key4};
54 return out->second.second;
58 os <<
"FORMULA: " <<
data.formula_ <<
"\nDB SAMPIC CHANNEL CELL PARAMETERS TIME_OFFSET\n";
59 for (
const auto& kv :
data.parameters_) {
60 os << kv.first <<
" [";
61 for (
size_t i = 0;
i < kv.second.size(); ++
i)
62 os << (
i > 0 ?
", " :
"") << kv.second.at(
i);
65 if (
data.timeInfo_.find(
key) ==
data.timeInfo_.end())
66 key = {kv.first.db, kv.first.sampic, kv.first.channel, -1};
69 os <<
"] " <<
time.first <<
" " <<
time.second <<
"\n";
double timeOffset(int key1, int key2, int key3, int key4=-1) const
ParametersMap parameters_
friend std::ostream & operator<<(std::ostream &os, const PPSTimingCalibration &data)
Helper structure for indexing calibration data.
bool operator<(const Key &rhs) const
Comparison operator.
double timePrecision(int key1, int key2, int key3, int key4=-1) const
std::vector< double > parameters(int key1, int key2, int key3, int key4) const
char data[epos_bytes_allocation]