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
double timeOffset(int key1, int key2, int key3, int key4=-1) const
friend std::ostream & operator<<(std::ostream &os, const Key &key)
ParametersMap parameters_
friend std::ostream & operator<<(std::ostream &os, const PPSTimingCalibration &data)
Helper structure for indexing calibration data.
key
prepare the HTCondor submission files and eventually submit them
bool operator<(const Key &rhs) const
Comparison operator.
double timePrecision(int key1, int key2, int key3, int key4=-1) const
std::vector< double > parameters(int key1, int key2, int key3, int key4) const
#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)
const std::string & formula() const