Pixel error – collection of errors. More...
#include <CTPPSPixelDataError.h>
Public Member Functions | |
CTPPSPixelDataError () | |
Default constructor. More... | |
CTPPSPixelDataError (uint32_t errorWord32, const int errorType, int fedId) | |
Constructor for 32-bit error word. More... | |
CTPPSPixelDataError (uint64_t errorWord64, const int errorType, int fedId) | |
Constructor with 64-bit error word and type included (header or trailer word) More... | |
const std::string & | errorMessage () const |
the error message to be displayed with the error More... | |
int | errorType () const |
the number associated with the error type (26-31 for ROC number errors, 32-33 for calibration errors) More... | |
uint32_t | errorWord32 () const |
the 32-bit word that contains the error information More... | |
uint64_t | errorWord64 () const |
the 64-bit word that contains the error information More... | |
int | fedId () const |
the fedId where the error occured More... | |
~CTPPSPixelDataError () | |
Destructor. More... | |
Private Attributes | |
int | errorType_ |
uint32_t | errorWord32_ |
uint64_t | errorWord64_ |
int | fedId_ |
Static Private Attributes | |
static const std::array< std::string, 14 > | errorMessages_ |
Pixel error – collection of errors.
Class storing info about pixel errors
Definition at line 17 of file CTPPSPixelDataError.h.
CTPPSPixelDataError::CTPPSPixelDataError | ( | ) |
CTPPSPixelDataError::CTPPSPixelDataError | ( | uint32_t | errorWord32, |
const int | errorType, | ||
int | fedId | ||
) |
Constructor for 32-bit error word.
Definition at line 36 of file CTPPSPixelDataError.cc.
CTPPSPixelDataError::CTPPSPixelDataError | ( | uint64_t | errorWord64, |
const int | errorType, | ||
int | fedId | ||
) |
Constructor with 64-bit error word and type included (header or trailer word)
Definition at line 39 of file CTPPSPixelDataError.cc.
References ~CTPPSPixelDataError().
|
default |
Destructor.
Referenced by CTPPSPixelDataError().
|
inline |
the error message to be displayed with the error
Definition at line 37 of file CTPPSPixelDataError.h.
References errorMessages_, and errorType_.
Referenced by Vispa.Main.Application.Application::_loadPlugins(), Vispa.Main.Application.Application::openFile(), and ConfigToolBase.ConfigToolBase::typeError().
|
inline |
the number associated with the error type (26-31 for ROC number errors, 32-33 for calibration errors)
Definition at line 33 of file CTPPSPixelDataError.h.
References errorType_.
|
inline |
the 32-bit word that contains the error information
Definition at line 29 of file CTPPSPixelDataError.h.
References errorWord32_.
|
inline |
the 64-bit word that contains the error information
Definition at line 31 of file CTPPSPixelDataError.h.
References errorWord64_.
|
inline |
the fedId where the error occured
Definition at line 35 of file CTPPSPixelDataError.h.
References fedId_.
Referenced by operator<().
|
staticprivate |
Definition at line 44 of file CTPPSPixelDataError.h.
Referenced by errorMessage().
|
private |
Definition at line 48 of file CTPPSPixelDataError.h.
Referenced by errorMessage(), and errorType().
|
private |
Definition at line 47 of file CTPPSPixelDataError.h.
Referenced by errorWord32().
|
private |
Definition at line 46 of file CTPPSPixelDataError.h.
Referenced by errorWord64().
|
private |
Definition at line 49 of file CTPPSPixelDataError.h.
Referenced by fedId().