10 #ifndef CondFormats_CTPPSReadoutObjects_PPSTimingCalibration_h 11 #define CondFormats_CTPPSReadoutObjects_PPSTimingCalibration_h 33 using TimingMap = std::map<Key, std::pair<double, double> >;
40 std::vector<double>
parameters(
int key1,
int key2,
int key3,
int key4)
const;
42 double timeOffset(
int key1,
int key2,
int key3,
int key4 = -1)
const;
43 double timePrecision(
int key1,
int key2,
int key3,
int key4 = -1)
const;
std::map< Key, std::pair< double, double > > TimingMap
bool operator<(const Key &rhs) const
Comparison operator.
const std::string & formula() const
friend std::ostream & operator<<(std::ostream &os, const Key &key)
ParametersMap parameters_
double timeOffset(int key1, int key2, int key3, int key4=-1) const
std::vector< double > parameters(int key1, int key2, int key3, int key4) const
Helper structure for indexing calibration data.
#define COND_SERIALIZABLE
~PPSTimingCalibration()=default
PPSTimingCalibration()=default
char data[epos_bytes_allocation]
std::map< Key, std::vector< double > > ParametersMap
PPSTimingCalibration(const std::string &formula, const ParametersMap ¶ms, const TimingMap &timeinfo)
double timePrecision(int key1, int key2, int key3, int key4=-1) const