10 #ifndef CondFormats_CTPPSReadoutObjects_PPSTimingCalibration_h 11 #define CondFormats_CTPPSReadoutObjects_PPSTimingCalibration_h 35 using TimingMap = std::map<Key,std::pair<double,double> >;
42 std::vector<double>
parameters(
int key1,
int key2,
int key3,
int key4 )
const;
44 double timeOffset(
int key1,
int key2,
int key3,
int key4 = -1 )
const;
45 double timePrecision(
int key1,
int key2,
int key3,
int key4 = -1 )
const;
bool operator<(const Key &rhs) const
Comparison operator.
std::map< Key, std::pair< double, double > > TimingMap
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
std::map< Key, std::vector< double > > ParametersMap
Helper structure for indexing calibration data.
#define COND_SERIALIZABLE
~PPSTimingCalibration()=default
PPSTimingCalibration()=default
char data[epos_bytes_allocation]
PPSTimingCalibration(const std::string &formula, const ParametersMap ¶ms, const TimingMap &timeinfo)
double timePrecision(int key1, int key2, int key3, int key4=-1) const