![]() |
Project
|
CCDB container for STU error counts. More...
#include <TriggerSTUErrorCounter.h>
Public Member Functions | |
TriggerSTUErrorCounter ()=default | |
default constructor | |
TriggerSTUErrorCounter (const TriggerSTUErrorCounter &error)=default | |
copy constructor | |
TriggerSTUErrorCounter & | operator= (const TriggerSTUErrorCounter &source)=default |
Assignment operator. | |
TriggerSTUErrorCounter (std::pair< int, unsigned long > TimeAndError) | |
nomral constructor | |
TriggerSTUErrorCounter (int Time, unsigned long Error) | |
nomral constructor | |
~TriggerSTUErrorCounter ()=default | |
Destructor. | |
bool | operator== (const TriggerSTUErrorCounter &other) const |
Comparison of two TRU data. | |
bool | isEqual (TriggerSTUErrorCounter &counter) const |
Checks for equalness according to the time stamp. | |
int | compare (TriggerSTUErrorCounter &counter) const |
Compare time-dependent error counts based on the time information. | |
void | setValue (int time, unsigned long errorcount) |
void | setValue (std::pair< int, unsigned long > TimeAndError) |
int | getTime () const |
unsigned long | getErrorCount () const |
std::pair< int, unsigned long > | getTimeAndErrorCount () const |
CCDB container for STU error counts.
based on AliEMCALTriggerSTUConfig class authored by R. GUERNANE
Definition at line 29 of file TriggerSTUErrorCounter.h.
|
default |
default constructor
|
default |
copy constructor
|
explicit |
nomral constructor
Definition at line 26 of file TriggerSTUErrorCounter.cxx.
nomral constructor
Definition at line 21 of file TriggerSTUErrorCounter.cxx.
|
default |
Destructor.
int TriggerSTUErrorCounter::compare | ( | TriggerSTUErrorCounter & | counter | ) | const |
Compare time-dependent error counts based on the time information.
Definition at line 41 of file TriggerSTUErrorCounter.cxx.
|
inline |
Definition at line 71 of file TriggerSTUErrorCounter.h.
|
inline |
Definition at line 70 of file TriggerSTUErrorCounter.h.
|
inline |
Definition at line 72 of file TriggerSTUErrorCounter.h.
bool TriggerSTUErrorCounter::isEqual | ( | TriggerSTUErrorCounter & | counter | ) | const |
Checks for equalness according to the time stamp.
Definition at line 36 of file TriggerSTUErrorCounter.cxx.
|
default |
Assignment operator.
bool TriggerSTUErrorCounter::operator== | ( | const TriggerSTUErrorCounter & | other | ) | const |
Comparison of two TRU data.
Testing two TRUs for equalness. TRUs are considered identical if the contents are identical.
Definition at line 31 of file TriggerSTUErrorCounter.cxx.
Definition at line 63 of file TriggerSTUErrorCounter.h.
|
inline |
Definition at line 68 of file TriggerSTUErrorCounter.h.