65 mTimeErrorCount.first =
time;
66 mTimeErrorCount.second = errorcount;
68 void setValue(std::pair<int, unsigned long> TimeAndError) { mTimeErrorCount = TimeAndError; }
70 int getTime()
const {
return mTimeErrorCount.first; }
75 std::pair<int, unsigned long> mTimeErrorCount;
CCDB container for STU error counts.
TriggerSTUErrorCounter(const TriggerSTUErrorCounter &error)=default
copy constructor
std::pair< int, unsigned long > getTimeAndErrorCount() const
~TriggerSTUErrorCounter()=default
Destructor.
TriggerSTUErrorCounter()=default
default constructor
bool operator==(const TriggerSTUErrorCounter &other) const
Comparison of two TRU data.
void setValue(int time, unsigned long errorcount)
bool isEqual(TriggerSTUErrorCounter &counter) const
Checks for equalness according to the time stamp.
unsigned long getErrorCount() const
int compare(TriggerSTUErrorCounter &counter) const
Compare time-dependent error counts based on the time information.
TriggerSTUErrorCounter & operator=(const TriggerSTUErrorCounter &source)=default
Assignment operator.
void setValue(std::pair< int, unsigned long > TimeAndError)
GLsizei GLsizei GLchar * source
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
VectorOfTObjectPtrs other