10 #ifndef CondFormats_PPSObjects_PPSTimingCalibration_h
11 #define CondFormats_PPSObjects_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_
friend std::ostream & operator<<(std::ostream &os, const PPSTimingCalibration &data)
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.
tuple key
prepare the HTCondor submission files and eventually submit them
#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