#include <PPSTimingCalibration.h>
|
struct | Key |
| Helper structure for indexing calibration data. More...
|
|
|
const std::string & | formula () const |
|
std::vector< double > | parameters (int key1, int key2, int key3, int key4) const |
|
| PPSTimingCalibration ()=default |
|
| PPSTimingCalibration (const std::string &formula, const ParametersMap ¶ms, const TimingMap &timeinfo) |
|
double | timeOffset (int key1, int key2, int key3, int key4=-1) const |
|
double | timePrecision (int key1, int key2, int key3, int key4=-1) const |
|
| ~PPSTimingCalibration ()=default |
|
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
Definition at line 18 of file PPSTimingCalibration.h.
◆ ParametersMap
◆ TimingMap
◆ PPSTimingCalibration() [1/2]
PPSTimingCalibration::PPSTimingCalibration |
( |
| ) |
|
|
default |
◆ PPSTimingCalibration() [2/2]
PPSTimingCalibration::PPSTimingCalibration |
( |
const std::string & |
formula, |
|
|
const ParametersMap & |
params, |
|
|
const TimingMap & |
timeinfo |
|
) |
| |
|
inline |
◆ ~PPSTimingCalibration()
PPSTimingCalibration::~PPSTimingCalibration |
( |
| ) |
|
|
default |
◆ formula()
const std::string& PPSTimingCalibration::formula |
( |
| ) |
const |
|
inline |
◆ parameters()
std::vector< double > PPSTimingCalibration::parameters |
( |
int |
key1, |
|
|
int |
key2, |
|
|
int |
key3, |
|
|
int |
key4 |
|
) |
| const |
◆ serialize()
template<class Archive >
void PPSTimingCalibration::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
private |
◆ timeOffset()
double PPSTimingCalibration::timeOffset |
( |
int |
key1, |
|
|
int |
key2, |
|
|
int |
key3, |
|
|
int |
key4 = -1 |
|
) |
| const |
◆ timePrecision()
double PPSTimingCalibration::timePrecision |
( |
int |
key1, |
|
|
int |
key2, |
|
|
int |
key3, |
|
|
int |
key4 = -1 |
|
) |
| const |
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
◆ cond::serialization::access
template<typename CondSerializationT , typename Enabled >
◆ operator<<
Definition at line 57 of file PPSTimingCalibration.cc.
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";
Helper structure for indexing calibration data.
char data[epos_bytes_allocation]
◆ formula_
std::string PPSTimingCalibration::formula_ |
|
private |
◆ parameters_
◆ timeInfo_