#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.
PPSTimingCalibration::PPSTimingCalibration |
( |
| ) |
|
|
default |
PPSTimingCalibration::PPSTimingCalibration |
( |
const std::string & |
formula, |
|
|
const ParametersMap & |
params, |
|
|
const TimingMap & |
timeinfo |
|
) |
| |
|
inline |
PPSTimingCalibration::~PPSTimingCalibration |
( |
| ) |
|
|
default |
const std::string& PPSTimingCalibration::formula |
( |
| ) |
const |
|
inline |
std::vector< double > PPSTimingCalibration::parameters |
( |
int |
key1, |
|
|
int |
key2, |
|
|
int |
key3, |
|
|
int |
key4 |
|
) |
| const |
template<class Archive >
void PPSTimingCalibration::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
private |
double PPSTimingCalibration::timeOffset |
( |
int |
key1, |
|
|
int |
key2, |
|
|
int |
key3, |
|
|
int |
key4 = -1 |
|
) |
| const |
double PPSTimingCalibration::timePrecision |
( |
int |
key1, |
|
|
int |
key2, |
|
|
int |
key3, |
|
|
int |
key4 = -1 |
|
) |
| const |
friend class boost::serialization::access |
|
friend |
template<typename CondSerializationT , typename Enabled >
Definition at line 57 of file PPSTimingCalibration.cc.
58 os <<
"FORMULA: " << data.
formula_ <<
"\nDB SAMPIC CHANNEL CELL PARAMETERS TIME_OFFSET\n";
60 os << kv.first <<
" [";
61 for (
size_t i = 0;
i < kv.second.size(); ++
i)
62 os << (
i > 0 ?
", " :
"") << kv.second.at(
i);
63 const auto& time = data.
timeInfo_.at(kv.first);
64 os <<
"] " << time.first <<
" " << time.second <<
"\n";
ParametersMap parameters_
std::string PPSTimingCalibration::formula_ |
|
private |