#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 17 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 55 of file PPSTimingCalibration.cc.
57 os <<
"FORMULA: " <<
data.formula_ <<
"\nDB SAMPIC CHANNEL CELL PARAMETERS TIME_OFFSET\n";
58 for (
const auto& kv :
data.parameters_) {
59 os << kv.first <<
" [";
60 for (
size_t i = 0;
i < kv.second.size(); ++
i)
61 os << (
i > 0 ?
", " :
"") << kv.second.at(
i);
62 const auto&
time =
data.timeInfo_.at(kv.first);
63 os <<
"] " <<
time.first <<
" " <<
time.second <<
"\n";
◆ formula_
std::string PPSTimingCalibration::formula_ |
|
private |
◆ parameters_
◆ timeInfo_